Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EC2 Systems Manager Association Targets

Targets is a property of the AWS::SSM::Association resource that specifies the targets for an Amazon EC2 Systems Manager (SSM) document.

Syntax

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

JSON

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

YAML

Copy
Key: String Values: - String

Properties

Key

The name of the criteria that EC2 instances must meet. For valid keys, see the Target data type in the Amazon EC2 Systems Manager API Reference.

Required: Yes

Type: String

Values

The value of the criteria. SSM runs targeted commands on EC2 instances that match the criteria. For more information, see the Target data type in the Amazon EC2 Systems Manager API Reference.

Required: Yes

Type: List of String values

On this page: