NAME

Paws::ECS::UpdateContainerInstancesState - Arguments for method UpdateContainerInstancesState on Paws::ECS

DESCRIPTION

This class represents the parameters used for calling the method UpdateContainerInstancesState on the Amazon EC2 Container Service service. Use the attributes of this class as arguments to method UpdateContainerInstancesState.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateContainerInstancesState.

SYNOPSIS

my $ecs = Paws->service('ECS');
my $UpdateContainerInstancesStateResponse =
  $ecs->UpdateContainerInstancesState(
  ContainerInstances => [ 'MyString', ... ],
  Status             => 'ACTIVE',
  Cluster            => 'MyString',            # OPTIONAL
  );

# Results:
my $ContainerInstances =
  $UpdateContainerInstancesStateResponse->ContainerInstances;
my $Failures = $UpdateContainerInstancesStateResponse->Failures;

# Returns a L<Paws::ECS::UpdateContainerInstancesStateResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ecs/UpdateContainerInstancesState

ATTRIBUTES

Cluster => Str

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.

REQUIRED ContainerInstances => ArrayRef[Str|Undef]

A list of container instance IDs or full ARN entries.

REQUIRED Status => Str

The container instance state with which to update the container instance. 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 will be unable to update the container instance state.

Valid values are: "ACTIVE", "DRAINING", "REGISTERING", "DEREGISTERING", "REGISTRATION_FAILED"

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateContainerInstancesState in Paws::ECS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues