Class: Aws::CloudWatchEvents::Types::RunCommandParameters

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/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:



2328
2329
2330
2331
2332
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 2328

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