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

Class: Aws::SSM::Types::CancelCommandRequest

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

Overview

Note:

When passing CancelCommandRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  command_id: "CommandId", # required
  instance_ids: ["InstanceId"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#command_idString

The ID of the command you want to cancel.

Returns:

  • (String)

    The ID of the command you want to cancel.

#instance_idsArray<String>

(Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested.

Returns:

  • (Array<String>)

    (Optional) A list of instance IDs on which you want to cancel the command.