libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.Types.Container

Description

 
Synopsis

Documentation

data Container Source #

A Docker container that is part of a task.

See: newContainer smart constructor.

Constructors

Container' 

Fields

Instances

Instances details
Eq Container Source # 
Instance details

Defined in Amazonka.ECS.Types.Container

Read Container Source # 
Instance details

Defined in Amazonka.ECS.Types.Container

Show Container Source # 
Instance details

Defined in Amazonka.ECS.Types.Container

Generic Container Source # 
Instance details

Defined in Amazonka.ECS.Types.Container

Associated Types

type Rep Container :: Type -> Type #

NFData Container Source # 
Instance details

Defined in Amazonka.ECS.Types.Container

Methods

rnf :: Container -> () #

Hashable Container Source # 
Instance details

Defined in Amazonka.ECS.Types.Container

FromJSON Container Source # 
Instance details

Defined in Amazonka.ECS.Types.Container

type Rep Container Source # 
Instance details

Defined in Amazonka.ECS.Types.Container

type Rep Container = D1 ('MetaData "Container" "Amazonka.ECS.Types.Container" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "Container'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "gpuIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "networkBindings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkBinding]))) :*: (S1 ('MetaSel ('Just "managedAgents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ManagedAgent])) :*: S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "containerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkInterface]))) :*: (S1 ('MetaSel ('Just "taskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "memory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "imageDigest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "exitCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "healthStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HealthStatus))) :*: (S1 ('MetaSel ('Just "cpu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "runtimeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "memoryReservation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newContainer :: Container Source #

Create a value of Container with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:gpuIds:Container', container_gpuIds - The IDs of each GPU assigned to the container.

$sel:networkBindings:Container', container_networkBindings - The network bindings associated with the container.

$sel:managedAgents:Container', container_managedAgents - The details of any Amazon ECS managed agents associated with the container.

$sel:image:Container', container_image - The image used for the container.

$sel:containerArn:Container', container_containerArn - The Amazon Resource Name (ARN) of the container.

$sel:networkInterfaces:Container', container_networkInterfaces - The network interfaces associated with the container.

$sel:taskArn:Container', container_taskArn - The ARN of the task.

$sel:lastStatus:Container', container_lastStatus - The last known status of the container.

$sel:memory:Container', container_memory - The hard limit (in MiB) of memory set for the container.

$sel:reason:Container', container_reason - A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

$sel:name:Container', container_name - The name of the container.

$sel:imageDigest:Container', container_imageDigest - 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.

$sel:exitCode:Container', container_exitCode - The exit code returned from the container.

$sel:healthStatus:Container', container_healthStatus - 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.

$sel:cpu:Container', container_cpu - 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.

$sel:runtimeId:Container', container_runtimeId - The ID of the Docker container.

$sel:memoryReservation:Container', container_memoryReservation - The soft limit (in MiB) of memory set for the container.

container_gpuIds :: Lens' Container (Maybe [Text]) Source #

The IDs of each GPU assigned to the container.

container_networkBindings :: Lens' Container (Maybe [NetworkBinding]) Source #

The network bindings associated with the container.

container_managedAgents :: Lens' Container (Maybe [ManagedAgent]) Source #

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

container_image :: Lens' Container (Maybe Text) Source #

The image used for the container.

container_containerArn :: Lens' Container (Maybe Text) Source #

The Amazon Resource Name (ARN) of the container.

container_networkInterfaces :: Lens' Container (Maybe [NetworkInterface]) Source #

The network interfaces associated with the container.

container_lastStatus :: Lens' Container (Maybe Text) Source #

The last known status of the container.

container_memory :: Lens' Container (Maybe Text) Source #

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

container_reason :: Lens' Container (Maybe Text) Source #

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

container_name :: Lens' Container (Maybe Text) Source #

The name of the container.

container_imageDigest :: Lens' Container (Maybe Text) Source #

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.

container_exitCode :: Lens' Container (Maybe Int) Source #

The exit code returned from the container.

container_healthStatus :: Lens' Container (Maybe HealthStatus) Source #

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.

container_cpu :: Lens' Container (Maybe Text) Source #

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.

container_runtimeId :: Lens' Container (Maybe Text) Source #

The ID of the Docker container.

container_memoryReservation :: Lens' Container (Maybe Text) Source #

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