Skip to main content

CDK Constructs for AWS Route53 Alias Targets

Project description

Route53 Alias Record Targets for the CDK Route53 Library


Stability: Stable


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

aws-cdk.aws-route53-targets-1.0.0.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

aws_cdk.aws_route53_targets-1.0.0-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file aws-cdk.aws-route53-targets-1.0.0.tar.gz.

File metadata

  • Download URL: aws-cdk.aws-route53-targets-1.0.0.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for aws-cdk.aws-route53-targets-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c3c2aeb31feaa541b65d15c9208b5f3eb823310010233a3dd186a56c4a884e22
MD5 9196f79f077191128dfc268e77f99b45
BLAKE2b-256 3e11d0b0d3bed3d8c5bb79d05c72da1dd7a7daa48c9133161bd3052b4be98388

See more details on using hashes here.

File details

Details for the file aws_cdk.aws_route53_targets-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: aws_cdk.aws_route53_targets-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for aws_cdk.aws_route53_targets-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5738521c69d00fa801436f40d0fb523fb6f7a112251c17489fd88deb6f98db6
MD5 26a91d830bdf992716b64e4e8189e47b
BLAKE2b-256 6ed5fd6b4ee0c8e3d858b62327e434d2ccf97939341d7b79862ab03e62adbe46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page