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 |
Synopsis
- data LoadBalancer = LoadBalancer' {
- arn :: Maybe Text
- configurationOptions :: Maybe (HashMap LoadBalancerAttributeName Text)
- createdAt :: Maybe POSIX
- dnsName :: Maybe Text
- healthCheckPath :: Maybe Text
- httpsRedirectionEnabled :: Maybe Bool
- instanceHealthSummary :: Maybe [InstanceHealthSummary]
- instancePort :: Maybe Int
- ipAddressType :: Maybe IpAddressType
- location :: Maybe ResourceLocation
- name :: Maybe Text
- protocol :: Maybe LoadBalancerProtocol
- publicPorts :: Maybe [Int]
- resourceType :: Maybe ResourceType
- state :: Maybe LoadBalancerState
- supportCode :: Maybe Text
- tags :: Maybe [Tag]
- tlsCertificateSummaries :: Maybe [LoadBalancerTlsCertificateSummary]
- tlsPolicyName :: Maybe Text
- newLoadBalancer :: LoadBalancer
- loadBalancer_arn :: Lens' LoadBalancer (Maybe Text)
- loadBalancer_configurationOptions :: Lens' LoadBalancer (Maybe (HashMap LoadBalancerAttributeName Text))
- loadBalancer_createdAt :: Lens' LoadBalancer (Maybe UTCTime)
- loadBalancer_dnsName :: Lens' LoadBalancer (Maybe Text)
- loadBalancer_healthCheckPath :: Lens' LoadBalancer (Maybe Text)
- loadBalancer_httpsRedirectionEnabled :: Lens' LoadBalancer (Maybe Bool)
- loadBalancer_instanceHealthSummary :: Lens' LoadBalancer (Maybe [InstanceHealthSummary])
- loadBalancer_instancePort :: Lens' LoadBalancer (Maybe Int)
- loadBalancer_ipAddressType :: Lens' LoadBalancer (Maybe IpAddressType)
- loadBalancer_location :: Lens' LoadBalancer (Maybe ResourceLocation)
- loadBalancer_name :: Lens' LoadBalancer (Maybe Text)
- loadBalancer_protocol :: Lens' LoadBalancer (Maybe LoadBalancerProtocol)
- loadBalancer_publicPorts :: Lens' LoadBalancer (Maybe [Int])
- loadBalancer_resourceType :: Lens' LoadBalancer (Maybe ResourceType)
- loadBalancer_state :: Lens' LoadBalancer (Maybe LoadBalancerState)
- loadBalancer_supportCode :: Lens' LoadBalancer (Maybe Text)
- loadBalancer_tags :: Lens' LoadBalancer (Maybe [Tag])
- loadBalancer_tlsCertificateSummaries :: Lens' LoadBalancer (Maybe [LoadBalancerTlsCertificateSummary])
- loadBalancer_tlsPolicyName :: Lens' LoadBalancer (Maybe Text)
Documentation
data LoadBalancer Source #
Describes a load balancer.
See: newLoadBalancer
smart constructor.
LoadBalancer' | |
|
Instances
newLoadBalancer :: LoadBalancer Source #
Create a value of LoadBalancer
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:arn:LoadBalancer'
, loadBalancer_arn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:configurationOptions:LoadBalancer'
, loadBalancer_configurationOptions
- A string to string map of the configuration options for your load
balancer. Valid values are listed below.
$sel:createdAt:LoadBalancer'
, loadBalancer_createdAt
- The date when your load balancer was created.
$sel:dnsName:LoadBalancer'
, loadBalancer_dnsName
- The DNS name of your Lightsail load balancer.
$sel:healthCheckPath:LoadBalancer'
, loadBalancer_healthCheckPath
- The path you specified to perform your health checks. If no path is
specified, the load balancer tries to make a request to the default
(root) page.
$sel:httpsRedirectionEnabled:LoadBalancer'
, loadBalancer_httpsRedirectionEnabled
- A Boolean value that indicates whether HTTPS redirection is enabled for
the load balancer.
$sel:instanceHealthSummary:LoadBalancer'
, loadBalancer_instanceHealthSummary
- An array of InstanceHealthSummary objects describing the health of the
load balancer.
$sel:instancePort:LoadBalancer'
, loadBalancer_instancePort
- The port where the load balancer will direct traffic to your Lightsail
instances. For HTTP traffic, it's port 80. For HTTPS traffic, it's
port 443.
$sel:ipAddressType:LoadBalancer'
, loadBalancer_ipAddressType
- The IP address type of the load balancer.
The possible values are ipv4
for IPv4 only, and dualstack
for IPv4
and IPv6.
$sel:location:LoadBalancer'
, loadBalancer_location
- The AWS Region where your load balancer was created (e.g.,
us-east-2a
). Lightsail automatically creates your load balancer across
Availability Zones.
LoadBalancer
, loadBalancer_name
- The name of the load balancer (e.g., my-load-balancer
).
$sel:protocol:LoadBalancer'
, loadBalancer_protocol
- The protocol you have enabled for your load balancer. Valid values are
below.
You can't just have HTTP_HTTPS
, but you can have just HTTP
.
$sel:publicPorts:LoadBalancer'
, loadBalancer_publicPorts
- An array of public port settings for your load balancer. For HTTP, use
port 80. For HTTPS, use port 443.
$sel:resourceType:LoadBalancer'
, loadBalancer_resourceType
- The resource type (e.g., LoadBalancer
.
$sel:state:LoadBalancer'
, loadBalancer_state
- The status of your load balancer. Valid values are below.
$sel:supportCode:LoadBalancer'
, loadBalancer_supportCode
- The support code. Include this code in your email to support when you
have questions about your Lightsail load balancer. This code enables our
support team to look up your Lightsail information more easily.
$sel:tags:LoadBalancer'
, loadBalancer_tags
- The tag keys and optional values for the resource. For more information
about tags in Lightsail, see the
Amazon Lightsail Developer Guide.
$sel:tlsCertificateSummaries:LoadBalancer'
, loadBalancer_tlsCertificateSummaries
- An array of LoadBalancerTlsCertificateSummary objects that provide
additional information about the SSL/TLS certificates. For example, if
true
, the certificate is attached to the load balancer.
$sel:tlsPolicyName:LoadBalancer'
, loadBalancer_tlsPolicyName
- The name of the TLS security policy for the load balancer.
loadBalancer_arn :: Lens' LoadBalancer (Maybe Text) Source #
The Amazon Resource Name (ARN) of the load balancer.
loadBalancer_configurationOptions :: Lens' LoadBalancer (Maybe (HashMap LoadBalancerAttributeName Text)) Source #
A string to string map of the configuration options for your load balancer. Valid values are listed below.
loadBalancer_createdAt :: Lens' LoadBalancer (Maybe UTCTime) Source #
The date when your load balancer was created.
loadBalancer_dnsName :: Lens' LoadBalancer (Maybe Text) Source #
The DNS name of your Lightsail load balancer.
loadBalancer_healthCheckPath :: Lens' LoadBalancer (Maybe Text) Source #
The path you specified to perform your health checks. If no path is specified, the load balancer tries to make a request to the default (root) page.
loadBalancer_httpsRedirectionEnabled :: Lens' LoadBalancer (Maybe Bool) Source #
A Boolean value that indicates whether HTTPS redirection is enabled for the load balancer.
loadBalancer_instanceHealthSummary :: Lens' LoadBalancer (Maybe [InstanceHealthSummary]) Source #
An array of InstanceHealthSummary objects describing the health of the load balancer.
loadBalancer_instancePort :: Lens' LoadBalancer (Maybe Int) Source #
The port where the load balancer will direct traffic to your Lightsail instances. For HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.
loadBalancer_ipAddressType :: Lens' LoadBalancer (Maybe IpAddressType) Source #
The IP address type of the load balancer.
The possible values are ipv4
for IPv4 only, and dualstack
for IPv4
and IPv6.
loadBalancer_location :: Lens' LoadBalancer (Maybe ResourceLocation) Source #
The AWS Region where your load balancer was created (e.g.,
us-east-2a
). Lightsail automatically creates your load balancer across
Availability Zones.
loadBalancer_name :: Lens' LoadBalancer (Maybe Text) Source #
The name of the load balancer (e.g., my-load-balancer
).
loadBalancer_protocol :: Lens' LoadBalancer (Maybe LoadBalancerProtocol) Source #
The protocol you have enabled for your load balancer. Valid values are below.
You can't just have HTTP_HTTPS
, but you can have just HTTP
.
loadBalancer_publicPorts :: Lens' LoadBalancer (Maybe [Int]) Source #
An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.
loadBalancer_resourceType :: Lens' LoadBalancer (Maybe ResourceType) Source #
The resource type (e.g., LoadBalancer
.
loadBalancer_state :: Lens' LoadBalancer (Maybe LoadBalancerState) Source #
The status of your load balancer. Valid values are below.
loadBalancer_supportCode :: Lens' LoadBalancer (Maybe Text) Source #
The support code. Include this code in your email to support when you have questions about your Lightsail load balancer. This code enables our support team to look up your Lightsail information more easily.
loadBalancer_tags :: Lens' LoadBalancer (Maybe [Tag]) Source #
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
loadBalancer_tlsCertificateSummaries :: Lens' LoadBalancer (Maybe [LoadBalancerTlsCertificateSummary]) Source #
An array of LoadBalancerTlsCertificateSummary objects that provide
additional information about the SSL/TLS certificates. For example, if
true
, the certificate is attached to the load balancer.
loadBalancer_tlsPolicyName :: Lens' LoadBalancer (Maybe Text) Source #
The name of the TLS security policy for the load balancer.