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
- Struct
- Aws::EventBridge::Types::RunCommandParameters
 
- 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
- 
  
    
      #run_command_targets  ⇒ Array<Types::RunCommandTarget> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag. 
Instance Attribute Details
#run_command_targets ⇒ Array<Types::RunCommandTarget>
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.