-
Notifications
You must be signed in to change notification settings - Fork 4.1k
feat(route53-patterns): HttpsRedirect
use Distribution
as the default CloudFront distribution (under feature flag)
#34312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
… CloudFront distribution (under feature flag)
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@@ -54,22 +54,9 @@ | |||
], | |||
"Comment": "Redirect to aws.amazon.com from integ-same-region.example.com", | |||
"DefaultCacheBehavior": { | |||
"AllowedMethods": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront/lib/distribution.ts
Lines 1051 to 1053 in db62c5f
* @default AllowedMethods.ALLOW_GET_HEAD | |
*/ | |
readonly allowedMethods?: AllowedMethods; |
"GET", | ||
"HEAD" | ||
], | ||
"CachedMethods": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront/lib/distribution.ts
Lines 1058 to 1060 in db62c5f
* @default CachedMethods.CACHE_GET_HEAD | |
*/ | |
readonly cachedMethods?: CachedMethods; |
@@ -78,14 +65,8 @@ | |||
"IPV6Enabled": true, | |||
"Origins": [ | |||
{ | |||
"ConnectionAttempts": 3, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront/lib/origin.ts
Lines 91 to 93 in db62c5f
* @default 3 | |
*/ | |
readonly connectionAttempts?: number; |
@@ -78,14 +65,8 @@ | |||
"IPV6Enabled": true, | |||
"Origins": [ | |||
{ | |||
"ConnectionAttempts": 3, | |||
"ConnectionTimeout": 10, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront/lib/origin.ts
Lines 84 to 86 in db62c5f
* @default Duration.seconds(10) | |
*/ | |
readonly connectionTimeout?: Duration; |
"CustomOriginConfig": { | ||
"HTTPPort": 80, | ||
"HTTPSPort": 443, | ||
"OriginKeepaliveTimeout": 5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront-origins/lib/vpc-origin.ts
Lines 36 to 38 in db62c5f
* @default Duration.seconds(5) | |
*/ | |
readonly keepaliveTimeout?: cdk.Duration; |
"OriginProtocolPolicy": "http-only", | ||
"OriginReadTimeout": 30, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-cdk/packages/aws-cdk-lib/aws-cloudfront-origins/lib/vpc-origin.ts
Lines 25 to 27 in db62c5f
* @default Duration.seconds(30) | |
*/ | |
readonly readTimeout?: cdk.Duration; |
"Compress": true, | ||
"ForwardedValues": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue # (if applicable)
Closes #31546
Reason for this change
CloudFrontWebDistribution
is deprecatedDescription of changes
HttpsRedirect
useDistribution
instead of deprecatedCloudFrontWebDistribution
under feature flagPlease check template comments for explanation on each removed param:
ForwardedValues
is deprecated and replaced byCachePolicyId
Description of how you validated changes
Unit + Integ
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license