[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-private-apigw-custom-domain":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":34,"level":35,"meta":36,"patternArch":37,"resources":61,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fprivate-apigw-custom-domain.json","Private Amazon API Gateway with private custom domain name",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fusama-ali-khan.json",{"text":13},[14],"Deploy the stack: \u003Ccode>sam deploy --guided\u003C\u002Fcode>","Create a Private API Gateway with a custom domain. Configure access via VPC endpoint and set up DNS routing with Amazon Route 53 private hosted zone.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fprivate-apigw-custom-domain","serverless-patterns\u002Fprivate-apigw-custom-domain","private-apigw-custom-domain","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31,32,33],"This AWS SAM template demonstrates how to create a private Amazon API Gateway with a private custom domain mame, configure secure access based on a specific VPC endpoint, and route traffic through Route 53 in a private hosted zone.","Private custom domain name is only accessible from a VPC endpoint, which is mapped to a stage in private Amazon API Gateway. A custom domain name is configured with an SSL\u002FTLS certificate to provide secure access, and an associated Route 53 A-Alias record ensures that traffic is routed to the API.","As prerequisites for this pattern, you must have:","* A DNS name of execute-api VPC endpoint","* A custom domain name that you would like to create (e.g. private.mydomain.com)","* A valid certificate in ACM (Amazon Certificate Manager) in the same Region as Private Amazon API Gateway, that covers the namespace of the domain you would like to use (i.e. *.mydomain.com).","* A Route 53 Private Hosted Zone ID that has the domain name you would like to use (e.g. mydomain.com).","Integration","200",{},{"icon1":38,"icon2":43,"icon3":47,"icon4":50,"icon5":54,"line1":56,"line2":59},{"x":39,"y":40,"service":41,"label":42},20,50,"route53","Amazon Route 53",{"x":44,"y":40,"service":45,"label":46},80,"apigw","Amazon API Gateway",{"x":40,"y":40,"service":48,"label":49},"vpc-endpoint","VPC Endpoint",{"x":39,"y":51,"service":52,"label":53},58,"","private hosted zone",{"x":44,"y":51,"service":52,"label":55},"(private)",{"from":57,"to":58,"label":52},"icon1","icon3",{"from":58,"to":60,"label":52},"icon2",{"bullets":62},[63],{"text":64,"link":65},"Custom domain names for private APIs in API Gateway","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapigateway-private-custom-domains.html","patterns\u002Fprivate-apigw-custom-domain",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","uMip0TIHY2JEwWfbcXT6hT5twNm95TRHE6kmQPoWcr0",1779359727286]