| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ELB.Types
Contents
- Service Configuration
- Errors
- AccessLog
- AdditionalAttribute
- AppCookieStickinessPolicy
- BackendServerDescription
- ConnectionDraining
- ConnectionSettings
- CrossZoneLoadBalancing
- HealthCheck
- Instance
- InstanceState
- LBCookieStickinessPolicy
- Listener
- ListenerDescription
- LoadBalancerAttributes
- LoadBalancerDescription
- Policies
- PolicyAttribute
- PolicyAttributeDescription
- PolicyAttributeTypeDescription
- PolicyDescription
- PolicyTypeDescription
- SourceSecurityGroup
- Tag
- TagDescription
- TagKeyOnly
Description
- eLB :: Service
- _PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessPointNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicatePolicyNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidConfigurationRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _SubnetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LoadBalancerAttributeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSubnetException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateTagKeysException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateListenerException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError
- _PolicyTypeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateAccessPointNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSecurityGroupException :: AsError a => Getting (First ServiceError) a ServiceError
- _ListenerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidEndPointException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSchemeException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyAccessPointsException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyPoliciesException :: AsError a => Getting (First ServiceError) a ServiceError
- _CertificateNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data AccessLog
- accessLog :: Bool -> AccessLog
- alEmitInterval :: Lens' AccessLog (Maybe Int)
- alS3BucketPrefix :: Lens' AccessLog (Maybe Text)
- alS3BucketName :: Lens' AccessLog (Maybe Text)
- alEnabled :: Lens' AccessLog Bool
- data AdditionalAttribute
- additionalAttribute :: AdditionalAttribute
- aaValue :: Lens' AdditionalAttribute (Maybe Text)
- aaKey :: Lens' AdditionalAttribute (Maybe Text)
- data AppCookieStickinessPolicy
- appCookieStickinessPolicy :: AppCookieStickinessPolicy
- acspPolicyName :: Lens' AppCookieStickinessPolicy (Maybe Text)
- acspCookieName :: Lens' AppCookieStickinessPolicy (Maybe Text)
- data BackendServerDescription
- backendServerDescription :: BackendServerDescription
- bsdPolicyNames :: Lens' BackendServerDescription [Text]
- bsdInstancePort :: Lens' BackendServerDescription (Maybe Natural)
- data ConnectionDraining
- connectionDraining :: Bool -> ConnectionDraining
- cdTimeout :: Lens' ConnectionDraining (Maybe Int)
- cdEnabled :: Lens' ConnectionDraining Bool
- data ConnectionSettings
- connectionSettings :: Natural -> ConnectionSettings
- csIdleTimeout :: Lens' ConnectionSettings Natural
- data CrossZoneLoadBalancing
- crossZoneLoadBalancing :: Bool -> CrossZoneLoadBalancing
- czlbEnabled :: Lens' CrossZoneLoadBalancing Bool
- data HealthCheck
- healthCheck :: Text -> Natural -> Natural -> Natural -> Natural -> HealthCheck
- hcTarget :: Lens' HealthCheck Text
- hcInterval :: Lens' HealthCheck Natural
- hcTimeout :: Lens' HealthCheck Natural
- hcUnhealthyThreshold :: Lens' HealthCheck Natural
- hcHealthyThreshold :: Lens' HealthCheck Natural
- data Instance
- instance' :: Instance
- iInstanceId :: Lens' Instance (Maybe Text)
- data InstanceState
- instanceState :: InstanceState
- isInstanceId :: Lens' InstanceState (Maybe Text)
- isState :: Lens' InstanceState (Maybe Text)
- isReasonCode :: Lens' InstanceState (Maybe Text)
- isDescription :: Lens' InstanceState (Maybe Text)
- data LBCookieStickinessPolicy
- lBCookieStickinessPolicy :: LBCookieStickinessPolicy
- lbcspPolicyName :: Lens' LBCookieStickinessPolicy (Maybe Text)
- lbcspCookieExpirationPeriod :: Lens' LBCookieStickinessPolicy (Maybe Integer)
- data Listener
- listener :: Text -> Int -> Natural -> Listener
- lInstanceProtocol :: Lens' Listener (Maybe Text)
- lSSLCertificateId :: Lens' Listener (Maybe Text)
- lProtocol :: Lens' Listener Text
- lLoadBalancerPort :: Lens' Listener Int
- lInstancePort :: Lens' Listener Natural
- data ListenerDescription
- listenerDescription :: ListenerDescription
- ldPolicyNames :: Lens' ListenerDescription [Text]
- ldListener :: Lens' ListenerDescription (Maybe Listener)
- data LoadBalancerAttributes
- loadBalancerAttributes :: LoadBalancerAttributes
- lbaCrossZoneLoadBalancing :: Lens' LoadBalancerAttributes (Maybe CrossZoneLoadBalancing)
- lbaAccessLog :: Lens' LoadBalancerAttributes (Maybe AccessLog)
- lbaAdditionalAttributes :: Lens' LoadBalancerAttributes [AdditionalAttribute]
- lbaConnectionSettings :: Lens' LoadBalancerAttributes (Maybe ConnectionSettings)
- lbaConnectionDraining :: Lens' LoadBalancerAttributes (Maybe ConnectionDraining)
- data LoadBalancerDescription
- loadBalancerDescription :: LoadBalancerDescription
- lbdSourceSecurityGroup :: Lens' LoadBalancerDescription (Maybe SourceSecurityGroup)
- lbdCanonicalHostedZoneName :: Lens' LoadBalancerDescription (Maybe Text)
- lbdSecurityGroups :: Lens' LoadBalancerDescription [Text]
- lbdHealthCheck :: Lens' LoadBalancerDescription (Maybe HealthCheck)
- lbdLoadBalancerName :: Lens' LoadBalancerDescription (Maybe Text)
- lbdCreatedTime :: Lens' LoadBalancerDescription (Maybe UTCTime)
- lbdVPCId :: Lens' LoadBalancerDescription (Maybe Text)
- lbdSubnets :: Lens' LoadBalancerDescription [Text]
- lbdAvailabilityZones :: Lens' LoadBalancerDescription [Text]
- lbdBackendServerDescriptions :: Lens' LoadBalancerDescription [BackendServerDescription]
- lbdCanonicalHostedZoneNameId :: Lens' LoadBalancerDescription (Maybe Text)
- lbdInstances :: Lens' LoadBalancerDescription [Instance]
- lbdScheme :: Lens' LoadBalancerDescription (Maybe Text)
- lbdListenerDescriptions :: Lens' LoadBalancerDescription [ListenerDescription]
- lbdDNSName :: Lens' LoadBalancerDescription (Maybe Text)
- lbdPolicies :: Lens' LoadBalancerDescription (Maybe Policies)
- data Policies
- policies :: Policies
- pOtherPolicies :: Lens' Policies [Text]
- pLBCookieStickinessPolicies :: Lens' Policies [LBCookieStickinessPolicy]
- pAppCookieStickinessPolicies :: Lens' Policies [AppCookieStickinessPolicy]
- data PolicyAttribute
- policyAttribute :: PolicyAttribute
- paAttributeValue :: Lens' PolicyAttribute (Maybe Text)
- paAttributeName :: Lens' PolicyAttribute (Maybe Text)
- data PolicyAttributeDescription
- policyAttributeDescription :: PolicyAttributeDescription
- padAttributeValue :: Lens' PolicyAttributeDescription (Maybe Text)
- padAttributeName :: Lens' PolicyAttributeDescription (Maybe Text)
- data PolicyAttributeTypeDescription
- policyAttributeTypeDescription :: PolicyAttributeTypeDescription
- patdAttributeType :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- patdCardinality :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- patdDefaultValue :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- patdAttributeName :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- patdDescription :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- data PolicyDescription
- policyDescription :: PolicyDescription
- pdPolicyName :: Lens' PolicyDescription (Maybe Text)
- pdPolicyAttributeDescriptions :: Lens' PolicyDescription [PolicyAttributeDescription]
- pdPolicyTypeName :: Lens' PolicyDescription (Maybe Text)
- data PolicyTypeDescription
- policyTypeDescription :: PolicyTypeDescription
- ptdPolicyTypeName :: Lens' PolicyTypeDescription (Maybe Text)
- ptdDescription :: Lens' PolicyTypeDescription (Maybe Text)
- ptdPolicyAttributeTypeDescriptions :: Lens' PolicyTypeDescription [PolicyAttributeTypeDescription]
- data SourceSecurityGroup
- sourceSecurityGroup :: SourceSecurityGroup
- ssgOwnerAlias :: Lens' SourceSecurityGroup (Maybe Text)
- ssgGroupName :: Lens' SourceSecurityGroup (Maybe Text)
- data Tag
- tag :: Text -> Tag
- tagValue :: Lens' Tag (Maybe Text)
- tagKey :: Lens' Tag Text
- data TagDescription
- tagDescription :: TagDescription
- tdLoadBalancerName :: Lens' TagDescription (Maybe Text)
- tdTags :: Lens' TagDescription (Maybe (NonEmpty Tag))
- data TagKeyOnly
- tagKeyOnly :: TagKeyOnly
- tkoKey :: Lens' TagKeyOnly (Maybe Text)
Service Configuration
API version '2012-06-01' of the Amazon Elastic Load Balancing SDK configuration.
Errors
_PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
One or more of the specified policies do not exist.
_AccessPointNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified load balancer does not exist.
_DuplicatePolicyNameException :: AsError a => Getting (First ServiceError) a ServiceError Source
A policy with the specified name already exists for this load balancer.
_InvalidConfigurationRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source
The requested configuration change is not valid.
_SubnetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
One or more of the specified subnets do not exist.
_LoadBalancerAttributeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified load balancer attribute does not exist.
_InvalidSubnetException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified VPC has no associated Internet gateway.
_DuplicateTagKeysException :: AsError a => Getting (First ServiceError) a ServiceError Source
A tag key was specified more than once.
_DuplicateListenerException :: AsError a => Getting (First ServiceError) a ServiceError Source
A listener already exists for the specified LoadBalancerName and
LoadBalancerPort, but with a different InstancePort, Protocol, or
SSLCertificateId.
_TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError Source
The quota for the number of tags that can be assigned to a load balancer has been reached.
_PolicyTypeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
One or more of the specified policy types do not exist.
_DuplicateAccessPointNameException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified load balancer name already exists for this account.
_InvalidSecurityGroupException :: AsError a => Getting (First ServiceError) a ServiceError Source
One or more of the specified security groups do not exist.
_ListenerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
The load balancer does not have a listener configured at the specified port.
_InvalidEndPointException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified endpoint is not valid.
_InvalidSchemeException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified value for the schema is not valid. You can only specify a scheme for load balancers in a VPC.
_TooManyAccessPointsException :: AsError a => Getting (First ServiceError) a ServiceError Source
The quota for the number of load balancers has been reached.
_TooManyPoliciesException :: AsError a => Getting (First ServiceError) a ServiceError Source
The quota for the number of policies for this load balancer has been reached.
_CertificateNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified SSL ID does not refer to a valid SSL certificate in AWS Identity and Access Management (IAM).
AccessLog
Creates a value of AccessLog with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
alEmitInterval :: Lens' AccessLog (Maybe Int) Source
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
alS3BucketPrefix :: Lens' AccessLog (Maybe Text) Source
The logical hierarchy you created for your Amazon S3 bucket, for example 'my-bucket-prefix\/prod'. If the prefix is not provided, the log is placed at the root level of the bucket.
alS3BucketName :: Lens' AccessLog (Maybe Text) Source
The name of the Amazon S3 bucket where the access logs are stored.
alEnabled :: Lens' AccessLog Bool Source
Specifies whether access log is enabled for the load balancer.
AdditionalAttribute
data AdditionalAttribute Source
This data type is reserved.
See: additionalAttribute smart constructor.
additionalAttribute :: AdditionalAttribute Source
Creates a value of AdditionalAttribute with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
AppCookieStickinessPolicy
data AppCookieStickinessPolicy Source
Information about a policy for application-controlled session stickiness.
See: appCookieStickinessPolicy smart constructor.
appCookieStickinessPolicy :: AppCookieStickinessPolicy Source
Creates a value of AppCookieStickinessPolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acspPolicyName :: Lens' AppCookieStickinessPolicy (Maybe Text) Source
The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.
acspCookieName :: Lens' AppCookieStickinessPolicy (Maybe Text) Source
The name of the application cookie used for stickiness.
BackendServerDescription
data BackendServerDescription Source
Information about the configuration of a back-end server.
See: backendServerDescription smart constructor.
backendServerDescription :: BackendServerDescription Source
Creates a value of BackendServerDescription with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bsdPolicyNames :: Lens' BackendServerDescription [Text] Source
The names of the policies enabled for the back-end server.
bsdInstancePort :: Lens' BackendServerDescription (Maybe Natural) Source
The port on which the back-end server is listening.
ConnectionDraining
data ConnectionDraining Source
Information about the ConnectionDraining attribute.
See: connectionDraining smart constructor.
Arguments
| :: Bool | |
| -> ConnectionDraining |
Creates a value of ConnectionDraining with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdTimeout :: Lens' ConnectionDraining (Maybe Int) Source
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
cdEnabled :: Lens' ConnectionDraining Bool Source
Specifies whether connection draining is enabled for the load balancer.
ConnectionSettings
data ConnectionSettings Source
Information about the ConnectionSettings attribute.
See: connectionSettings smart constructor.
Arguments
| :: Natural | |
| -> ConnectionSettings |
Creates a value of ConnectionSettings with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csIdleTimeout :: Lens' ConnectionSettings Natural Source
The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
CrossZoneLoadBalancing
data CrossZoneLoadBalancing Source
Information about the CrossZoneLoadBalancing attribute.
See: crossZoneLoadBalancing smart constructor.
Arguments
| :: Bool | |
| -> CrossZoneLoadBalancing |
Creates a value of CrossZoneLoadBalancing with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
czlbEnabled :: Lens' CrossZoneLoadBalancing Bool Source
Specifies whether cross-zone load balancing is enabled for the load balancer.
HealthCheck
data HealthCheck Source
Information about a health check.
See: healthCheck smart constructor.
Creates a value of HealthCheck with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hcTarget :: Lens' HealthCheck Text Source
The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.
TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy.
SSL is also specified as SSL: port pair, for example, SSL:5000.
For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy.
The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.
hcInterval :: Lens' HealthCheck Natural Source
The approximate interval, in seconds, between health checks of an individual instance.
hcTimeout :: Lens' HealthCheck Natural Source
The amount of time, in seconds, during which no response means a failed health check.
This value must be less than the Interval value.
hcUnhealthyThreshold :: Lens' HealthCheck Natural Source
The number of consecutive health check failures required before moving
the instance to the Unhealthy state.
hcHealthyThreshold :: Lens' HealthCheck Natural Source
The number of consecutive health checks successes required before moving
the instance to the Healthy state.
Instance
The ID of a back-end instance.
See: instance' smart constructor.
Creates a value of Instance with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
InstanceState
data InstanceState Source
Information about the state of a back-end instance.
See: instanceState smart constructor.
instanceState :: InstanceState Source
Creates a value of InstanceState with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
isInstanceId :: Lens' InstanceState (Maybe Text) Source
The ID of the instance.
isState :: Lens' InstanceState (Maybe Text) Source
The current state of the instance.
Valid values: InService | OutOfService | Unknown
isReasonCode :: Lens' InstanceState (Maybe Text) Source
Information about the cause of OutOfService instances. Specifically,
whether the cause is Elastic Load Balancing or the instance.
Valid values: ELB | Instance | 'N\/A'
isDescription :: Lens' InstanceState (Maybe Text) Source
A description of the instance state. This string can contain one or more of the following messages.
- 'N\/A'
- 'A transient error occurred. Please try again later.'
- 'Instance has failed at least the UnhealthyThreshold number of health checks consecutively.'
- 'Instance has not passed the configured HealthyThreshold number of health checks consecutively.'
- 'Instance registration is still in progress.'
- 'Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to.'
- 'Instance is not currently registered with the LoadBalancer.'
- 'Instance deregistration currently in progress.'
- 'Disable Availability Zone is currently in progress.'
- 'Instance is in pending state.'
- 'Instance is in stopped state.'
- 'Instance is in terminated state.'
LBCookieStickinessPolicy
data LBCookieStickinessPolicy Source
Information about a policy for duration-based session stickiness.
See: lBCookieStickinessPolicy smart constructor.
lBCookieStickinessPolicy :: LBCookieStickinessPolicy Source
Creates a value of LBCookieStickinessPolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbcspPolicyName :: Lens' LBCookieStickinessPolicy (Maybe Text) Source
The name for the policy being created. The name must be unique within the set of policies for this load balancer.
lbcspCookieExpirationPeriod :: Lens' LBCookieStickinessPolicy (Maybe Integer) Source
The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
Listener
Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
See: listener smart constructor.
Creates a value of Listener with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lInstanceProtocol :: Lens' Listener (Maybe Text) Source
The protocol to use for routing traffic to back-end instances: HTTP, HTTPS, TCP, or SSL.
If the front-end protocol is HTTP, HTTPS, TCP, or SSL,
InstanceProtocol must be at the same protocol.
If there is another listener with the same InstancePort whose
InstanceProtocol is secure, (HTTPS or SSL), the listener's
InstanceProtocol must also be secure.
If there is another listener with the same InstancePort whose
InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol
must be HTTP or TCP.
lSSLCertificateId :: Lens' Listener (Maybe Text) Source
The Amazon Resource Name (ARN) of the server certificate.
lProtocol :: Lens' Listener Text Source
The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.
lLoadBalancerPort :: Lens' Listener Int Source
The port on which the load balancer is listening. The supported ports are: 25, 80, 443, 465, 587, and 1024-65535.
lInstancePort :: Lens' Listener Natural Source
The port on which the instance is listening.
ListenerDescription
data ListenerDescription Source
The policies enabled for a listener.
See: listenerDescription smart constructor.
listenerDescription :: ListenerDescription Source
Creates a value of ListenerDescription with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldPolicyNames :: Lens' ListenerDescription [Text] Source
The policies. If there are no policies enabled, the list is empty.
ldListener :: Lens' ListenerDescription (Maybe Listener) Source
Undocumented member.
LoadBalancerAttributes
data LoadBalancerAttributes Source
The attributes for a load balancer.
See: loadBalancerAttributes smart constructor.
loadBalancerAttributes :: LoadBalancerAttributes Source
Creates a value of LoadBalancerAttributes with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbaCrossZoneLoadBalancing :: Lens' LoadBalancerAttributes (Maybe CrossZoneLoadBalancing) Source
If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones.
For more information, see Enable Cross-Zone Load Balancing in the Elastic Load Balancing Developer Guide.
lbaAccessLog :: Lens' LoadBalancerAttributes (Maybe AccessLog) Source
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
lbaAdditionalAttributes :: Lens' LoadBalancerAttributes [AdditionalAttribute] Source
This parameter is reserved.
lbaConnectionSettings :: Lens' LoadBalancerAttributes (Maybe ConnectionSettings) Source
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Elastic Load Balancing Developer Guide.
lbaConnectionDraining :: Lens' LoadBalancerAttributes (Maybe ConnectionDraining) Source
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.
For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
LoadBalancerDescription
data LoadBalancerDescription Source
Information about a load balancer.
See: loadBalancerDescription smart constructor.
loadBalancerDescription :: LoadBalancerDescription Source
Creates a value of LoadBalancerDescription with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbdSourceSecurityGroup :: Lens' LoadBalancerDescription (Maybe SourceSecurityGroup) Source
The security group that you can use as part of your inbound rules for your load balancer's back-end application instances. To only allow traffic from load balancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.
lbdCanonicalHostedZoneName :: Lens' LoadBalancerDescription (Maybe Text) Source
The Amazon Route 53 hosted zone associated with the load balancer.
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
lbdSecurityGroups :: Lens' LoadBalancerDescription [Text] Source
The security groups for the load balancer. Valid only for load balancers in a VPC.
lbdHealthCheck :: Lens' LoadBalancerDescription (Maybe HealthCheck) Source
Information about the health checks conducted on the load balancer.
lbdLoadBalancerName :: Lens' LoadBalancerDescription (Maybe Text) Source
The name of the load balancer.
lbdCreatedTime :: Lens' LoadBalancerDescription (Maybe UTCTime) Source
The date and time the load balancer was created.
lbdVPCId :: Lens' LoadBalancerDescription (Maybe Text) Source
The ID of the VPC for the load balancer.
lbdSubnets :: Lens' LoadBalancerDescription [Text] Source
The IDs of the subnets for the load balancer.
lbdAvailabilityZones :: Lens' LoadBalancerDescription [Text] Source
The Availability Zones for the load balancer.
lbdBackendServerDescriptions :: Lens' LoadBalancerDescription [BackendServerDescription] Source
Information about the back-end servers.
lbdCanonicalHostedZoneNameId :: Lens' LoadBalancerDescription (Maybe Text) Source
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
lbdInstances :: Lens' LoadBalancerDescription [Instance] Source
The IDs of the instances for the load balancer.
lbdScheme :: Lens' LoadBalancerDescription (Maybe Text) Source
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme is 'internet-facing', the load balancer has a public DNS
name that resolves to a public IP address.
If Scheme is internal, the load balancer has a public DNS name that
resolves to a private IP address.
lbdListenerDescriptions :: Lens' LoadBalancerDescription [ListenerDescription] Source
The listeners for the load balancer.
lbdDNSName :: Lens' LoadBalancerDescription (Maybe Text) Source
The external DNS name of the load balancer.
lbdPolicies :: Lens' LoadBalancerDescription (Maybe Policies) Source
The policies defined for the load balancer.
Policies
The policies for a load balancer.
See: policies smart constructor.
Creates a value of Policies with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pOtherPolicies :: Lens' Policies [Text] Source
The policies other than the stickiness policies.
pLBCookieStickinessPolicies :: Lens' Policies [LBCookieStickinessPolicy] Source
The stickiness policies created using CreateLBCookieStickinessPolicy.
pAppCookieStickinessPolicies :: Lens' Policies [AppCookieStickinessPolicy] Source
The stickiness policies created using CreateAppCookieStickinessPolicy.
PolicyAttribute
data PolicyAttribute Source
Information about a policy attribute.
See: policyAttribute smart constructor.
policyAttribute :: PolicyAttribute Source
Creates a value of PolicyAttribute with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
paAttributeValue :: Lens' PolicyAttribute (Maybe Text) Source
The value of the attribute.
paAttributeName :: Lens' PolicyAttribute (Maybe Text) Source
The name of the attribute.
PolicyAttributeDescription
data PolicyAttributeDescription Source
Information about a policy attribute.
See: policyAttributeDescription smart constructor.
policyAttributeDescription :: PolicyAttributeDescription Source
Creates a value of PolicyAttributeDescription with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
padAttributeValue :: Lens' PolicyAttributeDescription (Maybe Text) Source
The value of the attribute.
padAttributeName :: Lens' PolicyAttributeDescription (Maybe Text) Source
The name of the attribute.
PolicyAttributeTypeDescription
data PolicyAttributeTypeDescription Source
Information about a policy attribute type.
See: policyAttributeTypeDescription smart constructor.
Instances
policyAttributeTypeDescription :: PolicyAttributeTypeDescription Source
Creates a value of PolicyAttributeTypeDescription with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
patdAttributeType :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source
The type of the attribute. For example, Boolean or Integer.
patdCardinality :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source
The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
patdDefaultValue :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source
The default value of the attribute, if applicable.
patdAttributeName :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source
The name of the attribute.
patdDescription :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source
A description of the attribute.
PolicyDescription
data PolicyDescription Source
Information about a policy.
See: policyDescription smart constructor.
policyDescription :: PolicyDescription Source
Creates a value of PolicyDescription with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pdPolicyName :: Lens' PolicyDescription (Maybe Text) Source
The name of the policy.
pdPolicyAttributeDescriptions :: Lens' PolicyDescription [PolicyAttributeDescription] Source
The policy attributes.
pdPolicyTypeName :: Lens' PolicyDescription (Maybe Text) Source
The name of the policy type.
PolicyTypeDescription
data PolicyTypeDescription Source
Information about a policy type.
See: policyTypeDescription smart constructor.
policyTypeDescription :: PolicyTypeDescription Source
Creates a value of PolicyTypeDescription with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ptdPolicyTypeName :: Lens' PolicyTypeDescription (Maybe Text) Source
The name of the policy type.
ptdDescription :: Lens' PolicyTypeDescription (Maybe Text) Source
A description of the policy type.
ptdPolicyAttributeTypeDescriptions :: Lens' PolicyTypeDescription [PolicyAttributeTypeDescription] Source
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
SourceSecurityGroup
data SourceSecurityGroup Source
Information about a source security group.
See: sourceSecurityGroup smart constructor.
sourceSecurityGroup :: SourceSecurityGroup Source
Creates a value of SourceSecurityGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssgOwnerAlias :: Lens' SourceSecurityGroup (Maybe Text) Source
The owner of the security group.
ssgGroupName :: Lens' SourceSecurityGroup (Maybe Text) Source
The name of the security group.
Tag
Information about a tag.
See: tag smart constructor.
TagDescription
data TagDescription Source
The tags associated with a load balancer.
See: tagDescription smart constructor.
tagDescription :: TagDescription Source
Creates a value of TagDescription with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdLoadBalancerName :: Lens' TagDescription (Maybe Text) Source
The name of the load balancer.
TagKeyOnly
tagKeyOnly :: TagKeyOnly Source
Creates a value of TagKeyOnly with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired: