Class: Aws::ECS::Types::UpdateContainerInstancesStateRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.

Returns:

  • (String)


13045
13046
13047
13048
13049
13050
13051
# File 'lib/aws-sdk-ecs/types.rb', line 13045

class UpdateContainerInstancesStateRequest < Struct.new(
  :cluster,
  :container_instances,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#container_instancesArray<String>

A list of up to 10 container instance IDs or full ARN entries.

Returns:

  • (Array<String>)


13045
13046
13047
13048
13049
13050
13051
# File 'lib/aws-sdk-ecs/types.rb', line 13045

class UpdateContainerInstancesStateRequest < Struct.new(
  :cluster,
  :container_instances,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The container instance state to update the container instance with. The only valid values for this action are ‘ACTIVE` and `DRAINING`. A container instance can only be updated to `DRAINING` status once it has reached an `ACTIVE` state. If a container instance is in `REGISTERING`, `DEREGISTERING`, or `REGISTRATION_FAILED` state you can describe the container instance but can’t update the container instance state.

Returns:

  • (String)


13045
13046
13047
13048
13049
13050
13051
# File 'lib/aws-sdk-ecs/types.rb', line 13045

class UpdateContainerInstancesStateRequest < Struct.new(
  :cluster,
  :container_instances,
  :status)
  SENSITIVE = []
  include Aws::Structure
end