AWS Systems Manager MaintenanceWindowTask Target
The Target
property type specifies targets (either instances or tags). You specify instances
by using
Key=instanceids,Values=.
You specify tags by using instanceid1,instanceid2Key= for a Maintenance Window task in AWS Systems Manager.
tag name,Values=tag
value
Target is a property of the AWS::SSM::MaintenanceWindowTask resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Key-
User-defined criteria for sending commands that target instances that meet the criteria.
Keycan betag:orAmazon EC2 tagInstanceIds. For more information about how to send commands that target instances by usingKey,Valueparameters, see Sending Commands to a Fleet in the AWS Systems Manager User Guide.Required: Yes
Type: String
Update requires: No interruption
Values-
User-defined criteria that maps to
Key. For example, if you specifytag:ServerRole, you can specifyvalue:WebServerto execute a command on instances that include Amazon EC2 tags ofServerRole,WebServer. For more information about how to send commands that target instances usingKey,Valueparameters, see Sending Commands to a Fleet in the AWS Systems Manager User Guide.Required: No
Type: List of String values
Update requires: No interruption
