ContainerServiceDeployment
import type { ContainerServiceDeployment } from "https://aws-api.deno.dev/v0.4/services/lightsail.ts?docs=full";
Describes a container deployment configuration of an Amazon Lightsail container service.
A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.
interface ContainerServiceDeployment {
containers?: {} | null;
[key: string]: Container | null | undefined;
createdAt?: Date | number | null;
publicEndpoint?: ContainerServiceEndpoint | null;
state?: ContainerServiceDeploymentState | null;
version?: number | null;
}§Properties
§
publicEndpoint?: ContainerServiceEndpoint | null
[src]An object that describes the endpoint of the deployment.
§
state?: ContainerServiceDeploymentState | null
[src]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 theGetContainerLog
action to view the log events for the containers in the deployment to try to determine the reason for the failure.