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

Class: Aws::ECS::Types::Container

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

Overview

A Docker container that is part of a task.

Instance Attribute Summary collapse

Instance Attribute Details

#container_arnString

The Amazon Resource Name (ARN) of the container.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the container.

#exit_codeInteger

The exit code returned from the container.

Returns:

  • (Integer)

    The exit code returned from the container.

#last_statusString

The last known status of the container.

Returns:

  • (String)

    The last known status of the container.

#nameString

The name of the container.

Returns:

  • (String)

    The name of the container.

#network_bindingsArray<Types::NetworkBinding>

The network bindings associated with the container.

Returns:

#network_interfacesArray<Types::NetworkInterface>

The network interfaces associated with the container.

Returns:

#reasonString

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

Returns:

  • (String)

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

#task_arnString

The ARN of the task.

Returns:

  • (String)

    The ARN of the task.