Class: Aws::EventBridge::Types::RunCommandTarget
- Inherits:
-
Struct
- Object
- Struct
- Aws::EventBridge::Types::RunCommandTarget
- Defined in:
- gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb
Overview
Note:
When making an API call, you may pass RunCommandTarget data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key ⇒ String
Can be either
tag:
tag-key orInstanceIds
. -
#values ⇒ Array<String>
If
Key
istag:
tag-key,Values
is a list of tag values.
Instance Attribute Details
#key ⇒ String
Can be either tag:
tag-key or InstanceIds
.
5204 5205 5206 5207 5208 5209 |
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 5204 class RunCommandTarget < Struct.new( :key, :values) SENSITIVE = [] include Aws::Structure end |
#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.
5204 5205 5206 5207 5208 5209 |
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 5204 class RunCommandTarget < Struct.new( :key, :values) SENSITIVE = [] include Aws::Structure end |