The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ECS::Container

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::Container object:

  $service_obj->Method(Att1 => { ContainerArn => $value, ..., TaskArn => $value  });

Results returned from an API call

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

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

DESCRIPTION

A Docker container that is part of a task.

ATTRIBUTES

ContainerArn => Str

The Amazon Resource Name (ARN) of the container.

Cpu => Str

The number of CPU units set for the container. The value will be 0 if no value was specified in the container definition when the task definition was registered.

ExitCode => Int

The exit code returned from the container.

GpuIds => ArrayRef[Str|Undef]

The IDs of each GPU assigned to the container.

HealthStatus => Str

The health status of the container. If health checks are not configured for this container in its task definition, then it reports the health status as UNKNOWN.

Image => Str

The image used for the container.

ImageDigest => Str

The container image manifest digest.

The imageDigest is only returned if the container is using an image hosted in Amazon ECR, otherwise it is omitted.

LastStatus => Str

The last known status of the container.

ManagedAgents => ArrayRef[Paws::ECS::ManagedAgent]

The details of any Amazon ECS managed agents associated with the container.

Memory => Str

The hard limit (in MiB) of memory set for the container.

MemoryReservation => Str

The soft limit (in MiB) of memory set for the container.

Name => Str

The name of the container.

NetworkBindings => ArrayRef[Paws::ECS::NetworkBinding]

The network bindings associated with the container.

NetworkInterfaces => ArrayRef[Paws::ECS::NetworkInterface]

The network interfaces associated with the container.

Reason => Str

A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

RuntimeId => Str

The ID of the Docker container.

TaskArn => Str

The ARN of the task.

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