ApiGatewayDomain

class aws_cdk.aws_route53_targets.ApiGatewayDomain(domain_name)

Bases: object

Defines an API Gateway domain name as the alias target.

Use the ApiGateway class if you wish to map the alias to an REST API with a domain name defined throug the RestApiProps.domainName prop.

__init__(domain_name)
Parameters

domain_name (IDomainName) –

Return type

None

Methods

bind(_record)

Return hosted zone ID and DNS name, usable for Route53 alias targets.

Parameters

_record (IRecordSet) –

Return type

AliasRecordTargetConfig