feat(cloudfront-origin): adding FunctionUrlOrigin#29101
feat(cloudfront-origin): adding FunctionUrlOrigin#29101mergify[bot] merged 8 commits intoaws:mainfrom
Conversation
aws-cdk-automation
left a comment
There was a problem hiding this comment.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
| export interface FunctionUrlOriginProps extends cloudfront.OriginProps { | ||
| /** | ||
| * Specifies how long, in seconds, CloudFront waits for a response from the origin. | ||
| * The valid range is from 1 to 180 seconds, inclusive. |
There was a problem hiding this comment.
I'm seeing the max read timeout as 60 seconds https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-originreadtimeout. Where does the 180 seconds come from?
There was a problem hiding this comment.
This is in reference to this code; I added this because Note was missing.
There was a problem hiding this comment.
Thanks for the clarification!
|
|
||
| /** | ||
| * Specifies how long, in seconds, CloudFront persists its connection to the origin. | ||
| * The valid range is from 1 to 180 seconds, inclusive. |
colifran
left a comment
There was a problem hiding this comment.
This looks great! I just have one small question.
847b2d3 to
9208568
Compare
Pull request has been modified.
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
### Reason for this change `origins.httpOrigin` requires a trick to specify the Lambda Functions URL. ### Description of changes This eases that pain and simplifies integration. ### Description of how you validated changes ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Reason for this change
origins.httpOriginrequires a trick to specify the Lambda Functions URL.Description of changes
This eases that pain and simplifies integration.
Description of how you validated changes
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license