Lambda Hooks - CloudFormation

Lambda Hooks

To use an AWS Lambda Hook in your account, you must first activate the Hook for the account and Region where you want to use it. Activating a Hook makes it usable in stack operations in the account and Region where it's activated.

When you activate a Lambda Hook, CloudFormation creates an entry in your account's registry for the activated Hook as a private Hook. This allows you to set any configuration properties the Hook includes. Configuration properties define how the Hook is configured for a given AWS account and Region.

AWS CLI commands for working with Lambda Hooks

The AWS CLI commands for working with Lambda Hooks include:

  • activate-type to start the activation process for a Lambda Hook.

  • set-type-configuration to specify the configuration data for a Hook in your account.

  • list-types to list the Hooks in your account.

  • describe-type to return detailed information about a specific Hook or specific Hook version, including current configuration data.

  • deactivate-type to remove a previously activated Hook from your account.