[{"data":1,"prerenderedAt":52},["ShallowReactive",2],{"pattern-apigateway-rest-regional-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":46,"services":6,"stem":47,"testing":48,"videoId":6,"__hash__":51},"patterns\u002Fpatterns\u002Fapigateway-rest-regional-domain-sam.json","Amazon API Gateway regional 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 a regional custom domain in API Gateway","json","AWS SAM",{"template":19},{"projectFolder":20,"repoURL":21,"templateURL":22,"templateFile":23},"apigw-custom-domain-regional","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-custom-domain-regional","serverless-patterns\u002Fapigw-custom-domain-regional","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31,32],"The SAM template deploys an Amazon API Gateway Regional Custom Domain Name.","The Regional Custom Domain Name is mapped to a Stage in an existing API Gateway. Additionally, a Route53 A record is created to map the Regional 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) 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",{"bullets":42},[43],{"text":44,"link":45},"Amazon API Gateway Regional Custom Domain","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapigateway-regional-api-custom-domain-create.html","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fpatterns\u002Fapigateway-rest-regional-domain-sam\u002Fcloudformation.yml","patterns\u002Fapigateway-rest-regional-domain-sam",{"text":49},[50],"See the GitHub repo for detailed testing instructions.","xyrrmXBPdPnZAVAqoDL_y7APpglKQlQMGmhafaT4z1Q",1779273331650]