AWS::CloudFormation::GuardHook StackNames - 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::GuardHook StackNames

Specifies the stack names for the StackFilters property type to include or exclude specific stacks from Hook invocations.

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

Syntax

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

JSON

{ "Exclude" : [ String, ... ], "Include" : [ String, ... ] }

YAML

Exclude: - String Include: - String

Properties

Exclude

The stack names to exclude. All stacks except those listed here will invoke the Hook.

Required: No

Type: Array of String

Minimum: 1

Maximum: 50

Update requires: No interruption

Include

The stack names to include. Only the stacks specified in this list will invoke the Hook.

Required: No

Type: Array of String

Minimum: 1

Maximum: 50

Update requires: No interruption