Skip to content

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