Skip to content

Add connectionAttempts, connectionTimeout in origin configuration #8572

@civilizeddev

Description

@civilizeddev

Use Case

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 CloudFronteffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.in-progressThis issue is being actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions