Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Container

import type { Container } from "https://aws-api.deno.dev/v0.4/services/ecs.ts?docs=full";

A Docker container that's part of a task.

interface Container {
containerArn?: string | null;
cpu?: string | null;
exitCode?: number | null;
gpuIds?: string[] | null;
healthStatus?: HealthStatus | null;
image?: string | null;
imageDigest?: string | null;
lastStatus?: string | null;
managedAgents?: ManagedAgent[] | null;
memory?: string | null;
memoryReservation?: string | null;
name?: string | null;
networkBindings?: NetworkBinding[] | null;
networkInterfaces?: NetworkInterface[] | null;
reason?: string | null;
runtimeId?: string | null;
taskArn?: string | null;
}

§Properties

§
containerArn?: string | null
[src]

The Amazon Resource Name (ARN) of the container.

§
cpu?: string | null
[src]

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.

§
exitCode?: number | null
[src]

The exit code returned from the container.

§
gpuIds?: string[] | null
[src]

The IDs of each GPU assigned to the container.

§
healthStatus?: HealthStatus | null
[src]

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.

§
image?: string | null
[src]

The image used for the container.

§
imageDigest?: string | null
[src]

The container image manifest digest.

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

§
lastStatus?: string | null
[src]

The last known status of the container.

§
managedAgents?: ManagedAgent[] | null
[src]

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

§
memory?: string | null
[src]

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

§
memoryReservation?: string | null
[src]

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

§
name?: string | null
[src]

The name of the container.

§
networkBindings?: NetworkBinding[] | null
[src]

The network bindings associated with the container.

§
networkInterfaces?: NetworkInterface[] | null
[src]

The network interfaces associated with the container.

§
reason?: string | null
[src]

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

§
runtimeId?: string | null
[src]

The ID of the Docker container.

§
taskArn?: string | null
[src]

The ARN of the task.