Skip navigation links

@Stability(value=Experimental)

Package software.amazon.awscdk.services.route53.patterns

Route53 Patterns for the CDK Route53 Library

See: Description

Package software.amazon.awscdk.services.route53.patterns Description

Route53 Patterns for the CDK Route53 Library


Stability: Experimental

This is a developer preview (public beta) module. Releases might lack important features and might have future breaking changes.

This API is still under active development and subject to non-backward compatible changes or removal in any future version. Use of the API is not recommended in production environments. Experimental APIs are not subject to the Semantic Versioning model.


This library contains commonly used patterns for Route53.

HTTPS Redirect

This construct allows creating a simple domainA -> domainB redirect using CloudFront and S3. You can specify multiple domains to be redirected.

new HttpsRedirect(stack, 'Redirect', {
   recordNames: ['foo.example.com'],
   targetDomain: 'bar.example.com',
   zone: HostedZone.fromHostedZoneAttributes(stack, 'HostedZone', {
     hostedZoneId: 'ID',
     zoneName: 'example.com',
   })
 });
 

See the documentation of @aws-cdk/aws-route53-patterns for more information.

Skip navigation links

Copyright © 2019. All rights reserved.