Skip to content

ECS  >  Dictionaries  >  ExpressGatewayContainerDict

ExpressGatewayContainerDict

Dictionary Type

ExpressGatewayContainerDict

Bases: TypedDict

Dictionary form of ExpressGatewayContainer.

Attributes

aws_logs_configuration instance-attribute

The log configuration for the container.

command instance-attribute
command: Sequence[str] | None

The command that is passed to the container.

container_port instance-attribute
container_port: int | None

The port number on the container that receives traffic from the load balancer. Default is 80.

environment instance-attribute
environment: Sequence[KeyValuePair | KeyValuePairDict] | None

The environment variables to pass to the container.

image instance-attribute
image: Required[str]

The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest.

For Express services, the image typically contains a web application that listens on the specified container port. The image can be stored in Amazon ECR, Docker Hub, or any other container registry accessible to your execution role.

repository_credentials instance-attribute

The configuration for repository credentials for private registry authentication.

secrets instance-attribute
secrets: Sequence[Secret | SecretDict] | None

The secrets to pass to the container.