Skip to main content

EcsTaskDefinitionImageSchema

Defines the container image and its properties.

@group

Resources/EcsTaskDefinition

Index

Properties

command

command: string[] = ...

The command to run in the container.

essential

essential: boolean = ...

Defines the behavior when the container exits. Essential containers kill the whole task upon exit.

name

name: string = ...

The name of the image. It must be unique within this task definition.

ports

The ports exposed by the container. See EcsTaskDefinitionImagePortSchema for options.

uri

uri: string = ...

The URI of the image. This is usually an URI from "docker hub" or "ecr".

Page Options