You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::ContainerServiceDeployment

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#containers ⇒ Hash<String,Types::Container>

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

Returns:

  • (Hash<String,Types::Container>) —

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

#created_at ⇒ Time

The timestamp when the deployment was created.

Returns:

  • (Time) —

    The timestamp when the deployment was created.

#public_endpoint ⇒ Types::ContainerServiceEndpoint

An object that describes the endpoint of the deployment.

Returns:

#state ⇒ String

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.

    Possible values:

    • ACTIVATING
    • ACTIVE
    • INACTIVE
    • FAILED

Returns:

  • (String) —

    The state of the deployment.

#version ⇒ Integer

The version number of the deployment.

Returns:

  • (Integer) —

    The version number of the deployment.