ApiGatewayAddCustomDomain

Description

Specifies a custom domain name for your API in API Gateway. You can use a custom domain name to provide a URL that’s more intuitive and easier to recall.

Resources

AWS::ApiGatewayV2::DomainName

AWS::ApiGatewayV2::ApiMapping

AWS::Route53::RecordSet

Input

ApiGatewayHttpApi

Logical ID of AWS::ApiGatewayV2::API resource

ApiGatewayStage

Logical ID of AWS::ApiGatewayV2::Stage resource

DomainNameString

The custom domain name for your API in Amazon API Gateway. Uppercase letters are not supported. Must be a valid Cloudformation syntax that resolves to a string.

ACMCertARNString

An ARN of AWS Certificate Manager (ACM) certificate that will be used by the edge-optimized endpoint for this domain name.

Must be a valid Cloudformation syntax that resolves to a string.

Route53HostedZoneIdString

The ID of the hosted zone that you want to create Route53 records in.

Must be a valid Cloudformation syntax that resolves to a string.

Output

RecordSet

Logical ID of Route53 record set resource AWS::Route53::RecordSet created by this pattern.