AWS::CloudTrail::Trail Tag - 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::CloudTrail::Trail Tag

A custom key-value pair associated with a resource such as a CloudTrail trail, event data store, or channel.

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 key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Update requires: No interruption

Value

The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters.

Required: Yes

Type: String

Minimum: 1

Maximum: 256

Update requires: No interruption