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.6.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e15d1d42778b16f7095ef934bcd2d1de4557d5947d653ac572c23a0bcff8a241 |
|
MD5 | 347aa691e81129d849715282870d29a8 |
|
BLAKE2b-256 | df325d86ea498f7b963bdb72c7b37b121950cf57b1d0e17578c018f9619db0c8 |
Close
Hashes for aws_cdk.aws_route53_targets-1.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b47a2816e980219f05e286ae8ffbd9381ad41a3a772b7086719870ed27ca4f9 |
|
MD5 | c582adc4e782e697ffe5647ed1be0d89 |
|
BLAKE2b-256 | 9819c530bc5c55e16ac703437828bb952982303b84eb5c1caa3a6b3ace937788 |