Skip to content

feat(cloudfront): support for origin request policies#10765

Merged
mergify[bot] merged 1 commit intomasterfrom
njlynch/cf-origin-request-policy
Oct 7, 2020
Merged

feat(cloudfront): support for origin request policies#10765
mergify[bot] merged 1 commit intomasterfrom
njlynch/cf-origin-request-policy

Conversation

@njlynch
Copy link
Copy Markdown
Contributor

@njlynch njlynch commented Oct 7, 2020

Support for the new Origin Request Policy concept in CloudFront, which provides
greater control to users over what values are forwarded to the origin from the
original viewer request.

Implementation Notes:

fixes #9647


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@njlynch njlynch requested review from shivlaks and skinny85 October 7, 2020 13:16
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Oct 7, 2020
Copy link
Copy Markdown
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

I think the "expected" JSON file for the integ test is missing?

@njlynch njlynch force-pushed the njlynch/cf-origin-request-policy branch from f604fe6 to 02cb6c0 Compare October 7, 2020 18:52
@njlynch njlynch marked this pull request as ready for review October 7, 2020 18:56
@njlynch njlynch added the pr/do-not-merge This PR should not be merged at this time. label Oct 7, 2020
Support for the new Origin Request Policy concept in CloudFront, which provides
greater control to users over what values are forwarded to the origin from the
original viewer request.

_Implementation Notes:_
* *Heavily* influenced by #10656, including the same notes on not extending from
  `IResource` and excluding the `lastModifiedTimestamp`.

fixes #9647
@njlynch njlynch force-pushed the njlynch/cf-origin-request-policy branch from 02cb6c0 to 1c4da90 Compare October 7, 2020 19:27
@njlynch njlynch removed the pr/do-not-merge This PR should not be merged at this time. label Oct 7, 2020
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 1c4da90
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Oct 7, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 08efc96 into master Oct 7, 2020
@mergify mergify bot deleted the njlynch/cf-origin-request-policy branch October 7, 2020 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cloudfront] Origin request policies

3 participants