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

feat(aws-cloudfront): add enabled to web distribution #15433

Merged
merged 4 commits into from
Jul 29, 2021
Merged

feat(aws-cloudfront): add enabled to web distribution #15433

merged 4 commits into from
Jul 29, 2021

Conversation

iRoachie
Copy link
Contributor

@iRoachie iRoachie commented Jul 6, 2021

Allows cloudfront web distribution to be enabled or disabled. This prop is available in Distribution but not CloudFrontWebDistribution


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

@gitpod-io
Copy link

gitpod-io bot commented Jul 6, 2021

@iRoachie iRoachie changed the title feat(aws-cloudfront): add enabled to web distribution fix(aws-cloudfront): add enabled to web distribution Jul 6, 2021
@iRoachie
Copy link
Contributor Author

iRoachie commented Jul 6, 2021

cc @njlynch

@peterwoodworth
Copy link
Contributor

Why is this a fix and not a feat?

@iRoachie
Copy link
Contributor Author

iRoachie commented Jul 6, 2021

@peterwoodworth Wasn't sure since it's a "missing" field. Happy to change if that's what it should be.

Oh also feat requires a change to readme (pr-linter) but this is an optional field. Thoughts?

@peterwoodworth
Copy link
Contributor

We don't say we currently support this in our CloudFrontWebDistribution construct, so this would be a feat as it is adding new functionality to an L2 construct. There are many L2 constructs you could say have "missing" fields given that you can adjust them in their respective L1 constructs, so this isn't out of the ordinary 😄

I'll make it so an update to the readme isn't mandatory for this PR

Thank you for submitting this PR by the way, is there an issue that this PR will close?

@iRoachie
Copy link
Contributor Author

iRoachie commented Jul 6, 2021

Sure np. No issue is open for it currently; came across it today needed to do a massive update at work :D

@peterwoodworth peterwoodworth added @aws-cdk/aws-cloudfront Related to Amazon CloudFront pr-linter/exempt-readme The PR linter will not require README changes labels Jul 6, 2021
Allows cloudfront web distribution to be enabled or disabled.
@iRoachie iRoachie changed the title fix(aws-cloudfront): add enabled to web distribution feat(aws-cloudfront): add enabled to web distribution Jul 6, 2021
@iRoachie
Copy link
Contributor Author

iRoachie commented Jul 6, 2021

@peterwoodworth Change made

njlynch
njlynch previously approved these changes Jul 28, 2021
Copy link
Contributor

@njlynch njlynch left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for the contribution!

@mergify
Copy link
Contributor

mergify bot commented Jul 28, 2021

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 dismissed njlynch’s stale review July 28, 2021 14:56

Pull request has been modified.

@mergify
Copy link
Contributor

mergify bot commented Jul 29, 2021

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).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 5a67722
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify mergify bot merged commit 7ad9348 into aws:master Jul 29, 2021
@mergify
Copy link
Contributor

mergify bot commented Jul 29, 2021

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).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Aug 3, 2021
Allows cloudfront web distribution to be enabled or disabled. This prop is available in `Distribution` but not `CloudFrontWebDistribution`


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
Allows cloudfront web distribution to be enabled or disabled. This prop is available in `Distribution` but not `CloudFrontWebDistribution`


----

*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 pr-linter/exempt-readme The PR linter will not require README changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants