Class: Aws::EventBridge::Types::RunCommandParameters

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb

Overview

Note:

When making an API call, you may pass RunCommandParameters data as a hash:

{
  run_command_targets: [ # required
    {
      key: "RunCommandTargetKey", # required
      values: ["RunCommandTargetValue"], # required
    },
  ],
}

This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#run_command_targetsArray<Types::RunCommandTarget>

Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.

Returns:



5174
5175
5176
5177
5178
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 5174

class RunCommandParameters < Struct.new(
  :run_command_targets)
  SENSITIVE = []
  include Aws::Structure
end