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

Description

 
Synopsis

Documentation

data EndpointRequest Source #

Describes the settings of a public endpoint for an Amazon Lightsail container service.

See: newEndpointRequest smart constructor.

Constructors

EndpointRequest' 

Fields

Instances

Instances details
Eq EndpointRequest Source # 
Instance details

Defined in Amazonka.Lightsail.Types.EndpointRequest

Read EndpointRequest Source # 
Instance details

Defined in Amazonka.Lightsail.Types.EndpointRequest

Show EndpointRequest Source # 
Instance details

Defined in Amazonka.Lightsail.Types.EndpointRequest

Generic EndpointRequest Source # 
Instance details

Defined in Amazonka.Lightsail.Types.EndpointRequest

Associated Types

type Rep EndpointRequest :: Type -> Type #

NFData EndpointRequest Source # 
Instance details

Defined in Amazonka.Lightsail.Types.EndpointRequest

Methods

rnf :: EndpointRequest -> () #

Hashable EndpointRequest Source # 
Instance details

Defined in Amazonka.Lightsail.Types.EndpointRequest

ToJSON EndpointRequest Source # 
Instance details

Defined in Amazonka.Lightsail.Types.EndpointRequest

type Rep EndpointRequest Source # 
Instance details

Defined in Amazonka.Lightsail.Types.EndpointRequest

type Rep EndpointRequest = D1 ('MetaData "EndpointRequest" "Amazonka.Lightsail.Types.EndpointRequest" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "EndpointRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "healthCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerServiceHealthCheckConfig)) :*: (S1 ('MetaSel ('Just "containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "containerPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newEndpointRequest Source #

Create a value of EndpointRequest 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:healthCheck:EndpointRequest', endpointRequest_healthCheck - An object that describes the health check configuration of the container.

$sel:containerName:EndpointRequest', endpointRequest_containerName - The name of the container for the endpoint.

$sel:containerPort:EndpointRequest', endpointRequest_containerPort - The port of the container to which traffic is forwarded to.

endpointRequest_healthCheck :: Lens' EndpointRequest (Maybe ContainerServiceHealthCheckConfig) Source #

An object that describes the health check configuration of the container.

endpointRequest_containerName :: Lens' EndpointRequest Text Source #

The name of the container for the endpoint.

endpointRequest_containerPort :: Lens' EndpointRequest Int Source #

The port of the container to which traffic is forwarded to.