ExpressGatewayContainer
¶
Used by
Source code in docs_src/capo_ecs/types/express_gateway_container.py
aws_logs_configuration
instance-attribute
¶
aws_logs_configuration: NotRequired[ExpressGatewayServiceAwsLogsConfiguration]
The log configuration for the container.
command
instance-attribute
¶
command: NotRequired[StringList]
The command that is passed to the container.
container_port
instance-attribute
¶
container_port: NotRequired[BoxedInteger]
The port number on the container that receives traffic from the load balancer. Default is 80.
environment
instance-attribute
¶
environment: NotRequired[EnvironmentVariables]
The environment variables to pass to the container.
image
instance-attribute
¶
image: String
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
¶
repository_credentials: NotRequired[ExpressGatewayRepositoryCredentials]
The configuration for repository credentials for private registry authentication.