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

[cfn-include] Add support for retrieving Hook objects from the template #9713

Closed
6 tasks
skinny85 opened this issue Aug 14, 2020 · 0 comments · Fixed by #10143
Closed
6 tasks

[cfn-include] Add support for retrieving Hook objects from the template #9713

skinny85 opened this issue Aug 14, 2020 · 0 comments · Fixed by #10143
Assignees
Labels
@aws-cdk/cloudformation-include Issues related to the "CFN include v.20" package 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. p2

Comments

@skinny85
Copy link
Contributor

skinny85 commented Aug 14, 2020

Similarly like allow retrieving Parameters, Conditions, Resources, and Outputs from the included template today (see the module ReadMe), do the same for Hook objects.

  • Create a new CfnHook class in @aws-cdk/core (make it mutable), according to the CFN docs
  • Add a new method to CfnInclude, public getHook(name: string): CfnHook
  • Create the CfnHook instances in the constructor of CfnInclude
  • Stop rendering the Hooks section of the template unchanged here
  • Update the ReadMe
  • Unit tests
@github-actions github-actions bot added the @aws-cdk/cloudformation-include Issues related to the "CFN include v.20" package label Aug 14, 2020
@skinny85 skinny85 added effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2 labels Aug 14, 2020
skinny85 added a commit to skinny85/aws-cdk that referenced this issue Sep 3, 2020
Add support for creating and retrieving the new Hook
CloudFormation objects used in blue-green deployments.
In order to do that, add new CfnHook and
CfnCodeDeployBlueGreenHook classes to core.

Closes aws#9713
skinny85 added a commit to skinny85/aws-cdk that referenced this issue Sep 3, 2020
Add support for creating and retrieving the new Hook
CloudFormation objects used in blue-green deployments.
In order to do that, add new CfnHook and
CfnCodeDeployBlueGreenHook classes to core.

Closes aws#9713
@SomayaB SomayaB added the in-progress This issue is being actively worked on. label Sep 3, 2020
@mergify mergify bot closed this as completed in #10143 Sep 4, 2020
mergify bot pushed a commit that referenced this issue Sep 4, 2020
Add support for creating and retrieving the new Hook
CloudFormation objects used in blue-green deployments.
In order to do that, add new CfnHook and
CfnCodeDeployBlueGreenHook classes to core.

Closes #9713

----

*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/cloudformation-include Issues related to the "CFN include v.20" package 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. p2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants