CDK Constructs for AWS Route53 Alias Targets
Project description
Route53 Alias Record Targets for the CDK Route53 Library
This library contains Route53 Alias Record targets for:
- API Gateway custom domains
new route53.ARecord(this, 'AliasRecord', { zone, target: route53.RecordTarget.fromAlias(new alias.ApiGateway(restApi)), // or - route53.RecordTarget.fromAlias(new alias.ApiGatewayDomainName(domainName)), });
- CloudFront distributions
new route53.ARecord(this, 'AliasRecord', { zone, target: route53.RecordTarget.fromAlias(new alias.CloudFrontTarget(distribution)), });
- ELBv2 load balancers
new route53.ARecord(this, 'AliasRecord', { zone, target: route53.RecordTarget.fromAlias(new alias.LoadBalancerTarget(elbv2)), // or - route53.RecordTarget.fromAlias(new alias.ApiGatewayDomainName(domainName)), });
See the documentation of @aws-cdk/aws-route53
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aws-cdk.aws-route53-targets-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3c2aeb31feaa541b65d15c9208b5f3eb823310010233a3dd186a56c4a884e22 |
|
MD5 | 9196f79f077191128dfc268e77f99b45 |
|
BLAKE2b-256 | 3e11d0b0d3bed3d8c5bb79d05c72da1dd7a7daa48c9133161bd3052b4be98388 |
Close
Hashes for aws_cdk.aws_route53_targets-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5738521c69d00fa801436f40d0fb523fb6f7a112251c17489fd88deb6f98db6 |
|
MD5 | 26a91d830bdf992716b64e4e8189e47b |
|
BLAKE2b-256 | 6ed5fd6b4ee0c8e3d858b62327e434d2ccf97939341d7b79862ab03e62adbe46 |