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

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

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

Overview

Note:

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

{
  cluster: "String",
  container_instances: ["String"], # required
  status: "ACTIVE", # required, accepts ACTIVE, DRAINING
}

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)

    The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update.

#container_instancesArray<String>

A list of container instance IDs or full ARN entries.

Returns:

  • (Array<String>)

    A list of container instance IDs or full ARN entries.

#statusString

The container instance state with which to update the container instance.

Possible values:

  • ACTIVE
  • DRAINING

Returns:

  • (String)

    The container instance state with which to update the container instance.