You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EventBridge::Types::RunCommandTarget
- Inherits:
-
Struct
- Object
- Struct
- Aws::EventBridge::Types::RunCommandTarget
- Defined in:
- (unknown)
Overview
Note:
When passing RunCommandTarget as input to an Aws::Client method, you can use a vanilla Hash:
{
key: "RunCommandTargetKey", # required
values: ["RunCommandTargetValue"], # required
}
Information about the EC2 instances that are to be sent the command, specified as key-value pairs. Each RunCommandTarget block can include only one key, but this key may specify multiple values.
Instance Attribute Summary collapse
-
#key ⇒ String
Can be either
tag:tag-key orInstanceIds. -
#values ⇒ Array<String>
If
Keyistag:tag-key,Valuesis a list of tag values.
Instance Attribute Details
#key ⇒ String
Can be either tag: tag-key or InstanceIds.
#values ⇒ Array<String>
If Key is tag: tag-key, Values is a list of tag values. If Key
is InstanceIds, Values is a list of Amazon EC2 instance IDs.