AWS::FMS::Policy ResourceTag - 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.

AWS::FMS::Policy ResourceTag

The resource tags that Amazon Firewall Manager uses to determine if a particular resource should be included or excluded from the Amazon Firewall Manager policy. Tags enable you to categorize your Amazon resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with "AND" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see Working with Tag Editor.

Syntax

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

JSON

{ "Key" : String, "Value" : String }

YAML

Key: String Value: String

Properties

Key

The resource tag key.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Update requires: No interruption

Value

The resource tag value.

Required: No

Type: String

Maximum: 256

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Update requires: No interruption