Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::SSM::MaintenanceWindowTarget Targets

Focus mode
AWS::SSM::MaintenanceWindowTarget Targets - AWS CloudFormation
Filter View

The Targets property type specifies adding a target to a maintenance window target in AWS Systems Manager.

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

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

YAML

Key: String Values: - String

Properties

Key

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

Required: Yes

Type: String

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

Minimum: 1

Maximum: 163

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.

Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.

Required: Yes

Type: Array of String

Minimum: 0

Maximum: 50

Update requires: No interruption

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.