Returns the deployments for your 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.
The deployments are ordered by version in ascending order. The newest version is listed at the top of the response.
A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.
lightsail_get_container_service_deployments(serviceName)
A list with the following syntax:
list(
deployments = list(
list(
version = 123,
state = "ACTIVATING"|"ACTIVE"|"INACTIVE"|"FAILED",
containers = list(
list(
image = "string",
command = list(
"string"
),
environment = list(
"string"
),
ports = list(
"HTTP"|"HTTPS"|"TCP"|"UDP"
)
)
),
publicEndpoint = list(
containerName = "string",
containerPort = 123,
healthCheck = list(
healthyThreshold = 123,
unhealthyThreshold = 123,
timeoutSeconds = 123,
intervalSeconds = 123,
path = "string",
successCodes = "string"
)
),
createdAt = as.POSIXct(
"2015-01-01"
)
)
)
)
[required] The name of the container service for which to return deployments.
svc$get_container_service_deployments(
serviceName = "string"
)