Publishing Hooks for public use - AWS CloudFormation

Publishing Hooks for public use

To develop a public third-party Hook, develop your Hook as a private extension. Then, in each AWS Region in which you want to make the extension publicly available:

  1. Register your Hook as a private extension in the CloudFormation registry.

  2. Test your Hook to make sure it meets all necessary requirements for being published in the CloudFormation registry.

  3. Publish your Hook to the CloudFormation registry.

    Note

    Before you publish any extension in a given Region, you must first register as an extension publisher in that Region. To do this in multiple Regions simultaneously, see Publishing extensions in multiple Regions using StackSets in the AWS CloudFormation CLI User Guide.

After you've developed and registered your Hook, you can make it publicly available to general CloudFormation users by publishing it to the CloudFormation registry, as a third-party public extension.

Public third-party Hooks enable you to offer CloudFormation users to proactively inspect the configuration of AWS resources before provisioning. As with private Hooks, public Hooks are treated the same as any Hook published by AWS within CloudFormation.

Hooks published to the registry are visible by all CloudFormation users in the AWS Regions in which they're published. Users can then activate your extension in their account, which makes it available for use in their templates. For more information, see Use third-party public extensions from the CloudFormation registry in the AWS CloudFormation User Guide.

For more information, see Publishing extensions to make them available for public use in the AWS CloudFormation CLI User Guide.