| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lightsail.Types.ContainerServiceDeployment
Description
Synopsis
- data ContainerServiceDeployment = ContainerServiceDeployment' {}
- newContainerServiceDeployment :: ContainerServiceDeployment
- containerServiceDeployment_containers :: Lens' ContainerServiceDeployment (Maybe (HashMap Text Container))
- containerServiceDeployment_createdAt :: Lens' ContainerServiceDeployment (Maybe UTCTime)
- containerServiceDeployment_publicEndpoint :: Lens' ContainerServiceDeployment (Maybe ContainerServiceEndpoint)
- containerServiceDeployment_state :: Lens' ContainerServiceDeployment (Maybe ContainerServiceDeploymentState)
- containerServiceDeployment_version :: Lens' ContainerServiceDeployment (Maybe Int)
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
| |
Instances
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:containers:ContainerServiceDeployment', containerServiceDeployment_containers - An object that describes the configuration for the containers of the
deployment.
$sel:createdAt:ContainerServiceDeployment', containerServiceDeployment_createdAt - The timestamp when the deployment was created.
$sel:publicEndpoint:ContainerServiceDeployment', containerServiceDeployment_publicEndpoint - An object that describes the endpoint of the deployment.
$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 theGetContainerLogaction to view the log events for the containers in the deployment to try to determine the reason for the failure.
$sel:version:ContainerServiceDeployment', containerServiceDeployment_version - The version number of the deployment.
containerServiceDeployment_containers :: Lens' ContainerServiceDeployment (Maybe (HashMap Text Container)) Source #
An object that describes the configuration for the containers of the deployment.
containerServiceDeployment_createdAt :: Lens' ContainerServiceDeployment (Maybe UTCTime) Source #
The timestamp when the deployment was created.
containerServiceDeployment_publicEndpoint :: Lens' ContainerServiceDeployment (Maybe ContainerServiceEndpoint) Source #
An object that describes the endpoint 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 theGetContainerLogaction to view the log events for the containers in the deployment to try to determine the reason for the failure.
containerServiceDeployment_version :: Lens' ContainerServiceDeployment (Maybe Int) Source #
The version number of the deployment.