GlobalAcceleratorDomainTarget

class aws_cdk.aws_route53_targets.GlobalAcceleratorDomainTarget(accelerator_domain_name)

Bases: object

Use a Global Accelerator domain name as an alias record target.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_route53_targets as route53_targets

global_accelerator_domain_target = route53_targets.GlobalAcceleratorDomainTarget("acceleratorDomainName")

Create an Alias Target for a Global Accelerator domain name.

Parameters:

accelerator_domain_name (str) –

Methods

bind(_record, _zone=None)

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

Parameters:
Return type:

AliasRecordTargetConfig

Attributes

GLOBAL_ACCELERATOR_ZONE_ID = 'Z2BJ6XQ5FK7U4H'