| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ECS.Types.Container
Description
Synopsis
- data Container = Container' {
- containerArn :: Maybe Text
- cpu :: Maybe Text
- exitCode :: Maybe Int
- gpuIds :: Maybe [Text]
- healthStatus :: Maybe HealthStatus
- image :: Maybe Text
- imageDigest :: Maybe Text
- lastStatus :: Maybe Text
- managedAgents :: Maybe [ManagedAgent]
- memory :: Maybe Text
- memoryReservation :: Maybe Text
- name :: Maybe Text
- networkBindings :: Maybe [NetworkBinding]
- networkInterfaces :: Maybe [NetworkInterface]
- reason :: Maybe Text
- runtimeId :: Maybe Text
- taskArn :: Maybe Text
- newContainer :: Container
- container_containerArn :: Lens' Container (Maybe Text)
- container_cpu :: Lens' Container (Maybe Text)
- container_exitCode :: Lens' Container (Maybe Int)
- container_gpuIds :: Lens' Container (Maybe [Text])
- container_healthStatus :: Lens' Container (Maybe HealthStatus)
- container_image :: Lens' Container (Maybe Text)
- container_imageDigest :: Lens' Container (Maybe Text)
- container_lastStatus :: Lens' Container (Maybe Text)
- container_managedAgents :: Lens' Container (Maybe [ManagedAgent])
- container_memory :: Lens' Container (Maybe Text)
- container_memoryReservation :: Lens' Container (Maybe Text)
- container_name :: Lens' Container (Maybe Text)
- container_networkBindings :: Lens' Container (Maybe [NetworkBinding])
- container_networkInterfaces :: Lens' Container (Maybe [NetworkInterface])
- container_reason :: Lens' Container (Maybe Text)
- container_runtimeId :: Lens' Container (Maybe Text)
- container_taskArn :: Lens' Container (Maybe Text)
Documentation
A Docker container that's part of a task.
See: newContainer smart constructor.
Constructors
| Container' | |
Fields
| |
Instances
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:containerArn:Container', container_containerArn - The Amazon Resource Name (ARN) of the container.
$sel:cpu:Container', container_cpu - The number of CPU units set for the container. The value is 0 if no
value was specified in the container definition when the task definition
was registered.
$sel:exitCode:Container', container_exitCode - The exit code returned from the container.
$sel:gpuIds:Container', container_gpuIds - The IDs of each GPU assigned to the container.
$sel:healthStatus:Container', container_healthStatus - The health status of the container. If health checks aren't configured
for this container in its task definition, then it reports the health
status as UNKNOWN.
$sel:image:Container', container_image - The image used for 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.
Container, container_lastStatus - The last known status of the container.
$sel:managedAgents:Container', container_managedAgents - The details of any Amazon ECS managed agents associated with the
container.
$sel:memory:Container', container_memory - The hard limit (in MiB) of memory set for the container.
$sel:memoryReservation:Container', container_memoryReservation - The soft limit (in MiB) of memory set for the container.
Container, container_name - The name of the container.
$sel:networkBindings:Container', container_networkBindings - The network bindings associated with the container.
$sel:networkInterfaces:Container', container_networkInterfaces - The network interfaces associated with the container.
Container, container_reason - A short (255 max characters) human-readable string to provide additional
details about a running or stopped container.
$sel:runtimeId:Container', container_runtimeId - The ID of the Docker container.
$sel:taskArn:Container', container_taskArn - The ARN of the task.
container_containerArn :: Lens' Container (Maybe Text) Source #
The Amazon Resource Name (ARN) of the container.
container_cpu :: Lens' Container (Maybe Text) Source #
The number of CPU units set for the container. The value is 0 if no
value was specified in the container definition when the task definition
was registered.
container_exitCode :: Lens' Container (Maybe Int) Source #
The exit code returned from the container.
container_gpuIds :: Lens' Container (Maybe [Text]) Source #
The IDs of each GPU assigned to the container.
container_healthStatus :: Lens' Container (Maybe HealthStatus) Source #
The health status of the container. If health checks aren't configured
for this container in its task definition, then it reports the health
status as UNKNOWN.
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_lastStatus :: Lens' Container (Maybe Text) Source #
The last known status of the container.
container_managedAgents :: Lens' Container (Maybe [ManagedAgent]) Source #
The details of any Amazon ECS managed agents associated with the container.
container_memory :: Lens' Container (Maybe Text) Source #
The hard limit (in MiB) of memory set for the container.
container_memoryReservation :: Lens' Container (Maybe Text) Source #
The soft limit (in MiB) of memory set for the container.
container_networkBindings :: Lens' Container (Maybe [NetworkBinding]) Source #
The network bindings associated with the container.
container_networkInterfaces :: Lens' Container (Maybe [NetworkInterface]) Source #
The network interfaces associated with the container.