Metadata-Version: 2.1
Name: aws-cdk.aws-route53-patterns
Version: 1.9.0
Summary: CDK Constructs for AWS Route53 patterns
Home-page: https://github.com/aws/aws-cdk
Author: Amazon Web Services
License: UNKNOWN
Project-URL: Source, https://github.com/aws/aws-cdk.git
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: jsii (~=0.17.0)
Requires-Dist: publication (>=0.0.3)
Requires-Dist: aws-cdk.aws-certificatemanager (>=1.9.0,~=1.9)
Requires-Dist: aws-cdk.aws-cloudfront (>=1.9.0,~=1.9)
Requires-Dist: aws-cdk.aws-iam (>=1.9.0,~=1.9)
Requires-Dist: aws-cdk.aws-route53 (>=1.9.0,~=1.9)
Requires-Dist: aws-cdk.aws-route53-targets (>=1.9.0,~=1.9)
Requires-Dist: aws-cdk.aws-s3 (>=1.9.0,~=1.9)
Requires-Dist: aws-cdk.core (>=1.9.0,~=1.9)
Requires-Dist: aws-cdk.region-info (>=1.9.0,~=1.9)

# Route53 Patterns for the CDK Route53 Library
<!--BEGIN STABILITY BANNER-->

---

![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)

> **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.

---
<!--END STABILITY BANNER-->

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.

  ```ts
  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.



