ContainerServiceDeployment
¶
Source code in docs_src/capo_lightsail/types/container_service_deployment.py
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 theGetContainerLogaction to view the log events for the containers in the deployment to try to determine the reason for the failure.