AWS::SSM::Association Target - AWS CloudFormation

AWS::SSM::Association Target

Target is a property of the AWS::SSM::Association resource that specifies the targets for an SSM document in Systems Manager.

Syntax

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

JSON

{ "Key" : String, "Values" : [ String, ... ] }

YAML

Key: String Values: - String

Properties

Key

User-defined criteria for sending commands that target instances that meet the criteria.

Required: Yes

Type: String

Minimum: 1

Maximum: 163

Pattern: ^[\p{L}\p{Z}\p{N}_.:/=\-@]*$|resource-groups:ResourceTypeFilters|resource-groups:Name

Update requires: No interruption

Values

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Required: Yes

Type: List of String

Maximum: 50

Update requires: No interruption