public static interface Target.Builder extends SdkPojo, 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. |
copyapplyMutation, buildTarget.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 Using Targets and Rate Controls to Send Commands to a Fleet in the AWS Systems Manager User
Guide.
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 Using Targets and Rate Controls to Send Commands to a Fleet in the AWS Systems Manager User
Guide.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 run 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 Using Targets
and Rate Controls to Send Commands to a Fleet in the AWS Systems Manager User Guide.
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 Amazon EC2 tags of ServerRole,WebServer. For more information
about how to send commands that target instances using Key,Value parameters, see Using
Targets and Rate Controls to Send Commands to a Fleet in the AWS Systems Manager User
Guide.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 run 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 Using Targets
and Rate Controls to Send Commands to a Fleet in the AWS Systems Manager User Guide.
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 Amazon EC2 tags of ServerRole,WebServer. For more information
about how to send commands that target instances using Key,Value parameters, see Using
Targets and Rate Controls to Send Commands to a Fleet in the AWS Systems Manager User
Guide.Copyright © 2019. All rights reserved.