| 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.EndpointRequest
Description
Synopsis
- data EndpointRequest = EndpointRequest' {}
- newEndpointRequest :: Text -> Int -> EndpointRequest
- endpointRequest_healthCheck :: Lens' EndpointRequest (Maybe ContainerServiceHealthCheckConfig)
- endpointRequest_containerName :: Lens' EndpointRequest Text
- endpointRequest_containerPort :: Lens' EndpointRequest Int
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
Arguments
| :: Text | |
| -> Int | |
| -> EndpointRequest |
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.