public static interface Target.Builder extends CopyableBuilder<Target.Builder,Target>
Modifier and Type | Method and Description |
---|---|
Target.Builder |
key(String key)
User-defined criteria for sending commands that target instances that meet the criteria.
|
Target.Builder |
values(Collection<String> values)
User-defined criteria that maps to Key.
|
Target.Builder |
values(String... values)
User-defined criteria that maps to Key.
|
copy
apply, build
Target.Builder key(String 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 Executing a Command Using Systems Manager Run Command.
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 Executing a Command Using Systems Manager Run Command.Target.Builder values(Collection<String> values)
User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to execute a command on instances that include Amazon EC2 tags of ServerRole,WebServer. For more information about how to send commands that target instances using Key,Value parameters, see Executing a Command Using Systems Manager Run Command.
values
- User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could
specify value:WebServer to execute a command on instances that include Amazon EC2 tags of
ServerRole,WebServer. For more information about how to send commands that target instances using
Key,Value parameters, see Executing a Command Using Systems Manager Run Command.Target.Builder values(String... values)
User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to execute a command on instances that include Amazon EC2 tags of ServerRole,WebServer. For more information about how to send commands that target instances using Key,Value parameters, see Executing a Command Using Systems Manager Run Command.
values
- User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could
specify value:WebServer to execute a command on instances that include Amazon EC2 tags of
ServerRole,WebServer. For more information about how to send commands that target instances using
Key,Value parameters, see Executing a Command Using Systems Manager Run Command.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.