Skip to content

ContainerServiceDeployment

Source code in docs_src/capo_lightsail/types/container_service_deployment.py
class ContainerServiceDeployment(TypedDict, closed=True):
    version: NotRequired["capo_lightsail.types.integer.integer"]
    """<p>The version number of the deployment.</p>"""
    state: NotRequired[
        "capo_lightsail.types.container_service_deployment_state.ContainerServiceDeploymentState"
    ]
    """<p>The state of the deployment.</p> <p>A deployment can be in one of the following states:</p> <ul> <li> <p> <code>ACTIVATING</code> - The deployment is being created.</p> </li> <li> <p> <code>ACTIVE</code> - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time.</p> </li> <li> <p> <code>INACTIVE</code> - The deployment was previously successfully created, but it is not currently running on the container service.</p> </li> <li> <p> <code>FAILED</code> - The deployment failed. Use the <code>GetContainerLog</code> action to view the log events for the containers in the deployment to try to determine the reason for the failure.</p> </li> </ul>"""
    containers: NotRequired["capo_lightsail.types.container_map.ContainerMap"]
    """<p>An object that describes the configuration for the containers of the deployment.</p>"""
    public_endpoint: NotRequired[
        "capo_lightsail.types.container_service_endpoint.ContainerServiceEndpoint"
    ]
    """<p>An object that describes the endpoint of the deployment.</p>"""
    created_at: NotRequired["capo_lightsail.types.iso_date.IsoDate"]
    """<p>The timestamp when the deployment was created.</p>"""

containers instance-attribute

containers: NotRequired[ContainerMap]

An object that describes the configuration for the containers of the deployment.

created_at instance-attribute

created_at: NotRequired[IsoDate]

The timestamp when the deployment was created.

public_endpoint instance-attribute

public_endpoint: NotRequired[ContainerServiceEndpoint]

An object that describes the endpoint of the deployment.

state instance-attribute

state: NotRequired[ContainerServiceDeploymentState]

The state of the deployment.

A deployment can be in one of the following states:

  • ACTIVATING - The deployment is being created.

  • ACTIVE - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time.

  • INACTIVE - The deployment was previously successfully created, but it is not currently running on the container service.

  • FAILED - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.

version instance-attribute

version: NotRequired[integer]

The version number of the deployment.