container_definition
Table to manage AWS ECS container definitions. Container definitions are used in task definitions to describe the different containers that are launched as part of a task.
See
https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html
image
> repository
> publicRepository
digest
> tag
> null
Columns
• Optional
container_port: number
Port to expose at container level
See
• Optional
cpu: number
The number of cpu units reserved for the container.
See
• Optional
digest: string
The sha-256 digest of the used image. Either tag or digest needs to be specified
See
• env_variables: Object
Complex type to specify a list of environment variables that the container can consume
See
Type definition
▪ [key: string
]: string
• essential: boolean
If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.
See
• Optional
host_port: number
Port to expose at host level. It can be left blank depending on the networking mode
See
• Optional
image: string
The image used to start the container
See
• Optional
log_group: log_group
The log group where to render the container logs
See
• Optional
memory: number
The amount (in MiB) of memory to present to the container.
See
• Optional
memory_reservation: number
The soft limit (in MiB) of memory to reserve for the container.
See
• name: string
Name of the container definition
• Optional
protocol: transport_protocol
The protocol for the exposed ports
See
• Optional
public_repository: public_repository
Reference to the public repository where this image is hosted
• region: string
Region for the container definition
• Optional
repository: repository
Reference of the repository where this image is hosted
• Optional
tag: string
The tag for the image used to start the container
See
• task_definition: task_definition
Reference of the associated task definition