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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 598ca22b4372b9e7b90a2757761eee97513268d260986b34a40f69a9b2680137 |
|
MD5 | efb76d48542c67e4ff63400eb131b21c |
|
BLAKE2b-256 | 813a32508269b84ef8db6d0a78b7e987f3e05bf4ed5a21895e6eb870cba485f6 |
Close
Hashes for aws_cdk.aws_route53_targets-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe50b7a3e3466a47d2c2935c14d0cfdeaccc48fe9742eecc5c60cfe02f92b24 |
|
MD5 | 014f7a6fe7fef5cab3e7714d4a0b259d |
|
BLAKE2b-256 | caba4202cfc111ab488b8e66cfa5d0d7703998a79721e47bdffdf42c48a40561 |