-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
@aws-cdk/aws-cloudfrontRelated to Amazon CloudFrontRelated to Amazon CloudFronteffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.in-progressThis issue is being actively worked on.This issue is being actively worked on.
Description
Use Case
- Amazon CloudFront enables configurable origin connection attempts and origin connection timeouts
- Origin Connection Attempts
- Origin Connection Timeout
Proposed Solution
As of cloudformation spec v15.1.0 (#8547),
- AWS::CloudFront::Distribution.Origin ConnectionAttempts (added)
- AWS::CloudFront::Distribution.Origin ConnectionTimeout (added)
AWS > Documentation > AWS CloudFormation > User Guide > Syntax
Example usage:
const distribution = new CloudFrontWebDistribution(this, 'MyDistribution', {
originConfigs: [
{
...,
connectionAttempts: 3,
connectionTimeout: cdk.Duration.seconds(10),
}
]
});
Other
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-cloudfrontRelated to Amazon CloudFrontRelated to Amazon CloudFronteffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.in-progressThis issue is being actively worked on.This issue is being actively worked on.