[{"data":1,"prerenderedAt":56},["ShallowReactive",2],{"pattern-apigw-edge-custom-domain":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":6,"stem":51,"testing":52,"videoId":6,"__hash__":55},"patterns\u002Fpatterns\u002Fapigw-edge-custom-domain.json","Edge Amazon API Gateway with a custom domain",null,{"text":8},[9,10],"Delete the stack: \u003Ccode>sam delete --stack-name sample-api --region eu-west-1\u003C\u002Fcode>","Delete the stack cert: \u003Ccode>sam delete --stack-name cert-sample-api --region us-east-1\u003C\u002Fcode>.",[12],"content\u002Fcontributors\u002Fwalid-battou.json",{"text":14},[15],"sam deploy","Edge Amazon API Gateway custom domain with AWS SAM: certificate in us-east-1 when using another Region","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-edge-custom-domain","serverless-patterns\u002Fapigw-edge-custom-domain","apigw-edge-custom-domain","template.yaml",{"headline":26,"text":27},"How it works",[28],"To deploy an Edge-optimized API Gateway, it's mandatory to generate a certificate in us-east-1. Resources in one stack are deployed in a single region, you are not able to set another region for a specific resource.","Python","300",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"icon-internet","Client",{"x":39,"y":35,"service":40,"label":41},70,"apigw","Edge-optimized API Gateway",{"from":43,"to":44,"label":45},"icon1","icon2","via custom domain name",{"bullets":47},[48],{"text":49,"link":50},"Edge-optimized custom domain names","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhow-to-custom-domains.html#edge-optimized-custom-domain-names","patterns\u002Fapigw-edge-custom-domain",{"text":53},[54],"See the GitHub repo for detailed testing instructions.","vuXMIsyu4i2Zqdj228CdirDPH-OoJ3nvb79FSdS4CfM",1778846881802]