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.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe348a655bfa8aed7dec2be3104d620691b423cd0c0174663fbabdb8d156e0f3 |
|
MD5 | 7d73c25dd03d9ea1c2a311f2eff63a5b |
|
BLAKE2b-256 | bd655efaa55b051b7ef0105ba1dcde6a7d106c4b321e4993915b924eadf58a22 |
Close
Hashes for aws_cdk.aws_route53_targets-1.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d5a44429f3e984246321312a26762582ef13a37030c020a61681b2824965b8f |
|
MD5 | a8c9dba6f24a85b010a98e9eb000a150 |
|
BLAKE2b-256 | 8c93ba85b3ad174fe4e4d3b53b1ed71356925d0c89d43fc7366600a8abb60085 |