This template creates a custom domain name of `example.mydomain.com` for an API in API Gateway. It uses parameters to specify the domain name, base path, and REST API name. It also creates a certificate, a base path mapping, and a REST API resource.

myCertificate
AWS::CertificateManager::Certificate


myDomainName
AWS::ApiGateway::DomainName


myMapping
AWS::ApiGateway::BasePathMapping


myRestApi
AWS::ApiGateway::RestApi


CloudFormation Template

Share Template