Skip to content

ExpressGatewayContainer

Source code in docs_src/capo_ecs/types/express_gateway_container.py
class ExpressGatewayContainer(TypedDict, closed=True):
    image: "capo_ecs.types.string.String"
    """<p>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 <code>repository-url/image:tag</code> or <code>repository-url/image@digest</code>.</p> <p>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.</p>"""
    container_port: NotRequired["capo_ecs.types.boxed_integer.BoxedInteger"]
    """<p>The port number on the container that receives traffic from the load balancer. Default is 80.</p>"""
    aws_logs_configuration: NotRequired[
        "capo_ecs.types.express_gateway_service_aws_logs_configuration.ExpressGatewayServiceAwsLogsConfiguration"
    ]
    """<p>The log configuration for the container.</p>"""
    repository_credentials: NotRequired[
        "capo_ecs.types.express_gateway_repository_credentials.ExpressGatewayRepositoryCredentials"
    ]
    """<p>The configuration for repository credentials for private registry authentication.</p>"""
    command: NotRequired["capo_ecs.types.string_list.StringList"]
    """<p>The command that is passed to the container.</p>"""
    environment: NotRequired[
        "capo_ecs.types.environment_variables.EnvironmentVariables"
    ]
    """<p>The environment variables to pass to the container.</p>"""
    secrets: NotRequired["capo_ecs.types.secret_list.SecretList"]
    """<p>The secrets to pass to the container.</p>"""

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.

secrets instance-attribute

secrets: NotRequired[SecretList]

The secrets to pass to the container.