CloudFrontTarget

class aws_cdk.aws_route53_targets.CloudFrontTarget(distribution)

Bases: object

Use a CloudFront Distribution as an alias record target.

__init__(distribution)
Parameters

distribution (CloudFrontWebDistribution) –

Return type

None

Methods

bind(_record)

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

Parameters

_record (IRecordSet) –

Return type

AliasRecordTargetConfig