You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RunCommandParameters as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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:

  • (Array<Types::RunCommandTarget>)

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