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 support for Hooks #392

Merged
merged 2 commits into from
Feb 10, 2022

Conversation

Brianwithay21
Copy link
Member

@Brianwithay21 Brianwithay21 commented Feb 9, 2022

This release adds support for creating Hooks using the CFN CLI Java plugin

  • Initialize a Hook project with cfn init --artifact-type HOOK --type-name <type-name>
  • For example: cfn init --artifact-type HOOK --type-name My::Test::Example
  • Using cfn init without parameters will now first ask if you want to create a resource, module, or a hook. If you choose to create a hook, you will be asked to choose a language plugin. After choosing a plugin, a hook project will be generated with boilerplate code which you can use as a starting point to make your changes.
  • Use cfn validate to validate your hook before submitting
  • Use cfn submit to register your hook, making it available for use by CloudFormation in your AWS account

Related PRs:

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

@Brianwithay21 Brianwithay21 merged commit b12827f into aws-cloudformation:master Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants