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)), });
- S3 Bucket WebSite
new route53.ARecord(this, 'AliasRecord', { zone, target: route53.RecordTarget.fromAlias(new alias.BucketWebsiteTarget(bucket)), });
- 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)), });
- Classic load balancers
new route53.ARecord(this, 'AliasRecord', { zone, target: route53.RecordTarget.fromAlias(new alias.ClassicLoadBalancerTarget(elb)), // 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.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 897d6a4fe8455e1a2d643c878a66c704c8397dff5c0c2b643f487fd66fe85097 |
|
MD5 | ebbc8a8aa8615192c210573f7046273a |
|
BLAKE2b-256 | 049be82694602fc944614997d6af4ef484cde98119cea5b34c3fdc2c6135fb8a |
Close
Hashes for aws_cdk.aws_route53_targets-1.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b7865f6b9891236d8ae58a771571065e1782dacd1d32e1de6427fa768c9cf75 |
|
MD5 | def45c9b1991c5ff890497323e0f1076 |
|
BLAKE2b-256 | 446292f66df07f4b8347d48f0b2f71d26f99d4e5f76d040988e9910eb6f092b7 |