Skip to main content

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.

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.6.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.6.0-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws-cdk.aws-route53-targets-1.6.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.35.0 CPython/3.6.5

File hashes

Hashes for aws-cdk.aws-route53-targets-1.6.0.tar.gz
Algorithm Hash digest
SHA256 e9952878bf6c6abcf6e1a8c23bdd7e961e2b080e7a953d753a184e64c2adc2b7
MD5 1dd44e062cb302f93902bc88f213fa73
BLAKE2b-256 ccd6f8c50b4663d8957864a8a94f14b0c4f5fcc511efdb963b6df11900dd99ee

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aws_cdk.aws_route53_targets-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3dae7e2891a3505a63f4a2b73ab96f97bc1aaf534d7e45757d306b306c3c64e2
MD5 5070d00b32bd5891e85a75e9ab7c7adb
BLAKE2b-256 dfb6036c78652d1f9f4c84778290797749552bb68114da07fb7c6f823e898887

See more details on using hashes here.

Release history Release notifications | RSS feed

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