amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 such as Amazon ECR Public, 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
ToJSON 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

AWSRequest 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 #

Read CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Show CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

NFData CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Eq CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Hashable CreateContainerServiceDeployment Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

type AWSResponse 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" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "CreateContainerServiceDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "containers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Container))) :*: (S1 ('MetaSel ('Just "publicEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointRequest)) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

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

CreateContainerServiceDeployment, createContainerServiceDeployment_publicEndpoint - An object that describes the settings of the public endpoint for the container service.

CreateContainerServiceDeployment, createContainerServiceDeployment_serviceName - The name of the container service for which to create the deployment.

Request Lenses

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_publicEndpoint :: Lens' CreateContainerServiceDeployment (Maybe EndpointRequest) Source #

An object that describes the settings of the public endpoint for 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
Generic 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

NFData CreateContainerServiceDeploymentResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CreateContainerServiceDeployment

Eq 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" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" '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