aws_route53_patterns: Use of deprecated aws_cloudfront.CloudFrontWebDistribution #31546
Labels
@aws-cdk/aws-route53-patterns
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
After upgrading to CDK v2.158.0, I'm seeing deprecation warnings that I traced to use of the
aws_route53_patterns.HttpsRedirect
construct:Appears that the
HttpsRedirect
construct needs to be updated to useDistribution
instead ofCloudFrontWebDistribution
.Regression Issue
Last Known Working CDK Version
2.147.3 (may be later - I upgraded from 2.147.3 straight to 2.158.0)
Expected Behavior
No changes and no deprecations after upgrading CDK version
Current Behavior
Reproduction Steps
Upgraded CDK project that included use of
HttpsRedirect
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.158.0 (build 4b8714d)
Framework Version
No response
Node.js Version
v18.17.1
OS
MacOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: