libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.Types.ContainerServiceDeployment

Description

 
Synopsis

Documentation

data ContainerServiceDeployment Source #

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.

See: newContainerServiceDeployment smart constructor.

Constructors

ContainerServiceDeployment' 

Fields

  • state :: Maybe 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.
  • publicEndpoint :: Maybe ContainerServiceEndpoint

    An object that describes the endpoint of the deployment.

  • createdAt :: Maybe POSIX

    The timestamp when the deployment was created.

  • containers :: Maybe (HashMap Text Container)

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

  • version :: Maybe Int

    The version number of the deployment.

Instances

Instances details
Eq ContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceDeployment

Read ContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceDeployment

Show ContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceDeployment

Generic ContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceDeployment

Associated Types

type Rep ContainerServiceDeployment :: Type -> Type #

NFData ContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceDeployment

Hashable ContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceDeployment

FromJSON ContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceDeployment

type Rep ContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceDeployment

type Rep ContainerServiceDeployment = D1 ('MetaData "ContainerServiceDeployment" "Amazonka.Lightsail.Types.ContainerServiceDeployment" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "ContainerServiceDeployment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerServiceDeploymentState)) :*: S1 ('MetaSel ('Just "publicEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerServiceEndpoint))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "containers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Container))) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

newContainerServiceDeployment :: ContainerServiceDeployment Source #

Create a value of ContainerServiceDeployment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:state:ContainerServiceDeployment', containerServiceDeployment_state - 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.

$sel:publicEndpoint:ContainerServiceDeployment', containerServiceDeployment_publicEndpoint - An object that describes the endpoint of the deployment.

$sel:createdAt:ContainerServiceDeployment', containerServiceDeployment_createdAt - The timestamp when the deployment was created.

$sel:containers:ContainerServiceDeployment', containerServiceDeployment_containers - An object that describes the configuration for the containers of the deployment.

$sel:version:ContainerServiceDeployment', containerServiceDeployment_version - The version number of the deployment.

containerServiceDeployment_state :: Lens' ContainerServiceDeployment (Maybe ContainerServiceDeploymentState) Source #

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.

containerServiceDeployment_containers :: Lens' ContainerServiceDeployment (Maybe (HashMap Text Container)) Source #

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