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.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4ed16c83f73735b49d20d951e574809cac5208f93c529a5552ef69ebb902612 |
|
MD5 | d35df97d8ae1ff6a471d1064e94cf7e1 |
|
BLAKE2b-256 | b61c4221416ba383aad94aa9126fd53eed52f509ab5b9faca208a79e1d259d94 |
Close
Hashes for aws_cdk.aws_route53_targets-1.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb9bd85bf0d60b734374b97dd89aac84fd9b1424608e7f819c705fcdaadd2b3c |
|
MD5 | 3363c744af0652f7382b67b2a6a59b94 |
|
BLAKE2b-256 | 00e9449091d878de7bcb331b5302c656329d6e40c8fd084a38832ddd499152e3 |