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

Amazon EC2 Systems Manager MaintenanceWindowTarget Targets

The Targets property type specifies adding a target to an Amazon EC2 Systems Manager Maintenance Window target.

Targets is a property of the AWS::SSM::MaintenanceWindowTarget resource.

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

User-defined criteria for sending commands that target instances that meet the criteria. Key can be tag:Amazon EC2 tag or InstanceIds. For more information about how to send commands that target instances using Key,Value parameters, see Sending Commands to a Fleet in the Amazon EC2 Systems Manager User Guide.

Required: Yes

Type: String

Update requires: No interruption

Values

User-defined criteria that maps to Key. For example, if you specify tag:ServerRole, you can specify value:WebServer to execute a command on instances that include the Amazon EC2 tags of ServerRole,WebServer. For more information about how to send commands that target instances using Key,Value parameters, see Sending Commands to a Fleet in the Amazon EC2 Systems Manager User Guide.

Required: No

Type: List of strings

Update requires: No interruption

On this page: