class Aws::CloudWatchEvents::Types::RunCommandTarget
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.
@note When making an API call, you may pass RunCommandTarget
data as a hash: { key: "RunCommandTargetKey", # required values: ["RunCommandTargetValue"], # required }
@!attribute [rw] key
Can be either `tag:` *tag-key* or `InstanceIds`. @return [String]
@!attribute [rw] values
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. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RunCommandTarget AWS API Documentation
Constants
- SENSITIVE