[{"data":1,"prerenderedAt":51},["ShallowReactive",2],{"pattern-apigw-edge-custom-domain-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":33,"level":34,"meta":35,"patternArch":36,"resources":41,"s3URL":6,"services":6,"stem":46,"testing":47,"videoId":6,"__hash__":50},"patterns\u002Fpatterns\u002Fapigw-edge-custom-domain-sam.json","Amazon API Gateway Edge Custom Domain",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Falbert-blaya.json",{"text":13},[14],"sam deploy --guided","Create Edge Custom Domain in API Gateway.","json","AWS SAM",{"template":19},{"projectFolder":20,"repoURL":21,"templateURL":22,"templateFile":23},"apigw-custom-domain-edge","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-custom-domain-edge","serverless-patterns\u002Fapigw-custom-domain-edge","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31,32],"The SAM template deploys an Amazon API Gateway Edge Custom Domain Name.","The Edge Custom Domain Name is mapped to a Stage in an existing API Gateway. Additionally, a Route53 A record is created to map the Edge Custom Domain Name (i.e. example.com) to the Target Domain Name created by API Gateway (i.e. d-abcde12345.execute-api.ap-southeast-2.amazonaws.com).","As prerequisites for this pattern, you must have:","* A valid certificate in ACM (Amazon Certificate Manager) in the us-east-1 Region that covers the namespace of the domain you would like to use (i.e. *.mydomain.com).","* A public Hosted Zone in Route 53 with the domain name you would like to use (i.e. mydomain.com).","* An API Gateway API (REST, HTTP or Websockets) and a deployed Stage within this API.","Integration","200",{},{"icon1":37},{"x":38,"y":38,"service":39,"label":40},50,"apigw","API Gateway REST API",{"headline":42,"bullets":43},"Additional resources",[44],{"text":5,"link":45},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhow-to-edge-optimized-custom-domain-name.html","patterns\u002Fapigw-edge-custom-domain-sam",{"text":48},[49],"See the GitHub repo for detailed testing instructions.","IZwaLknbsN8gcIB2EFCqbKhmlmmUL3dP225ND2TXBog",1778846881798]