CDK Constructs for AWS Route53 patterns
Project description
Route53 Patterns for the CDK Route53 Library
---This is a developer preview (public beta) module.
All classes with the
Cfn
prefix in this module (CFN Resources) are auto-generated from CloudFormation. They are stable and safe to use.However, all other classes, i.e., higher level constructs, are under active development and subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
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.
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
HttpsRedirect(stack, "Redirect",
record_names=["foo.example.com"],
target_domain="bar.example.com",
zone=HostedZone.from_hosted_zone_attributes(stack, "HostedZone",
hosted_zone_id="ID",
zone_name="example.com"
)
)
See the documentation of @aws-cdk/aws-route53-patterns
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
Built Distribution
Hashes for aws-cdk.aws-route53-patterns-1.32.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fc92c86d255cf35c8688e41848a99803657974f2ccdbfc538795e0c314667e2 |
|
MD5 | 649ddd89c9f0bc1c076212fbb1a72367 |
|
BLAKE2b-256 | e750e5ac21a171c8b287b25556d49aa8b3e74a414d9936f375eec2664e2bbd2b |
Hashes for aws_cdk.aws_route53_patterns-1.32.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d5a8ea7e76505291b639621dd1993428f94f4ac3816f3612b57d376e0220ea |
|
MD5 | 2bd6aaa1a9f998d3a35a5977c0c175ed |
|
BLAKE2b-256 | be3f9d8f7cfbc2b11a9d5d9821dce9b6c8eb856fa34e05dcdc503a88c36fd095 |