Struct rusoto_ssm::Target
[−]
[src]
pub struct Target { pub key: Option<String>, pub values: Option<Vec<String>>, }
An array of search criteria that targets instances using a Key,Value combination that you specify. Targets
is required if you don't provide one or more instance IDs in the call.
Fields
key: Option<String>
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.
values: Option<Vec<String>>
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.
Trait Implementations
impl Default for Target
[src]
impl Debug for Target
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more