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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba7f9258bb99b258aac033250211191aac797a51802d533ff7b907136dbe5ba |
|
MD5 | 4935ca40c8195af3397ad8bfb3b2e116 |
|
BLAKE2b-256 | e35b007561e998dbc8a5d86ef8d3e342f5eb612dc5fb2657b41cd3b57d5f1064 |
Close
Hashes for aws_cdk.aws_route53_targets-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd57dc71bdcda7b13cf05e4e7f3e0e1a44b3183a6f76a8edb079a95d75e7ac8c |
|
MD5 | d6ff0301faf686ca23bac7141fa58538 |
|
BLAKE2b-256 | c0dca3d1c4de70d8032873c4ac9b7347fa88d2adba55d1c4f4e4dc05ef0e304a |