AWS::ServiceDiscovery::Service 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::ServiceDiscovery::Service Tag

A custom key-value pair that's associated with a resource.

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 identifier, or name, of the tag.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Update requires: No interruption

Value

The string value that's associated with the key of the tag. You can set the value of a tag to an empty string, but you can't set the value of a tag to null.

Required: Yes

Type: String

Minimum: 0

Maximum: 256

Update requires: No interruption