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)),
    });
    
  • 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

aws-cdk.aws-route53-targets-1.4.0.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_cdk.aws_route53_targets-1.4.0-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws-cdk.aws-route53-targets-1.4.0.tar.gz
  • Upload date:
  • Size: 32.2 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.33.0 CPython/3.6.5

File hashes

Hashes for aws-cdk.aws-route53-targets-1.4.0.tar.gz
Algorithm Hash digest
SHA256 dfb69606d11de22416bcb5909f8d7e5ec5573371becfa758fb304b82c3ac4afa
MD5 da1786c1c2199b6b88f6adfa9d44ee71
BLAKE2b-256 b26741097fc3e6617205c89b4002a73edbb0c7d68929f286e90da44b34f36094

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aws_cdk.aws_route53_targets-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 31.5 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.33.0 CPython/3.6.5

File hashes

Hashes for aws_cdk.aws_route53_targets-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 873d27a9af3382ce892e2141b29b538ca638ea460f4637fbb4f7d501f09efa73
MD5 19027b7efe64fdfb3f7bfdd990a46235
BLAKE2b-256 0323e67a0eb160f7ac96e6d397aa3ac5cf741402ae787eeedabb87c5d0b43768

See more details on using hashes here.

Supported by

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