Skip to content
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

Add connectionAttempts, connectionTimeout in origin configuration #8572

Closed
1 of 2 tasks
civilizeddev opened this issue Jun 16, 2020 · 1 comment · Fixed by #8573
Closed
1 of 2 tasks

Add connectionAttempts, connectionTimeout in origin configuration #8572

civilizeddev opened this issue Jun 16, 2020 · 1 comment · Fixed by #8573
Assignees
Labels
@aws-cdk/aws-cloudfront Related to Amazon CloudFront effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. in-progress This issue is being actively worked on.

Comments

@civilizeddev
Copy link
Contributor

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

@civilizeddev civilizeddev added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jun 16, 2020
@civilizeddev
Copy link
Contributor Author

Terraform community moves one step faster than aws-cdk.

hashicorp/terraform-provider-aws#13729

@SomayaB SomayaB added @aws-cdk/aws-cloudfront Related to Amazon CloudFront in-progress This issue is being actively worked on. labels Jun 17, 2020
@iliapolo iliapolo changed the title feat(cloudfront): Add connectionAttempts, connectionTimeout in origin configuration Add connectionAttempts, connectionTimeout in origin configuration Jun 26, 2020
@iliapolo iliapolo added effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Jun 26, 2020
@mergify mergify bot closed this as completed in #8573 Jul 8, 2020
mergify bot pushed a commit that referenced this issue Jul 8, 2020
… configuration (#8573)

Closes #8572

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-cloudfront Related to Amazon CloudFront effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. in-progress This issue is being actively worked on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants