The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ECS::Task

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::ECS::Task object:

  $service_obj->Method(Att1 => { ClusterArn => $value, ..., Version => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::Task object:

  $result = $service_obj->Method(...);
  $result->Att1->ClusterArn

DESCRIPTION

Details on a task in a cluster.

ATTRIBUTES

ClusterArn => Str

  The Amazon Resource Name (ARN) of the cluster that hosts the task.

ContainerInstanceArn => Str

  The Amazon Resource Name (ARN) of the container instances that host the
task.

Containers => ArrayRef[Paws::ECS::Container]

  The containers associated with the task.

CreatedAt => Str

  The Unix timestamp for when the task was created (the task entered the
C<PENDING> state).

DesiredStatus => Str

  The desired status of the task.

Group => Str

  The name of the task group associated with the task.

LastStatus => Str

  The last known status of the task.

Overrides => Paws::ECS::TaskOverride

  One or more container overrides.

StartedAt => Str

  The Unix timestamp for when the task was started (the task transitioned
from the C<PENDING> state to the C<RUNNING> state).

StartedBy => Str

  The tag specified when a task is started. If the task is started by an
Amazon ECS service, then the C<startedBy> parameter contains the
deployment ID of the service that starts it.

StoppedAt => Str

  The Unix timestamp for when the task was stopped (the task transitioned
from the C<RUNNING> state to the C<STOPPED> state).

StoppedReason => Str

  The reason the task was stopped.

TaskArn => Str

  The Amazon Resource Name (ARN) of the task.

TaskDefinitionArn => Str

  The Amazon Resource Name (ARN) of the task definition that creates the
task.

Version => Int

  The version counter for the task. Every time a task experiences a
change that triggers a CloudWatch event, the version counter is
incremented. If you are replicating your Amazon ECS task state with
CloudWatch events, you can compare the version of a task reported by
the Amazon ECS APIs with the version reported in CloudWatch events for
the task (inside the C<detail> object) to verify that the version in
your event stream is current.

SEE ALSO

This class forms part of Paws, describing an object used 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