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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562e5bc0ae9f91416a07cba020aeacb1473c08c81df3ec9ad801ac57c5ae40eb |
|
MD5 | 4b2b525552ba3dee61c72118e7be8a63 |
|
BLAKE2b-256 | 97bcbc3d10a21a970ef544646fbe31a1d43397049a35a4ebdf62feeb014e319e |
Close
Hashes for aws_cdk.aws_route53_targets-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c6a2c3345a355cd90ef20fa683858f2b2747ad8475cf589b09758af38bcc525 |
|
MD5 | 71cfd658126d809e9fdf52d4bf22e36e |
|
BLAKE2b-256 | d37083204c02b1ce6ddaac6cffcf67e0ff582210a198b7ab3673d3fb473cb816 |