AWS::CloudFormation::LambdaHook StackFilters - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::CloudFormation::LambdaHook StackFilters

The StackFilters property type specifies stack level filters for a Hook.

The StackNames or StackRoles properties are optional. However, you must specify at least one of these properties.

For more information, see Amazon CloudFormation Hooks stack level filters.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

Properties

FilteringCriteria

The filtering criteria.

  • All stack names and stack roles (All): The Hook will only be invoked when all specified filters match.

  • Any stack names and stack roles (Any): The Hook will be invoked if at least one of the specified filters match.

Required: Yes

Type: String

Allowed values: ALL | ANY

Update requires: No interruption

StackNames

Includes or excludes specific stacks from Hook invocations.

Required: No

Type: StackNames

Update requires: No interruption

StackRoles

Includes or excludes specific stacks from Hook invocations based on their associated IAM roles.

Required: No

Type: StackRoles

Update requires: No interruption