Learn R Programming

paws.compute (version 0.7.0)

ecs_update_container_instances_state: Modifies the status of an Amazon ECS container instance

Description

Modifies the status of an Amazon ECS container instance.

See https://www.paws-r-sdk.com/docs/ecs_update_container_instances_state/ for full documentation.

Usage

ecs_update_container_instances_state(
  cluster = NULL,
  containerInstances,
  status
)

Arguments

cluster

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.

containerInstances

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

status

[required] 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.