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.CreateContainerServiceDeployment

Description

Creates a deployment for your Amazon Lightsail container service.

A deployment specifies the containers that will be launched on the container service and their settings, such as the ports to open, the environment variables to apply, and the launch command to run. It also specifies the container that will serve as the public endpoint of the deployment and its settings, such as the HTTP or HTTPS port to use, and the health check configuration.

You can deploy containers to your container service using container images from a public registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data CreateContainerServiceDeployment Source #

See: newCreateContainerServiceDeployment smart constructor.

Constructors

CreateContainerServiceDeployment' 

Fields

Instances

Instances details
Eq CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Read CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Show CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Generic CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Associated Types

type Rep CreateContainerServiceDeployment :: Type -> Type #

NFData CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Hashable CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

ToJSON CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

AWSRequest CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

ToHeaders CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

ToPath CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

ToQuery CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

type Rep CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

type Rep CreateContainerServiceDeployment = D1 ('MetaData "CreateContainerServiceDeployment" "Amazonka.Lightsail.CreateContainerServiceDeployment" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "CreateContainerServiceDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "publicEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointRequest)) :*: (S1 ('MetaSel ('Just "containers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Container))) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

newCreateContainerServiceDeployment Source #

Create a value of CreateContainerServiceDeployment 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:publicEndpoint:CreateContainerServiceDeployment', createContainerServiceDeployment_publicEndpoint - An object that describes the settings of the public endpoint for the container service.

$sel:containers:CreateContainerServiceDeployment', createContainerServiceDeployment_containers - An object that describes the settings of the containers that will be launched on the container service.

$sel:serviceName:CreateContainerServiceDeployment', createContainerServiceDeployment_serviceName - The name of the container service for which to create the deployment.

Request Lenses

createContainerServiceDeployment_publicEndpoint :: Lens' CreateContainerServiceDeployment (Maybe EndpointRequest) Source #

An object that describes the settings of the public endpoint for the container service.

createContainerServiceDeployment_containers :: Lens' CreateContainerServiceDeployment (Maybe (HashMap Text Container)) Source #

An object that describes the settings of the containers that will be launched on the container service.

createContainerServiceDeployment_serviceName :: Lens' CreateContainerServiceDeployment Text Source #

The name of the container service for which to create the deployment.

Destructuring the Response

data CreateContainerServiceDeploymentResponse Source #

Constructors

CreateContainerServiceDeploymentResponse' 

Fields

Instances

Instances details
Eq CreateContainerServiceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Read CreateContainerServiceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Show CreateContainerServiceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Generic CreateContainerServiceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

NFData CreateContainerServiceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

type Rep CreateContainerServiceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

type Rep CreateContainerServiceDeploymentResponse = D1 ('MetaData "CreateContainerServiceDeploymentResponse" "Amazonka.Lightsail.CreateContainerServiceDeployment" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "CreateContainerServiceDeploymentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "containerService") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerService)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateContainerServiceDeploymentResponse Source #

Create a value of CreateContainerServiceDeploymentResponse 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:containerService:CreateContainerServiceDeploymentResponse', createContainerServiceDeploymentResponse_containerService - An object that describes a container service.

$sel:httpStatus:CreateContainerServiceDeploymentResponse', createContainerServiceDeploymentResponse_httpStatus - The response's http status code.

Response Lenses