Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- InvalidConfigurationRequestException
- SubnetNotFoundException
- TooManyTargetsException
- RuleNotFoundException
- InvalidSubnetException
- TooManyRulesException
- TooManyTargetGroupsException
- TooManyActionsException
- DuplicateLoadBalancerNameException
- IncompatibleProtocolsException
- TooManyCertificatesException
- DuplicateTagKeysException
- DuplicateListenerException
- TooManyTagsException
- DuplicateTargetGroupNameException
- HealthUnavailableException
- AllocationIdNotFoundException
- PriorityInUseException
- TooManyLoadBalancersException
- UnsupportedProtocolException
- ALPNPolicyNotSupportedException
- InvalidTargetException
- InvalidSecurityGroupException
- TargetGroupNotFoundException
- ListenerNotFoundException
- InvalidLoadBalancerActionException
- TooManyRegistrationsForTargetIdException
- TooManyListenersException
- TargetGroupAssociationLimitException
- OperationNotPermittedException
- SSLPolicyNotFoundException
- InvalidSchemeException
- AvailabilityZoneNotSupportedException
- TooManyUniqueTargetGroupsPerLoadBalancerException
- LoadBalancerNotFoundException
- ResourceInUseException
- CertificateNotFoundException
- Waiters
- Operations
- DescribeLoadBalancers (Paginated)
- DescribeTags
- DeleteRule
- RemoveTags
- DeleteTargetGroup
- SetSubnets
- CreateRule
- DescribeListenerCertificates (Paginated)
- SetSecurityGroups
- SetRulePriorities
- DescribeTargetGroups (Paginated)
- DescribeRules (Paginated)
- DeleteLoadBalancer
- RegisterTargets
- ModifyListener
- ModifyTargetGroup
- ModifyTargetGroupAttributes
- DescribeTargetGroupAttributes
- DeleteListener
- DescribeSSLPolicies (Paginated)
- DescribeAccountLimits (Paginated)
- DeregisterTargets
- CreateListener
- CreateTargetGroup
- ModifyLoadBalancerAttributes
- SetIpAddressType
- AddTags
- DescribeLoadBalancerAttributes
- DescribeListeners (Paginated)
- DescribeTargetHealth
- CreateLoadBalancer
- RemoveListenerCertificates
- ModifyRule
- AddListenerCertificates
- Types
- ActionTypeEnum
- AuthenticateCognitoActionConditionalBehaviorEnum
- AuthenticateOidcActionConditionalBehaviorEnum
- IpAddressType
- LoadBalancerSchemeEnum
- LoadBalancerStateEnum
- LoadBalancerTypeEnum
- ProtocolEnum
- RedirectActionStatusCodeEnum
- TargetGroupIpAddressTypeEnum
- TargetHealthReasonEnum
- TargetHealthStateEnum
- TargetTypeEnum
- Action
- AuthenticateCognitoActionConfig
- AuthenticateOidcActionConfig
- AvailabilityZone
- Certificate
- Cipher
- FixedResponseActionConfig
- ForwardActionConfig
- HostHeaderConditionConfig
- HttpHeaderConditionConfig
- HttpRequestMethodConditionConfig
- Limit
- Listener
- LoadBalancer
- LoadBalancerAddress
- LoadBalancerAttribute
- LoadBalancerState
- Matcher
- PathPatternConditionConfig
- QueryStringConditionConfig
- QueryStringKeyValuePair
- RedirectActionConfig
- Rule
- RuleCondition
- RulePriorityPair
- SourceIpConditionConfig
- SslPolicy
- SubnetMapping
- Tag
- TagDescription
- TargetDescription
- TargetGroup
- TargetGroupAttribute
- TargetGroupStickinessConfig
- TargetGroupTuple
- TargetHealth
- TargetHealthDescription
Derived from API version 2015-12-01
of the AWS service descriptions, licensed under Apache 2.0.
Elastic Load Balancing
A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer. You configure a target group with a protocol and port number for connections from the load balancer to the targets, and with health check settings to be used when checking the health status of the targets.
Elastic Load Balancing supports the following types of load balancers: Application Load Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This reference covers the following load balancer types:
- Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS.
- Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP.
- Gateway Load Balancer - Operates at the network layer (layer 3).
For more information, see the Elastic Load Balancing User Guide.
All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds.
Synopsis
- defaultService :: Service
- _InvalidConfigurationRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _SubnetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTargetsException :: AsError a => Getting (First ServiceError) a ServiceError
- _RuleNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSubnetException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRulesException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTargetGroupsException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyActionsException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateLoadBalancerNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _IncompatibleProtocolsException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyCertificatesException :: 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
- _DuplicateTargetGroupNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _HealthUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _AllocationIdNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _PriorityInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyLoadBalancersException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedProtocolException :: AsError a => Getting (First ServiceError) a ServiceError
- _ALPNPolicyNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTargetException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSecurityGroupException :: AsError a => Getting (First ServiceError) a ServiceError
- _TargetGroupNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ListenerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidLoadBalancerActionException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRegistrationsForTargetIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyListenersException :: AsError a => Getting (First ServiceError) a ServiceError
- _TargetGroupAssociationLimitException :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError
- _SSLPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSchemeException :: AsError a => Getting (First ServiceError) a ServiceError
- _AvailabilityZoneNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyUniqueTargetGroupsPerLoadBalancerException :: AsError a => Getting (First ServiceError) a ServiceError
- _LoadBalancerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- _CertificateNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newLoadBalancersDeleted :: Wait DescribeLoadBalancers
- newTargetDeregistered :: Wait DescribeTargetHealth
- newLoadBalancerAvailable :: Wait DescribeLoadBalancers
- newTargetInService :: Wait DescribeTargetHealth
- newLoadBalancerExists :: Wait DescribeLoadBalancers
- data DescribeLoadBalancers = DescribeLoadBalancers' (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe Natural)
- newDescribeLoadBalancers :: DescribeLoadBalancers
- data DescribeLoadBalancersResponse = DescribeLoadBalancersResponse' (Maybe [LoadBalancer]) (Maybe Text) Int
- newDescribeLoadBalancersResponse :: Int -> DescribeLoadBalancersResponse
- data DescribeTags = DescribeTags' [Text]
- newDescribeTags :: DescribeTags
- data DescribeTagsResponse = DescribeTagsResponse' (Maybe [TagDescription]) Int
- newDescribeTagsResponse :: Int -> DescribeTagsResponse
- data DeleteRule = DeleteRule' Text
- newDeleteRule :: Text -> DeleteRule
- data DeleteRuleResponse = DeleteRuleResponse' Int
- newDeleteRuleResponse :: Int -> DeleteRuleResponse
- data RemoveTags = RemoveTags' [Text] [Text]
- newRemoveTags :: RemoveTags
- data RemoveTagsResponse = RemoveTagsResponse' Int
- newRemoveTagsResponse :: Int -> RemoveTagsResponse
- data DeleteTargetGroup = DeleteTargetGroup' Text
- newDeleteTargetGroup :: Text -> DeleteTargetGroup
- data DeleteTargetGroupResponse = DeleteTargetGroupResponse' Int
- newDeleteTargetGroupResponse :: Int -> DeleteTargetGroupResponse
- data SetSubnets = SetSubnets' (Maybe [SubnetMapping]) (Maybe [Text]) (Maybe IpAddressType) Text
- newSetSubnets :: Text -> SetSubnets
- data SetSubnetsResponse = SetSubnetsResponse' (Maybe [AvailabilityZone]) (Maybe IpAddressType) Int
- newSetSubnetsResponse :: Int -> SetSubnetsResponse
- data CreateRule = CreateRule' (Maybe (NonEmpty Tag)) Text [RuleCondition] Natural [Action]
- newCreateRule :: Text -> Natural -> CreateRule
- data CreateRuleResponse = CreateRuleResponse' (Maybe [Rule]) Int
- newCreateRuleResponse :: Int -> CreateRuleResponse
- data DescribeListenerCertificates = DescribeListenerCertificates' (Maybe Text) (Maybe Natural) Text
- newDescribeListenerCertificates :: Text -> DescribeListenerCertificates
- data DescribeListenerCertificatesResponse = DescribeListenerCertificatesResponse' (Maybe [Certificate]) (Maybe Text) Int
- newDescribeListenerCertificatesResponse :: Int -> DescribeListenerCertificatesResponse
- data SetSecurityGroups = SetSecurityGroups' Text [Text]
- newSetSecurityGroups :: Text -> SetSecurityGroups
- data SetSecurityGroupsResponse = SetSecurityGroupsResponse' (Maybe [Text]) Int
- newSetSecurityGroupsResponse :: Int -> SetSecurityGroupsResponse
- data SetRulePriorities = SetRulePriorities' [RulePriorityPair]
- newSetRulePriorities :: SetRulePriorities
- data SetRulePrioritiesResponse = SetRulePrioritiesResponse' (Maybe [Rule]) Int
- newSetRulePrioritiesResponse :: Int -> SetRulePrioritiesResponse
- data DescribeTargetGroups = DescribeTargetGroups' (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Natural)
- newDescribeTargetGroups :: DescribeTargetGroups
- data DescribeTargetGroupsResponse = DescribeTargetGroupsResponse' (Maybe Text) (Maybe [TargetGroup]) Int
- newDescribeTargetGroupsResponse :: Int -> DescribeTargetGroupsResponse
- data DescribeRules = DescribeRules' (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Natural)
- newDescribeRules :: DescribeRules
- data DescribeRulesResponse = DescribeRulesResponse' (Maybe [Rule]) (Maybe Text) Int
- newDescribeRulesResponse :: Int -> DescribeRulesResponse
- data DeleteLoadBalancer = DeleteLoadBalancer' Text
- newDeleteLoadBalancer :: Text -> DeleteLoadBalancer
- data DeleteLoadBalancerResponse = DeleteLoadBalancerResponse' Int
- newDeleteLoadBalancerResponse :: Int -> DeleteLoadBalancerResponse
- data RegisterTargets = RegisterTargets' Text [TargetDescription]
- newRegisterTargets :: Text -> RegisterTargets
- data RegisterTargetsResponse = RegisterTargetsResponse' Int
- newRegisterTargetsResponse :: Int -> RegisterTargetsResponse
- data ModifyListener = ModifyListener' (Maybe Text) (Maybe ProtocolEnum) (Maybe [Action]) (Maybe [Certificate]) (Maybe [Text]) (Maybe Natural) Text
- newModifyListener :: Text -> ModifyListener
- data ModifyListenerResponse = ModifyListenerResponse' (Maybe [Listener]) Int
- newModifyListenerResponse :: Int -> ModifyListenerResponse
- data ModifyTargetGroup = ModifyTargetGroup' (Maybe Matcher) (Maybe Text) (Maybe Bool) (Maybe Natural) (Maybe Natural) (Maybe Natural) (Maybe ProtocolEnum) (Maybe Natural) (Maybe Text) Text
- newModifyTargetGroup :: Text -> ModifyTargetGroup
- data ModifyTargetGroupResponse = ModifyTargetGroupResponse' (Maybe [TargetGroup]) Int
- newModifyTargetGroupResponse :: Int -> ModifyTargetGroupResponse
- data ModifyTargetGroupAttributes = ModifyTargetGroupAttributes' Text [TargetGroupAttribute]
- newModifyTargetGroupAttributes :: Text -> ModifyTargetGroupAttributes
- data ModifyTargetGroupAttributesResponse = ModifyTargetGroupAttributesResponse' (Maybe [TargetGroupAttribute]) Int
- newModifyTargetGroupAttributesResponse :: Int -> ModifyTargetGroupAttributesResponse
- data DescribeTargetGroupAttributes = DescribeTargetGroupAttributes' Text
- newDescribeTargetGroupAttributes :: Text -> DescribeTargetGroupAttributes
- data DescribeTargetGroupAttributesResponse = DescribeTargetGroupAttributesResponse' (Maybe [TargetGroupAttribute]) Int
- newDescribeTargetGroupAttributesResponse :: Int -> DescribeTargetGroupAttributesResponse
- data DeleteListener = DeleteListener' Text
- newDeleteListener :: Text -> DeleteListener
- data DeleteListenerResponse = DeleteListenerResponse' Int
- newDeleteListenerResponse :: Int -> DeleteListenerResponse
- data DescribeSSLPolicies = DescribeSSLPolicies' (Maybe LoadBalancerTypeEnum) (Maybe [Text]) (Maybe Text) (Maybe Natural)
- newDescribeSSLPolicies :: DescribeSSLPolicies
- data DescribeSSLPoliciesResponse = DescribeSSLPoliciesResponse' (Maybe [SslPolicy]) (Maybe Text) Int
- newDescribeSSLPoliciesResponse :: Int -> DescribeSSLPoliciesResponse
- data DescribeAccountLimits = DescribeAccountLimits' (Maybe Text) (Maybe Natural)
- newDescribeAccountLimits :: DescribeAccountLimits
- data DescribeAccountLimitsResponse = DescribeAccountLimitsResponse' (Maybe [Limit]) (Maybe Text) Int
- newDescribeAccountLimitsResponse :: Int -> DescribeAccountLimitsResponse
- data DeregisterTargets = DeregisterTargets' Text [TargetDescription]
- newDeregisterTargets :: Text -> DeregisterTargets
- data DeregisterTargetsResponse = DeregisterTargetsResponse' Int
- newDeregisterTargetsResponse :: Int -> DeregisterTargetsResponse
- data CreateListener = CreateListener' (Maybe Text) (Maybe ProtocolEnum) (Maybe [Certificate]) (Maybe [Text]) (Maybe (NonEmpty Tag)) (Maybe Natural) Text [Action]
- newCreateListener :: Text -> CreateListener
- data CreateListenerResponse = CreateListenerResponse' (Maybe [Listener]) Int
- newCreateListenerResponse :: Int -> CreateListenerResponse
- data CreateTargetGroup = CreateTargetGroup' (Maybe Text) (Maybe Matcher) (Maybe Text) (Maybe Bool) (Maybe Natural) (Maybe Text) (Maybe ProtocolEnum) (Maybe Natural) (Maybe TargetTypeEnum) (Maybe Natural) (Maybe ProtocolEnum) (Maybe TargetGroupIpAddressTypeEnum) (Maybe Natural) (Maybe Text) (Maybe (NonEmpty Tag)) (Maybe Natural) Text
- newCreateTargetGroup :: Text -> CreateTargetGroup
- data CreateTargetGroupResponse = CreateTargetGroupResponse' (Maybe [TargetGroup]) Int
- newCreateTargetGroupResponse :: Int -> CreateTargetGroupResponse
- data ModifyLoadBalancerAttributes = ModifyLoadBalancerAttributes' Text [LoadBalancerAttribute]
- newModifyLoadBalancerAttributes :: Text -> ModifyLoadBalancerAttributes
- data ModifyLoadBalancerAttributesResponse = ModifyLoadBalancerAttributesResponse' (Maybe [LoadBalancerAttribute]) Int
- newModifyLoadBalancerAttributesResponse :: Int -> ModifyLoadBalancerAttributesResponse
- data SetIpAddressType = SetIpAddressType' Text IpAddressType
- newSetIpAddressType :: Text -> IpAddressType -> SetIpAddressType
- data SetIpAddressTypeResponse = SetIpAddressTypeResponse' (Maybe IpAddressType) Int
- newSetIpAddressTypeResponse :: Int -> SetIpAddressTypeResponse
- data AddTags = AddTags' [Text] (NonEmpty Tag)
- newAddTags :: NonEmpty Tag -> AddTags
- data AddTagsResponse = AddTagsResponse' Int
- newAddTagsResponse :: Int -> AddTagsResponse
- data DescribeLoadBalancerAttributes = DescribeLoadBalancerAttributes' Text
- newDescribeLoadBalancerAttributes :: Text -> DescribeLoadBalancerAttributes
- data DescribeLoadBalancerAttributesResponse = DescribeLoadBalancerAttributesResponse' (Maybe [LoadBalancerAttribute]) Int
- newDescribeLoadBalancerAttributesResponse :: Int -> DescribeLoadBalancerAttributesResponse
- data DescribeListeners = DescribeListeners' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Natural)
- newDescribeListeners :: DescribeListeners
- data DescribeListenersResponse = DescribeListenersResponse' (Maybe Text) (Maybe [Listener]) Int
- newDescribeListenersResponse :: Int -> DescribeListenersResponse
- data DescribeTargetHealth = DescribeTargetHealth' (Maybe [TargetDescription]) Text
- newDescribeTargetHealth :: Text -> DescribeTargetHealth
- data DescribeTargetHealthResponse = DescribeTargetHealthResponse' (Maybe [TargetHealthDescription]) Int
- newDescribeTargetHealthResponse :: Int -> DescribeTargetHealthResponse
- data CreateLoadBalancer = CreateLoadBalancer' (Maybe [SubnetMapping]) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe IpAddressType) (Maybe LoadBalancerSchemeEnum) (Maybe LoadBalancerTypeEnum) (Maybe (NonEmpty Tag)) Text
- newCreateLoadBalancer :: Text -> CreateLoadBalancer
- data CreateLoadBalancerResponse = CreateLoadBalancerResponse' (Maybe [LoadBalancer]) Int
- newCreateLoadBalancerResponse :: Int -> CreateLoadBalancerResponse
- data RemoveListenerCertificates = RemoveListenerCertificates' Text [Certificate]
- newRemoveListenerCertificates :: Text -> RemoveListenerCertificates
- data RemoveListenerCertificatesResponse = RemoveListenerCertificatesResponse' Int
- newRemoveListenerCertificatesResponse :: Int -> RemoveListenerCertificatesResponse
- data ModifyRule = ModifyRule' (Maybe [Action]) (Maybe [RuleCondition]) Text
- newModifyRule :: Text -> ModifyRule
- data ModifyRuleResponse = ModifyRuleResponse' (Maybe [Rule]) Int
- newModifyRuleResponse :: Int -> ModifyRuleResponse
- data AddListenerCertificates = AddListenerCertificates' Text [Certificate]
- newAddListenerCertificates :: Text -> AddListenerCertificates
- data AddListenerCertificatesResponse = AddListenerCertificatesResponse' (Maybe [Certificate]) Int
- newAddListenerCertificatesResponse :: Int -> AddListenerCertificatesResponse
- newtype ActionTypeEnum where
- ActionTypeEnum' { }
- pattern ActionTypeEnum_Authenticate_cognito :: ActionTypeEnum
- pattern ActionTypeEnum_Authenticate_oidc :: ActionTypeEnum
- pattern ActionTypeEnum_Fixed_response :: ActionTypeEnum
- pattern ActionTypeEnum_Forward :: ActionTypeEnum
- pattern ActionTypeEnum_Redirect :: ActionTypeEnum
- newtype AuthenticateCognitoActionConditionalBehaviorEnum where
- AuthenticateCognitoActionConditionalBehaviorEnum' { }
- pattern AuthenticateCognitoActionConditionalBehaviorEnum_Allow :: AuthenticateCognitoActionConditionalBehaviorEnum
- pattern AuthenticateCognitoActionConditionalBehaviorEnum_Authenticate :: AuthenticateCognitoActionConditionalBehaviorEnum
- pattern AuthenticateCognitoActionConditionalBehaviorEnum_Deny :: AuthenticateCognitoActionConditionalBehaviorEnum
- newtype AuthenticateOidcActionConditionalBehaviorEnum where
- AuthenticateOidcActionConditionalBehaviorEnum' { }
- pattern AuthenticateOidcActionConditionalBehaviorEnum_Allow :: AuthenticateOidcActionConditionalBehaviorEnum
- pattern AuthenticateOidcActionConditionalBehaviorEnum_Authenticate :: AuthenticateOidcActionConditionalBehaviorEnum
- pattern AuthenticateOidcActionConditionalBehaviorEnum_Deny :: AuthenticateOidcActionConditionalBehaviorEnum
- newtype IpAddressType where
- IpAddressType' { }
- pattern IpAddressType_Dualstack :: IpAddressType
- pattern IpAddressType_Ipv4 :: IpAddressType
- newtype LoadBalancerSchemeEnum where
- newtype LoadBalancerStateEnum where
- newtype LoadBalancerTypeEnum where
- newtype ProtocolEnum where
- ProtocolEnum' { }
- pattern ProtocolEnum_GENEVE :: ProtocolEnum
- pattern ProtocolEnum_HTTP :: ProtocolEnum
- pattern ProtocolEnum_HTTPS :: ProtocolEnum
- pattern ProtocolEnum_TCP :: ProtocolEnum
- pattern ProtocolEnum_TCP_UDP :: ProtocolEnum
- pattern ProtocolEnum_TLS :: ProtocolEnum
- pattern ProtocolEnum_UDP :: ProtocolEnum
- newtype RedirectActionStatusCodeEnum where
- newtype TargetGroupIpAddressTypeEnum where
- newtype TargetHealthReasonEnum where
- TargetHealthReasonEnum' { }
- pattern TargetHealthReasonEnum_Elb_InitialHealthChecking :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Elb_InternalError :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Elb_RegistrationInProgress :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Target_DeregistrationInProgress :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Target_FailedHealthChecks :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Target_HealthCheckDisabled :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Target_InvalidState :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Target_IpUnusable :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Target_NotInUse :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Target_NotRegistered :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Target_ResponseCodeMismatch :: TargetHealthReasonEnum
- pattern TargetHealthReasonEnum_Target_Timeout :: TargetHealthReasonEnum
- newtype TargetHealthStateEnum where
- TargetHealthStateEnum' { }
- pattern TargetHealthStateEnum_Draining :: TargetHealthStateEnum
- pattern TargetHealthStateEnum_Healthy :: TargetHealthStateEnum
- pattern TargetHealthStateEnum_Initial :: TargetHealthStateEnum
- pattern TargetHealthStateEnum_Unavailable :: TargetHealthStateEnum
- pattern TargetHealthStateEnum_Unhealthy :: TargetHealthStateEnum
- pattern TargetHealthStateEnum_Unused :: TargetHealthStateEnum
- newtype TargetTypeEnum where
- TargetTypeEnum' { }
- pattern TargetTypeEnum_Alb :: TargetTypeEnum
- pattern TargetTypeEnum_Instance :: TargetTypeEnum
- pattern TargetTypeEnum_Ip :: TargetTypeEnum
- pattern TargetTypeEnum_Lambda :: TargetTypeEnum
- data Action = Action' (Maybe FixedResponseActionConfig) (Maybe Text) (Maybe ForwardActionConfig) (Maybe RedirectActionConfig) (Maybe AuthenticateCognitoActionConfig) (Maybe Natural) (Maybe AuthenticateOidcActionConfig) ActionTypeEnum
- newAction :: ActionTypeEnum -> Action
- data AuthenticateCognitoActionConfig = AuthenticateCognitoActionConfig' (Maybe (HashMap Text Text)) (Maybe Text) (Maybe AuthenticateCognitoActionConditionalBehaviorEnum) (Maybe Text) (Maybe Integer) Text Text Text
- newAuthenticateCognitoActionConfig :: Text -> Text -> Text -> AuthenticateCognitoActionConfig
- data AuthenticateOidcActionConfig = AuthenticateOidcActionConfig' (Maybe Text) (Maybe Bool) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe AuthenticateOidcActionConditionalBehaviorEnum) (Maybe Text) (Maybe Integer) Text Text Text Text Text
- newAuthenticateOidcActionConfig :: Text -> Text -> Text -> Text -> Text -> AuthenticateOidcActionConfig
- data AvailabilityZone = AvailabilityZone' (Maybe Text) (Maybe Text) (Maybe [LoadBalancerAddress]) (Maybe Text)
- newAvailabilityZone :: AvailabilityZone
- data Certificate = Certificate' (Maybe Text) (Maybe Bool)
- newCertificate :: Certificate
- data Cipher = Cipher' (Maybe Int) (Maybe Text)
- newCipher :: Cipher
- data FixedResponseActionConfig = FixedResponseActionConfig' (Maybe Text) (Maybe Text) Text
- newFixedResponseActionConfig :: Text -> FixedResponseActionConfig
- data ForwardActionConfig = ForwardActionConfig' (Maybe [TargetGroupTuple]) (Maybe TargetGroupStickinessConfig)
- newForwardActionConfig :: ForwardActionConfig
- data HostHeaderConditionConfig = HostHeaderConditionConfig' (Maybe [Text])
- newHostHeaderConditionConfig :: HostHeaderConditionConfig
- data HttpHeaderConditionConfig = HttpHeaderConditionConfig' (Maybe [Text]) (Maybe Text)
- newHttpHeaderConditionConfig :: HttpHeaderConditionConfig
- data HttpRequestMethodConditionConfig = HttpRequestMethodConditionConfig' (Maybe [Text])
- newHttpRequestMethodConditionConfig :: HttpRequestMethodConditionConfig
- data Limit = Limit' (Maybe Text) (Maybe Text)
- newLimit :: Limit
- data Listener = Listener' (Maybe Text) (Maybe Text) (Maybe ProtocolEnum) (Maybe [Action]) (Maybe [Certificate]) (Maybe Text) (Maybe [Text]) (Maybe Natural)
- newListener :: Listener
- data LoadBalancer = LoadBalancer' (Maybe LoadBalancerState) (Maybe [Text]) (Maybe Text) (Maybe ISO8601) (Maybe Text) (Maybe Text) (Maybe [AvailabilityZone]) (Maybe Text) (Maybe Text) (Maybe IpAddressType) (Maybe LoadBalancerSchemeEnum) (Maybe LoadBalancerTypeEnum) (Maybe Text)
- newLoadBalancer :: LoadBalancer
- data LoadBalancerAddress = LoadBalancerAddress' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newLoadBalancerAddress :: LoadBalancerAddress
- data LoadBalancerAttribute = LoadBalancerAttribute' (Maybe Text) (Maybe Text)
- newLoadBalancerAttribute :: LoadBalancerAttribute
- data LoadBalancerState = LoadBalancerState' (Maybe Text) (Maybe LoadBalancerStateEnum)
- newLoadBalancerState :: LoadBalancerState
- data Matcher = Matcher' (Maybe Text) (Maybe Text)
- newMatcher :: Matcher
- data PathPatternConditionConfig = PathPatternConditionConfig' (Maybe [Text])
- newPathPatternConditionConfig :: PathPatternConditionConfig
- data QueryStringConditionConfig = QueryStringConditionConfig' (Maybe [QueryStringKeyValuePair])
- newQueryStringConditionConfig :: QueryStringConditionConfig
- data QueryStringKeyValuePair = QueryStringKeyValuePair' (Maybe Text) (Maybe Text)
- newQueryStringKeyValuePair :: QueryStringKeyValuePair
- data RedirectActionConfig = RedirectActionConfig' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) RedirectActionStatusCodeEnum
- newRedirectActionConfig :: RedirectActionStatusCodeEnum -> RedirectActionConfig
- data Rule = Rule' (Maybe Text) (Maybe [Action]) (Maybe [RuleCondition]) (Maybe Text) (Maybe Bool)
- newRule :: Rule
- data RuleCondition = RuleCondition' (Maybe Text) (Maybe HttpHeaderConditionConfig) (Maybe HostHeaderConditionConfig) (Maybe [Text]) (Maybe SourceIpConditionConfig) (Maybe HttpRequestMethodConditionConfig) (Maybe PathPatternConditionConfig) (Maybe QueryStringConditionConfig)
- newRuleCondition :: RuleCondition
- data RulePriorityPair = RulePriorityPair' (Maybe Natural) (Maybe Text)
- newRulePriorityPair :: RulePriorityPair
- data SourceIpConditionConfig = SourceIpConditionConfig' (Maybe [Text])
- newSourceIpConditionConfig :: SourceIpConditionConfig
- data SslPolicy = SslPolicy' (Maybe [Text]) (Maybe [Cipher]) (Maybe Text) (Maybe [Text])
- newSslPolicy :: SslPolicy
- data SubnetMapping = SubnetMapping' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newSubnetMapping :: SubnetMapping
- data Tag = Tag' (Maybe Text) Text
- newTag :: Text -> Tag
- data TagDescription = TagDescription' (Maybe Text) (Maybe (NonEmpty Tag))
- newTagDescription :: TagDescription
- data TargetDescription = TargetDescription' (Maybe Text) (Maybe Natural) Text
- newTargetDescription :: Text -> TargetDescription
- data TargetGroup = TargetGroup' (Maybe Text) (Maybe Matcher) (Maybe Text) (Maybe Bool) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe ProtocolEnum) (Maybe Natural) (Maybe TargetTypeEnum) (Maybe Natural) (Maybe ProtocolEnum) (Maybe [Text]) (Maybe TargetGroupIpAddressTypeEnum) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Natural)
- newTargetGroup :: TargetGroup
- data TargetGroupAttribute = TargetGroupAttribute' (Maybe Text) (Maybe Text)
- newTargetGroupAttribute :: TargetGroupAttribute
- data TargetGroupStickinessConfig = TargetGroupStickinessConfig' (Maybe Bool) (Maybe Int)
- newTargetGroupStickinessConfig :: TargetGroupStickinessConfig
- data TargetGroupTuple = TargetGroupTuple' (Maybe Int) (Maybe Text)
- newTargetGroupTuple :: TargetGroupTuple
- data TargetHealth = TargetHealth' (Maybe TargetHealthStateEnum) (Maybe TargetHealthReasonEnum) (Maybe Text)
- newTargetHealth :: TargetHealth
- data TargetHealthDescription = TargetHealthDescription' (Maybe TargetHealth) (Maybe Text) (Maybe TargetDescription)
- newTargetHealthDescription :: TargetHealthDescription
Service Configuration
defaultService :: Service Source #
API version 2015-12-01
of the Amazon Elastic Load Balancing SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by ELBV2
.
InvalidConfigurationRequestException
_InvalidConfigurationRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested configuration is not valid.
SubnetNotFoundException
_SubnetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified subnet does not exist.
TooManyTargetsException
_TooManyTargetsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of targets.
RuleNotFoundException
_RuleNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified rule does not exist.
InvalidSubnetException
_InvalidSubnetException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified subnet is out of available addresses.
TooManyRulesException
_TooManyRulesException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of rules per load balancer.
TooManyTargetGroupsException
_TooManyTargetGroupsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of target groups for your Amazon Web Services account.
TooManyActionsException
_TooManyActionsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of actions per rule.
DuplicateLoadBalancerNameException
_DuplicateLoadBalancerNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A load balancer with the specified name already exists.
IncompatibleProtocolsException
_IncompatibleProtocolsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration is not valid with this protocol.
TooManyCertificatesException
_TooManyCertificatesException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of certificates per load balancer.
DuplicateTagKeysException
_DuplicateTagKeysException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A tag key was specified more than once.
DuplicateListenerException
_DuplicateListenerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A listener with the specified port already exists.
TooManyTagsException
_TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of tags per load balancer.
DuplicateTargetGroupNameException
_DuplicateTargetGroupNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A target group with the specified name already exists.
HealthUnavailableException
_HealthUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The health of the specified targets could not be retrieved due to an internal error.
AllocationIdNotFoundException
_AllocationIdNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified allocation ID does not exist.
PriorityInUseException
_PriorityInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified priority is in use.
TooManyLoadBalancersException
_TooManyLoadBalancersException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of load balancers for your Amazon Web Services account.
UnsupportedProtocolException
_UnsupportedProtocolException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified protocol is not supported.
ALPNPolicyNotSupportedException
_ALPNPolicyNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified ALPN policy is not supported.
InvalidTargetException
_InvalidTargetException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified target does not exist, is not in the same VPC as the target group, or has an unsupported instance type.
InvalidSecurityGroupException
_InvalidSecurityGroupException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified security group does not exist.
TargetGroupNotFoundException
_TargetGroupNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified target group does not exist.
ListenerNotFoundException
_ListenerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified listener does not exist.
InvalidLoadBalancerActionException
_InvalidLoadBalancerActionException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested action is not valid.
TooManyRegistrationsForTargetIdException
_TooManyRegistrationsForTargetIdException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of times a target can be registered with a load balancer.
TooManyListenersException
_TooManyListenersException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of listeners per load balancer.
TargetGroupAssociationLimitException
_TargetGroupAssociationLimitException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of load balancers per target group.
OperationNotPermittedException
_OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This operation is not allowed.
SSLPolicyNotFoundException
_SSLPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified SSL policy does not exist.
InvalidSchemeException
_InvalidSchemeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested scheme is not valid.
AvailabilityZoneNotSupportedException
_AvailabilityZoneNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified Availability Zone is not supported.
TooManyUniqueTargetGroupsPerLoadBalancerException
_TooManyUniqueTargetGroupsPerLoadBalancerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
LoadBalancerNotFoundException
_LoadBalancerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified load balancer does not exist.
ResourceInUseException
_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A specified resource is in use.
CertificateNotFoundException
_CertificateNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified certificate does not exist.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
LoadBalancersDeleted
newLoadBalancersDeleted :: Wait DescribeLoadBalancers Source #
Polls DescribeLoadBalancers
every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
TargetDeregistered
newTargetDeregistered :: Wait DescribeTargetHealth Source #
Polls DescribeTargetHealth
every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
LoadBalancerAvailable
newLoadBalancerAvailable :: Wait DescribeLoadBalancers Source #
Polls DescribeLoadBalancers
every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
TargetInService
newTargetInService :: Wait DescribeTargetHealth Source #
Polls DescribeTargetHealth
every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
LoadBalancerExists
newLoadBalancerExists :: Wait DescribeLoadBalancers Source #
Polls DescribeLoadBalancers
every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
DescribeLoadBalancers (Paginated)
data DescribeLoadBalancers Source #
See: newDescribeLoadBalancers
smart constructor.
Instances
newDescribeLoadBalancers :: DescribeLoadBalancers Source #
Create a value of DescribeLoadBalancers
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:names:DescribeLoadBalancers'
, describeLoadBalancers_names
- The names of the load balancers.
$sel:loadBalancerArns:DescribeLoadBalancers'
, describeLoadBalancers_loadBalancerArns
- The Amazon Resource Names (ARN) of the load balancers. You can specify
up to 20 load balancers in a single call.
$sel:marker:DescribeLoadBalancers'
, describeLoadBalancers_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:pageSize:DescribeLoadBalancers'
, describeLoadBalancers_pageSize
- The maximum number of results to return with this call.
data DescribeLoadBalancersResponse Source #
See: newDescribeLoadBalancersResponse
smart constructor.
Instances
newDescribeLoadBalancersResponse Source #
Create a value of DescribeLoadBalancersResponse
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:loadBalancers:DescribeLoadBalancersResponse'
, describeLoadBalancersResponse_loadBalancers
- Information about the load balancers.
$sel:nextMarker:DescribeLoadBalancersResponse'
, describeLoadBalancersResponse_nextMarker
- If there are additional results, this is the marker for the next set of
results. Otherwise, this is null.
$sel:httpStatus:DescribeLoadBalancersResponse'
, describeLoadBalancersResponse_httpStatus
- The response's http status code.
DescribeTags
data DescribeTags Source #
See: newDescribeTags
smart constructor.
Instances
newDescribeTags :: DescribeTags Source #
Create a value of DescribeTags
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:resourceArns:DescribeTags'
, describeTags_resourceArns
- The Amazon Resource Names (ARN) of the resources. You can specify up to
20 resources in a single call.
data DescribeTagsResponse Source #
See: newDescribeTagsResponse
smart constructor.
Instances
newDescribeTagsResponse Source #
Create a value of DescribeTagsResponse
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:tagDescriptions:DescribeTagsResponse'
, describeTagsResponse_tagDescriptions
- Information about the tags.
$sel:httpStatus:DescribeTagsResponse'
, describeTagsResponse_httpStatus
- The response's http status code.
DeleteRule
data DeleteRule Source #
See: newDeleteRule
smart constructor.
Instances
Create a value of DeleteRule
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:ruleArn:DeleteRule'
, deleteRule_ruleArn
- The Amazon Resource Name (ARN) of the rule.
data DeleteRuleResponse Source #
See: newDeleteRuleResponse
smart constructor.
Instances
newDeleteRuleResponse Source #
Create a value of DeleteRuleResponse
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:httpStatus:DeleteRuleResponse'
, deleteRuleResponse_httpStatus
- The response's http status code.
RemoveTags
data RemoveTags Source #
See: newRemoveTags
smart constructor.
RemoveTags' [Text] [Text] |
Instances
newRemoveTags :: RemoveTags Source #
Create a value of RemoveTags
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:resourceArns:RemoveTags'
, removeTags_resourceArns
- The Amazon Resource Name (ARN) of the resource.
$sel:tagKeys:RemoveTags'
, removeTags_tagKeys
- The tag keys for the tags to remove.
data RemoveTagsResponse Source #
See: newRemoveTagsResponse
smart constructor.
Instances
newRemoveTagsResponse Source #
Create a value of RemoveTagsResponse
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:httpStatus:RemoveTagsResponse'
, removeTagsResponse_httpStatus
- The response's http status code.
DeleteTargetGroup
data DeleteTargetGroup Source #
See: newDeleteTargetGroup
smart constructor.
Instances
Create a value of DeleteTargetGroup
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:targetGroupArn:DeleteTargetGroup'
, deleteTargetGroup_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
data DeleteTargetGroupResponse Source #
See: newDeleteTargetGroupResponse
smart constructor.
Instances
newDeleteTargetGroupResponse Source #
Create a value of DeleteTargetGroupResponse
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:httpStatus:DeleteTargetGroupResponse'
, deleteTargetGroupResponse_httpStatus
- The response's http status code.
SetSubnets
data SetSubnets Source #
See: newSetSubnets
smart constructor.
SetSubnets' (Maybe [SubnetMapping]) (Maybe [Text]) (Maybe IpAddressType) Text |
Instances
Create a value of SetSubnets
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:subnetMappings:SetSubnets'
, setSubnets_subnetMappings
- The IDs of the public subnets. You can specify only one subnet per
Availability Zone. You must specify either subnets or subnet mappings.
- Application Load Balancers
- You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
- Application Load Balancers on Outposts
- You must specify one Outpost subnet.
- Application Load Balancers on Local Zones
- You can specify subnets from one or more Local Zones.
- Network Load Balancers
- You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
$sel:subnets:SetSubnets'
, setSubnets_subnets
- The IDs of the public subnets. You can specify only one subnet per
Availability Zone. You must specify either subnets or subnet mappings.
- Application Load Balancers
- You must specify subnets from at least two Availability Zones.
- Application Load Balancers on Outposts
- You must specify one Outpost subnet.
- Application Load Balancers on Local Zones
- You can specify subnets from one or more Local Zones.
- Network Load Balancers
- You can specify subnets from one or more Availability Zones.
$sel:ipAddressType:SetSubnets'
, setSubnets_ipAddressType
- [Network Load Balancers] The type of IP addresses used by the subnets
for your load balancer. The possible values are ipv4
(for IPv4
addresses) and dualstack
(for IPv4 and IPv6 addresses). You can’t
specify dualstack
for a load balancer with a UDP or TCP_UDP listener.
Internal load balancers must use ipv4
.
$sel:loadBalancerArn:SetSubnets'
, setSubnets_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
data SetSubnetsResponse Source #
See: newSetSubnetsResponse
smart constructor.
Instances
newSetSubnetsResponse Source #
Create a value of SetSubnetsResponse
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:availabilityZones:SetSubnetsResponse'
, setSubnetsResponse_availabilityZones
- Information about the subnets.
$sel:ipAddressType:SetSubnets'
, setSubnetsResponse_ipAddressType
- [Network Load Balancers] The IP address type.
$sel:httpStatus:SetSubnetsResponse'
, setSubnetsResponse_httpStatus
- The response's http status code.
CreateRule
data CreateRule Source #
See: newCreateRule
smart constructor.
CreateRule' (Maybe (NonEmpty Tag)) Text [RuleCondition] Natural [Action] |
Instances
Create a value of CreateRule
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:tags:CreateRule'
, createRule_tags
- The tags to assign to the rule.
$sel:listenerArn:CreateRule'
, createRule_listenerArn
- The Amazon Resource Name (ARN) of the listener.
$sel:conditions:CreateRule'
, createRule_conditions
- The conditions.
$sel:priority:CreateRule'
, createRule_priority
- The rule priority. A listener can't have multiple rules with the same
priority.
$sel:actions:CreateRule'
, createRule_actions
- The actions.
data CreateRuleResponse Source #
See: newCreateRuleResponse
smart constructor.
Instances
newCreateRuleResponse Source #
Create a value of CreateRuleResponse
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:rules:CreateRuleResponse'
, createRuleResponse_rules
- Information about the rule.
$sel:httpStatus:CreateRuleResponse'
, createRuleResponse_httpStatus
- The response's http status code.
DescribeListenerCertificates (Paginated)
data DescribeListenerCertificates Source #
See: newDescribeListenerCertificates
smart constructor.
Instances
newDescribeListenerCertificates Source #
Create a value of DescribeListenerCertificates
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:marker:DescribeListenerCertificates'
, describeListenerCertificates_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:pageSize:DescribeListenerCertificates'
, describeListenerCertificates_pageSize
- The maximum number of results to return with this call.
$sel:listenerArn:DescribeListenerCertificates'
, describeListenerCertificates_listenerArn
- The Amazon Resource Names (ARN) of the listener.
data DescribeListenerCertificatesResponse Source #
See: newDescribeListenerCertificatesResponse
smart constructor.
Instances
newDescribeListenerCertificatesResponse Source #
Create a value of DescribeListenerCertificatesResponse
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:certificates:DescribeListenerCertificatesResponse'
, describeListenerCertificatesResponse_certificates
- Information about the certificates.
$sel:nextMarker:DescribeListenerCertificatesResponse'
, describeListenerCertificatesResponse_nextMarker
- If there are additional results, this is the marker for the next set of
results. Otherwise, this is null.
$sel:httpStatus:DescribeListenerCertificatesResponse'
, describeListenerCertificatesResponse_httpStatus
- The response's http status code.
SetSecurityGroups
data SetSecurityGroups Source #
See: newSetSecurityGroups
smart constructor.
Instances
Create a value of SetSecurityGroups
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:loadBalancerArn:SetSecurityGroups'
, setSecurityGroups_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:securityGroups:SetSecurityGroups'
, setSecurityGroups_securityGroups
- The IDs of the security groups.
data SetSecurityGroupsResponse Source #
See: newSetSecurityGroupsResponse
smart constructor.
Instances
newSetSecurityGroupsResponse Source #
Create a value of SetSecurityGroupsResponse
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:securityGroupIds:SetSecurityGroupsResponse'
, setSecurityGroupsResponse_securityGroupIds
- The IDs of the security groups associated with the load balancer.
$sel:httpStatus:SetSecurityGroupsResponse'
, setSecurityGroupsResponse_httpStatus
- The response's http status code.
SetRulePriorities
data SetRulePriorities Source #
See: newSetRulePriorities
smart constructor.
Instances
newSetRulePriorities :: SetRulePriorities Source #
Create a value of SetRulePriorities
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:rulePriorities:SetRulePriorities'
, setRulePriorities_rulePriorities
- The rule priorities.
data SetRulePrioritiesResponse Source #
See: newSetRulePrioritiesResponse
smart constructor.
Instances
newSetRulePrioritiesResponse Source #
Create a value of SetRulePrioritiesResponse
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:rules:SetRulePrioritiesResponse'
, setRulePrioritiesResponse_rules
- Information about the rules.
$sel:httpStatus:SetRulePrioritiesResponse'
, setRulePrioritiesResponse_httpStatus
- The response's http status code.
DescribeTargetGroups (Paginated)
data DescribeTargetGroups Source #
See: newDescribeTargetGroups
smart constructor.
Instances
newDescribeTargetGroups :: DescribeTargetGroups Source #
Create a value of DescribeTargetGroups
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:targetGroupArns:DescribeTargetGroups'
, describeTargetGroups_targetGroupArns
- The Amazon Resource Names (ARN) of the target groups.
$sel:names:DescribeTargetGroups'
, describeTargetGroups_names
- The names of the target groups.
$sel:loadBalancerArn:DescribeTargetGroups'
, describeTargetGroups_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:marker:DescribeTargetGroups'
, describeTargetGroups_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:pageSize:DescribeTargetGroups'
, describeTargetGroups_pageSize
- The maximum number of results to return with this call.
data DescribeTargetGroupsResponse Source #
See: newDescribeTargetGroupsResponse
smart constructor.
Instances
newDescribeTargetGroupsResponse Source #
Create a value of DescribeTargetGroupsResponse
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:nextMarker:DescribeTargetGroupsResponse'
, describeTargetGroupsResponse_nextMarker
- If there are additional results, this is the marker for the next set of
results. Otherwise, this is null.
$sel:targetGroups:DescribeTargetGroupsResponse'
, describeTargetGroupsResponse_targetGroups
- Information about the target groups.
$sel:httpStatus:DescribeTargetGroupsResponse'
, describeTargetGroupsResponse_httpStatus
- The response's http status code.
DescribeRules (Paginated)
data DescribeRules Source #
See: newDescribeRules
smart constructor.
Instances
newDescribeRules :: DescribeRules Source #
Create a value of DescribeRules
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:listenerArn:DescribeRules'
, describeRules_listenerArn
- The Amazon Resource Name (ARN) of the listener.
$sel:marker:DescribeRules'
, describeRules_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:ruleArns:DescribeRules'
, describeRules_ruleArns
- The Amazon Resource Names (ARN) of the rules.
$sel:pageSize:DescribeRules'
, describeRules_pageSize
- The maximum number of results to return with this call.
data DescribeRulesResponse Source #
See: newDescribeRulesResponse
smart constructor.
Instances
newDescribeRulesResponse Source #
Create a value of DescribeRulesResponse
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:rules:DescribeRulesResponse'
, describeRulesResponse_rules
- Information about the rules.
$sel:nextMarker:DescribeRulesResponse'
, describeRulesResponse_nextMarker
- If there are additional results, this is the marker for the next set of
results. Otherwise, this is null.
$sel:httpStatus:DescribeRulesResponse'
, describeRulesResponse_httpStatus
- The response's http status code.
DeleteLoadBalancer
data DeleteLoadBalancer Source #
See: newDeleteLoadBalancer
smart constructor.
Instances
newDeleteLoadBalancer Source #
Create a value of DeleteLoadBalancer
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:loadBalancerArn:DeleteLoadBalancer'
, deleteLoadBalancer_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
data DeleteLoadBalancerResponse Source #
See: newDeleteLoadBalancerResponse
smart constructor.
Instances
newDeleteLoadBalancerResponse Source #
Create a value of DeleteLoadBalancerResponse
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:httpStatus:DeleteLoadBalancerResponse'
, deleteLoadBalancerResponse_httpStatus
- The response's http status code.
RegisterTargets
data RegisterTargets Source #
See: newRegisterTargets
smart constructor.
Instances
Create a value of RegisterTargets
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:targetGroupArn:RegisterTargets'
, registerTargets_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
$sel:targets:RegisterTargets'
, registerTargets_targets
- The targets.
data RegisterTargetsResponse Source #
See: newRegisterTargetsResponse
smart constructor.
Instances
newRegisterTargetsResponse Source #
Create a value of RegisterTargetsResponse
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:httpStatus:RegisterTargetsResponse'
, registerTargetsResponse_httpStatus
- The response's http status code.
ModifyListener
data ModifyListener Source #
See: newModifyListener
smart constructor.
ModifyListener' (Maybe Text) (Maybe ProtocolEnum) (Maybe [Action]) (Maybe [Certificate]) (Maybe [Text]) (Maybe Natural) Text |
Instances
Create a value of ModifyListener
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:sslPolicy:ModifyListener'
, modifyListener_sslPolicy
- [HTTPS and TLS listeners] The security policy that defines which
protocols and ciphers are supported.
For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.
$sel:protocol:ModifyListener'
, modifyListener_protocol
- The protocol for connections from clients to the load balancer.
Application Load Balancers support the HTTP and HTTPS protocols. Network
Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You
can’t change the protocol to UDP or TCP_UDP if dual-stack mode is
enabled. You cannot specify a protocol for a Gateway Load Balancer.
$sel:defaultActions:ModifyListener'
, modifyListener_defaultActions
- The actions for the default rule.
$sel:certificates:ModifyListener'
, modifyListener_certificates
- [HTTPS and TLS listeners] The default certificate for the listener. You
must provide exactly one certificate. Set CertificateArn
to the
certificate ARN but do not set IsDefault
.
$sel:alpnPolicy:ModifyListener'
, modifyListener_alpnPolicy
- [TLS listeners] The name of the Application-Layer Protocol Negotiation
(ALPN) policy. You can specify one policy name. The following are the
possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
$sel:port:ModifyListener'
, modifyListener_port
- The port for connections from clients to the load balancer. You cannot
specify a port for a Gateway Load Balancer.
$sel:listenerArn:ModifyListener'
, modifyListener_listenerArn
- The Amazon Resource Name (ARN) of the listener.
data ModifyListenerResponse Source #
See: newModifyListenerResponse
smart constructor.
Instances
newModifyListenerResponse Source #
Create a value of ModifyListenerResponse
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:listeners:ModifyListenerResponse'
, modifyListenerResponse_listeners
- Information about the modified listener.
$sel:httpStatus:ModifyListenerResponse'
, modifyListenerResponse_httpStatus
- The response's http status code.
ModifyTargetGroup
data ModifyTargetGroup Source #
See: newModifyTargetGroup
smart constructor.
ModifyTargetGroup' (Maybe Matcher) (Maybe Text) (Maybe Bool) (Maybe Natural) (Maybe Natural) (Maybe Natural) (Maybe ProtocolEnum) (Maybe Natural) (Maybe Text) Text |
Instances
Create a value of ModifyTargetGroup
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:matcher:ModifyTargetGroup'
, modifyTargetGroup_matcher
- [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking
for a successful response from a target.
With Network Load Balancers, you can't modify this setting.
$sel:healthCheckPath:ModifyTargetGroup'
, modifyTargetGroup_healthCheckPath
- [HTTP/HTTPS health checks] The destination for health checks on the
targets.
- HTTP1 or HTTP2 protocol version
- The ping path. The default is /.
- GRPC protocol version
- The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.
$sel:healthCheckEnabled:ModifyTargetGroup'
, modifyTargetGroup_healthCheckEnabled
- Indicates whether health checks are enabled.
$sel:unhealthyThresholdCount:ModifyTargetGroup'
, modifyTargetGroup_unhealthyThresholdCount
- The number of consecutive health check failures required before
considering the target unhealthy. For target groups with a protocol of
TCP or TLS, this value must be the same as the healthy threshold count.
$sel:healthCheckIntervalSeconds:ModifyTargetGroup'
, modifyTargetGroup_healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an
individual target. For TCP health checks, the supported values are 10 or
30 seconds.
With Network Load Balancers, you can't modify this setting.
$sel:healthyThresholdCount:ModifyTargetGroup'
, modifyTargetGroup_healthyThresholdCount
- The number of consecutive health checks successes required before
considering an unhealthy target healthy.
$sel:healthCheckProtocol:ModifyTargetGroup'
, modifyTargetGroup_healthCheckProtocol
- The protocol the load balancer uses when performing health checks on
targets. For Application Load Balancers, the default is HTTP. For
Network Load Balancers and Gateway Load Balancers, the default is TCP.
The TCP protocol is not supported for health checks if the protocol of
the target group is HTTP or HTTPS. It is supported for health checks
only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP.
The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health
checks.
With Network Load Balancers, you can't modify this setting.
$sel:healthCheckTimeoutSeconds:ModifyTargetGroup'
, modifyTargetGroup_healthCheckTimeoutSeconds
- [HTTP/HTTPS health checks] The amount of time, in seconds, during which
no response means a failed health check.
With Network Load Balancers, you can't modify this setting.
$sel:healthCheckPort:ModifyTargetGroup'
, modifyTargetGroup_healthCheckPort
- The port the load balancer uses when performing health checks on
targets.
$sel:targetGroupArn:ModifyTargetGroup'
, modifyTargetGroup_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
data ModifyTargetGroupResponse Source #
See: newModifyTargetGroupResponse
smart constructor.
Instances
newModifyTargetGroupResponse Source #
Create a value of ModifyTargetGroupResponse
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:targetGroups:ModifyTargetGroupResponse'
, modifyTargetGroupResponse_targetGroups
- Information about the modified target group.
$sel:httpStatus:ModifyTargetGroupResponse'
, modifyTargetGroupResponse_httpStatus
- The response's http status code.
ModifyTargetGroupAttributes
data ModifyTargetGroupAttributes Source #
See: newModifyTargetGroupAttributes
smart constructor.
Instances
newModifyTargetGroupAttributes Source #
Create a value of ModifyTargetGroupAttributes
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:targetGroupArn:ModifyTargetGroupAttributes'
, modifyTargetGroupAttributes_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
$sel:attributes:ModifyTargetGroupAttributes'
, modifyTargetGroupAttributes_attributes
- The attributes.
data ModifyTargetGroupAttributesResponse Source #
See: newModifyTargetGroupAttributesResponse
smart constructor.
Instances
Eq ModifyTargetGroupAttributesResponse Source # | |
Read ModifyTargetGroupAttributesResponse Source # | |
Show ModifyTargetGroupAttributesResponse Source # | |
Generic ModifyTargetGroupAttributesResponse Source # | |
NFData ModifyTargetGroupAttributesResponse Source # | |
Defined in Amazonka.ELBV2.ModifyTargetGroupAttributes rnf :: ModifyTargetGroupAttributesResponse -> () # | |
type Rep ModifyTargetGroupAttributesResponse Source # | |
Defined in Amazonka.ELBV2.ModifyTargetGroupAttributes type Rep ModifyTargetGroupAttributesResponse = D1 ('MetaData "ModifyTargetGroupAttributesResponse" "Amazonka.ELBV2.ModifyTargetGroupAttributes" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "ModifyTargetGroupAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetGroupAttribute])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newModifyTargetGroupAttributesResponse Source #
Create a value of ModifyTargetGroupAttributesResponse
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:attributes:ModifyTargetGroupAttributes'
, modifyTargetGroupAttributesResponse_attributes
- Information about the attributes.
$sel:httpStatus:ModifyTargetGroupAttributesResponse'
, modifyTargetGroupAttributesResponse_httpStatus
- The response's http status code.
DescribeTargetGroupAttributes
data DescribeTargetGroupAttributes Source #
See: newDescribeTargetGroupAttributes
smart constructor.
Instances
newDescribeTargetGroupAttributes Source #
Create a value of DescribeTargetGroupAttributes
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:targetGroupArn:DescribeTargetGroupAttributes'
, describeTargetGroupAttributes_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
data DescribeTargetGroupAttributesResponse Source #
See: newDescribeTargetGroupAttributesResponse
smart constructor.
Instances
newDescribeTargetGroupAttributesResponse Source #
Create a value of DescribeTargetGroupAttributesResponse
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:attributes:DescribeTargetGroupAttributesResponse'
, describeTargetGroupAttributesResponse_attributes
- Information about the target group attributes
$sel:httpStatus:DescribeTargetGroupAttributesResponse'
, describeTargetGroupAttributesResponse_httpStatus
- The response's http status code.
DeleteListener
data DeleteListener Source #
See: newDeleteListener
smart constructor.
Instances
Create a value of DeleteListener
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:listenerArn:DeleteListener'
, deleteListener_listenerArn
- The Amazon Resource Name (ARN) of the listener.
data DeleteListenerResponse Source #
See: newDeleteListenerResponse
smart constructor.
Instances
Eq DeleteListenerResponse Source # | |
Defined in Amazonka.ELBV2.DeleteListener | |
Read DeleteListenerResponse Source # | |
Show DeleteListenerResponse Source # | |
Defined in Amazonka.ELBV2.DeleteListener showsPrec :: Int -> DeleteListenerResponse -> ShowS # show :: DeleteListenerResponse -> String # showList :: [DeleteListenerResponse] -> ShowS # | |
Generic DeleteListenerResponse Source # | |
Defined in Amazonka.ELBV2.DeleteListener type Rep DeleteListenerResponse :: Type -> Type # | |
NFData DeleteListenerResponse Source # | |
Defined in Amazonka.ELBV2.DeleteListener rnf :: DeleteListenerResponse -> () # | |
type Rep DeleteListenerResponse Source # | |
Defined in Amazonka.ELBV2.DeleteListener type Rep DeleteListenerResponse = D1 ('MetaData "DeleteListenerResponse" "Amazonka.ELBV2.DeleteListener" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "DeleteListenerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteListenerResponse Source #
Create a value of DeleteListenerResponse
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:httpStatus:DeleteListenerResponse'
, deleteListenerResponse_httpStatus
- The response's http status code.
DescribeSSLPolicies (Paginated)
data DescribeSSLPolicies Source #
See: newDescribeSSLPolicies
smart constructor.
Instances
newDescribeSSLPolicies :: DescribeSSLPolicies Source #
Create a value of DescribeSSLPolicies
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:loadBalancerType:DescribeSSLPolicies'
, describeSSLPolicies_loadBalancerType
- The type of load balancer. The default lists the SSL policies for all
load balancers.
$sel:names:DescribeSSLPolicies'
, describeSSLPolicies_names
- The names of the policies.
$sel:marker:DescribeSSLPolicies'
, describeSSLPolicies_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:pageSize:DescribeSSLPolicies'
, describeSSLPolicies_pageSize
- The maximum number of results to return with this call.
data DescribeSSLPoliciesResponse Source #
See: newDescribeSSLPoliciesResponse
smart constructor.
Instances
newDescribeSSLPoliciesResponse Source #
Create a value of DescribeSSLPoliciesResponse
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:sslPolicies:DescribeSSLPoliciesResponse'
, describeSSLPoliciesResponse_sslPolicies
- Information about the security policies.
$sel:nextMarker:DescribeSSLPoliciesResponse'
, describeSSLPoliciesResponse_nextMarker
- If there are additional results, this is the marker for the next set of
results. Otherwise, this is null.
$sel:httpStatus:DescribeSSLPoliciesResponse'
, describeSSLPoliciesResponse_httpStatus
- The response's http status code.
DescribeAccountLimits (Paginated)
data DescribeAccountLimits Source #
See: newDescribeAccountLimits
smart constructor.
Instances
newDescribeAccountLimits :: DescribeAccountLimits Source #
Create a value of DescribeAccountLimits
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:marker:DescribeAccountLimits'
, describeAccountLimits_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:pageSize:DescribeAccountLimits'
, describeAccountLimits_pageSize
- The maximum number of results to return with this call.
data DescribeAccountLimitsResponse Source #
See: newDescribeAccountLimitsResponse
smart constructor.
Instances
newDescribeAccountLimitsResponse Source #
Create a value of DescribeAccountLimitsResponse
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:limits:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_limits
- Information about the limits.
$sel:nextMarker:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_nextMarker
- If there are additional results, this is the marker for the next set of
results. Otherwise, this is null.
$sel:httpStatus:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_httpStatus
- The response's http status code.
DeregisterTargets
data DeregisterTargets Source #
See: newDeregisterTargets
smart constructor.
Instances
Create a value of DeregisterTargets
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:targetGroupArn:DeregisterTargets'
, deregisterTargets_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
$sel:targets:DeregisterTargets'
, deregisterTargets_targets
- The targets. If you specified a port override when you registered a
target, you must specify both the target ID and the port when you
deregister it.
data DeregisterTargetsResponse Source #
See: newDeregisterTargetsResponse
smart constructor.
Instances
newDeregisterTargetsResponse Source #
Create a value of DeregisterTargetsResponse
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:httpStatus:DeregisterTargetsResponse'
, deregisterTargetsResponse_httpStatus
- The response's http status code.
CreateListener
data CreateListener Source #
See: newCreateListener
smart constructor.
CreateListener' (Maybe Text) (Maybe ProtocolEnum) (Maybe [Certificate]) (Maybe [Text]) (Maybe (NonEmpty Tag)) (Maybe Natural) Text [Action] |
Instances
Create a value of CreateListener
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:sslPolicy:CreateListener'
, createListener_sslPolicy
- [HTTPS and TLS listeners] The security policy that defines which
protocols and ciphers are supported.
For more information, see Security policies in the Application Load Balancers Guide and Security policies in the Network Load Balancers Guide.
$sel:protocol:CreateListener'
, createListener_protocol
- The protocol for connections from clients to the load balancer. For
Application Load Balancers, the supported protocols are HTTP and HTTPS.
For Network Load Balancers, the supported protocols are TCP, TLS, UDP,
and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack
mode is enabled. You cannot specify a protocol for a Gateway Load
Balancer.
$sel:certificates:CreateListener'
, createListener_certificates
- [HTTPS and TLS listeners] The default certificate for the listener. You
must provide exactly one certificate. Set CertificateArn
to the
certificate ARN but do not set IsDefault
.
$sel:alpnPolicy:CreateListener'
, createListener_alpnPolicy
- [TLS listeners] The name of the Application-Layer Protocol Negotiation
(ALPN) policy. You can specify one policy name. The following are the
possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
$sel:tags:CreateListener'
, createListener_tags
- The tags to assign to the listener.
$sel:port:CreateListener'
, createListener_port
- The port on which the load balancer is listening. You cannot specify a
port for a Gateway Load Balancer.
$sel:loadBalancerArn:CreateListener'
, createListener_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:defaultActions:CreateListener'
, createListener_defaultActions
- The actions for the default rule.
data CreateListenerResponse Source #
See: newCreateListenerResponse
smart constructor.
Instances
newCreateListenerResponse Source #
Create a value of CreateListenerResponse
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:listeners:CreateListenerResponse'
, createListenerResponse_listeners
- Information about the listener.
$sel:httpStatus:CreateListenerResponse'
, createListenerResponse_httpStatus
- The response's http status code.
CreateTargetGroup
data CreateTargetGroup Source #
See: newCreateTargetGroup
smart constructor.
CreateTargetGroup' (Maybe Text) (Maybe Matcher) (Maybe Text) (Maybe Bool) (Maybe Natural) (Maybe Text) (Maybe ProtocolEnum) (Maybe Natural) (Maybe TargetTypeEnum) (Maybe Natural) (Maybe ProtocolEnum) (Maybe TargetGroupIpAddressTypeEnum) (Maybe Natural) (Maybe Text) (Maybe (NonEmpty Tag)) (Maybe Natural) Text |
Instances
Create a value of CreateTargetGroup
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:protocolVersion:CreateTargetGroup'
, createTargetGroup_protocolVersion
- [HTTP/HTTPS protocol] The protocol version. Specify GRPC
to send
requests to targets using gRPC. Specify HTTP2
to send requests to
targets using HTTP/2. The default is HTTP1
, which sends requests to
targets using HTTP/1.1.
$sel:matcher:CreateTargetGroup'
, createTargetGroup_matcher
- [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking
for a successful response from a target.
$sel:healthCheckPath:CreateTargetGroup'
, createTargetGroup_healthCheckPath
- [HTTP/HTTPS health checks] The destination for health checks on the
targets.
- HTTP1 or HTTP2 protocol version
- The ping path. The default is /.
- GRPC protocol version
- The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.
$sel:healthCheckEnabled:CreateTargetGroup'
, createTargetGroup_healthCheckEnabled
- Indicates whether health checks are enabled. If the target type is
lambda
, health checks are disabled by default but can be enabled. If
the target type is instance
, ip
, or alb
, health checks are always
enabled and cannot be disabled.
$sel:unhealthyThresholdCount:CreateTargetGroup'
, createTargetGroup_unhealthyThresholdCount
- The number of consecutive health check failures required before
considering a target unhealthy. If the target group protocol is HTTP or
HTTPS, the default is 2. If the target group protocol is TCP or TLS,
this value must be the same as the healthy threshold count. If the
target group protocol is GENEVE, the default is 3. If the target type is
lambda
, the default is 2.
$sel:vpcId:CreateTargetGroup'
, createTargetGroup_vpcId
- The identifier of the virtual private cloud (VPC). If the target is a
Lambda function, this parameter does not apply. Otherwise, this
parameter is required.
$sel:protocol:CreateTargetGroup'
, createTargetGroup_protocol
- The protocol to use for routing traffic to the targets. For Application
Load Balancers, the supported protocols are HTTP and HTTPS. For Network
Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP.
For Gateway Load Balancers, the supported protocol is GENEVE. A TCP_UDP
listener must be associated with a TCP_UDP target group. If the target
is a Lambda function, this parameter does not apply.
$sel:healthCheckIntervalSeconds:CreateTargetGroup'
, createTargetGroup_healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an
individual target. If the target group protocol is TCP, TLS, UDP, or
TCP_UDP, the supported values are 10 and 30 seconds. If the target group
protocol is HTTP or HTTPS, the default is 30 seconds. If the target
group protocol is GENEVE, the default is 10 seconds. If the target type
is lambda
, the default is 35 seconds.
$sel:targetType:CreateTargetGroup'
, createTargetGroup_targetType
- The type of target that you must specify when registering targets with
this target group. You can't specify targets for a target group using
more than one target type.
instance
- Register targets by instance ID. This is the default value.ip
- Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.lambda
- Register a single Lambda function as a target.alb
- Register a single Application Load Balancer as a target.
$sel:healthyThresholdCount:CreateTargetGroup'
, createTargetGroup_healthyThresholdCount
- The number of consecutive health checks successes required before
considering an unhealthy target healthy. For target groups with a
protocol of HTTP or HTTPS, the default is 5. For target groups with a
protocol of TCP, TLS, or GENEVE, the default is 3. If the target type is
lambda
, the default is 5.
$sel:healthCheckProtocol:CreateTargetGroup'
, createTargetGroup_healthCheckProtocol
- The protocol the load balancer uses when performing health checks on
targets. For Application Load Balancers, the default is HTTP. For
Network Load Balancers and Gateway Load Balancers, the default is TCP.
The TCP protocol is not supported for health checks if the protocol of
the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP
protocols are not supported for health checks.
$sel:ipAddressType:CreateTargetGroup'
, createTargetGroup_ipAddressType
- The type of IP address used for this target group. The possible values
are ipv4
and ipv6
. This is an optional parameter. If not specified,
the IP address type defaults to ipv4
.
$sel:healthCheckTimeoutSeconds:CreateTargetGroup'
, createTargetGroup_healthCheckTimeoutSeconds
- The amount of time, in seconds, during which no response from a target
means a failed health check. For target groups with a protocol of HTTP,
HTTPS, or GENEVE, the default is 5 seconds. For target groups with a
protocol of TCP or TLS, this value must be 6 seconds for HTTP health
checks and 10 seconds for TCP and HTTPS health checks. If the target
type is lambda
, the default is 30 seconds.
$sel:healthCheckPort:CreateTargetGroup'
, createTargetGroup_healthCheckPort
- The port the load balancer uses when performing health checks on
targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the
default is traffic-port
, which is the port on which each target
receives traffic from the load balancer. If the protocol is GENEVE, the
default is port 80.
$sel:tags:CreateTargetGroup'
, createTargetGroup_tags
- The tags to assign to the target group.
$sel:port:CreateTargetGroup'
, createTargetGroup_port
- The port on which the targets receive traffic. This port is used unless
you specify a port override when registering the target. If the target
is a Lambda function, this parameter does not apply. If the protocol is
GENEVE, the supported port is 6081.
$sel:name:CreateTargetGroup'
, createTargetGroup_name
- The name of the target group.
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
data CreateTargetGroupResponse Source #
See: newCreateTargetGroupResponse
smart constructor.
Instances
newCreateTargetGroupResponse Source #
Create a value of CreateTargetGroupResponse
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:targetGroups:CreateTargetGroupResponse'
, createTargetGroupResponse_targetGroups
- Information about the target group.
$sel:httpStatus:CreateTargetGroupResponse'
, createTargetGroupResponse_httpStatus
- The response's http status code.
ModifyLoadBalancerAttributes
data ModifyLoadBalancerAttributes Source #
See: newModifyLoadBalancerAttributes
smart constructor.
Instances
newModifyLoadBalancerAttributes Source #
Create a value of ModifyLoadBalancerAttributes
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:loadBalancerArn:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributes_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:attributes:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributes_attributes
- The load balancer attributes.
data ModifyLoadBalancerAttributesResponse Source #
See: newModifyLoadBalancerAttributesResponse
smart constructor.
Instances
newModifyLoadBalancerAttributesResponse Source #
Create a value of ModifyLoadBalancerAttributesResponse
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:attributes:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributesResponse_attributes
- Information about the load balancer attributes.
$sel:httpStatus:ModifyLoadBalancerAttributesResponse'
, modifyLoadBalancerAttributesResponse_httpStatus
- The response's http status code.
SetIpAddressType
data SetIpAddressType Source #
See: newSetIpAddressType
smart constructor.
Instances
:: Text | |
-> IpAddressType | |
-> SetIpAddressType |
Create a value of SetIpAddressType
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:loadBalancerArn:SetIpAddressType'
, setIpAddressType_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:ipAddressType:SetIpAddressType'
, setIpAddressType_ipAddressType
- The IP address type. The possible values are ipv4
(for IPv4 addresses)
and dualstack
(for IPv4 and IPv6 addresses). Internal load balancers
must use ipv4
. You can’t specify dualstack
for a load balancer with
a UDP or TCP_UDP listener.
data SetIpAddressTypeResponse Source #
See: newSetIpAddressTypeResponse
smart constructor.
Instances
newSetIpAddressTypeResponse Source #
Create a value of SetIpAddressTypeResponse
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:ipAddressType:SetIpAddressType'
, setIpAddressTypeResponse_ipAddressType
- The IP address type.
$sel:httpStatus:SetIpAddressTypeResponse'
, setIpAddressTypeResponse_httpStatus
- The response's http status code.
AddTags
See: newAddTags
smart constructor.
Instances
Create a value of AddTags
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:resourceArns:AddTags'
, addTags_resourceArns
- The Amazon Resource Name (ARN) of the resource.
$sel:tags:AddTags'
, addTags_tags
- The tags.
data AddTagsResponse Source #
See: newAddTagsResponse
smart constructor.
Instances
Create a value of AddTagsResponse
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:httpStatus:AddTagsResponse'
, addTagsResponse_httpStatus
- The response's http status code.
DescribeLoadBalancerAttributes
data DescribeLoadBalancerAttributes Source #
See: newDescribeLoadBalancerAttributes
smart constructor.
Instances
newDescribeLoadBalancerAttributes Source #
Create a value of DescribeLoadBalancerAttributes
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:loadBalancerArn:DescribeLoadBalancerAttributes'
, describeLoadBalancerAttributes_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
data DescribeLoadBalancerAttributesResponse Source #
See: newDescribeLoadBalancerAttributesResponse
smart constructor.
Instances
newDescribeLoadBalancerAttributesResponse Source #
Create a value of DescribeLoadBalancerAttributesResponse
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:attributes:DescribeLoadBalancerAttributesResponse'
, describeLoadBalancerAttributesResponse_attributes
- Information about the load balancer attributes.
$sel:httpStatus:DescribeLoadBalancerAttributesResponse'
, describeLoadBalancerAttributesResponse_httpStatus
- The response's http status code.
DescribeListeners (Paginated)
data DescribeListeners Source #
See: newDescribeListeners
smart constructor.
Instances
newDescribeListeners :: DescribeListeners Source #
Create a value of DescribeListeners
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:listenerArns:DescribeListeners'
, describeListeners_listenerArns
- The Amazon Resource Names (ARN) of the listeners.
$sel:loadBalancerArn:DescribeListeners'
, describeListeners_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:marker:DescribeListeners'
, describeListeners_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:pageSize:DescribeListeners'
, describeListeners_pageSize
- The maximum number of results to return with this call.
data DescribeListenersResponse Source #
See: newDescribeListenersResponse
smart constructor.
Instances
newDescribeListenersResponse Source #
Create a value of DescribeListenersResponse
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:nextMarker:DescribeListenersResponse'
, describeListenersResponse_nextMarker
- If there are additional results, this is the marker for the next set of
results. Otherwise, this is null.
$sel:listeners:DescribeListenersResponse'
, describeListenersResponse_listeners
- Information about the listeners.
$sel:httpStatus:DescribeListenersResponse'
, describeListenersResponse_httpStatus
- The response's http status code.
DescribeTargetHealth
data DescribeTargetHealth Source #
See: newDescribeTargetHealth
smart constructor.
Instances
newDescribeTargetHealth Source #
Create a value of DescribeTargetHealth
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:targets:DescribeTargetHealth'
, describeTargetHealth_targets
- The targets.
$sel:targetGroupArn:DescribeTargetHealth'
, describeTargetHealth_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
data DescribeTargetHealthResponse Source #
See: newDescribeTargetHealthResponse
smart constructor.
Instances
newDescribeTargetHealthResponse Source #
Create a value of DescribeTargetHealthResponse
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:targetHealthDescriptions:DescribeTargetHealthResponse'
, describeTargetHealthResponse_targetHealthDescriptions
- Information about the health of the targets.
$sel:httpStatus:DescribeTargetHealthResponse'
, describeTargetHealthResponse_httpStatus
- The response's http status code.
CreateLoadBalancer
data CreateLoadBalancer Source #
See: newCreateLoadBalancer
smart constructor.
CreateLoadBalancer' (Maybe [SubnetMapping]) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe IpAddressType) (Maybe LoadBalancerSchemeEnum) (Maybe LoadBalancerTypeEnum) (Maybe (NonEmpty Tag)) Text |
Instances
newCreateLoadBalancer Source #
Create a value of CreateLoadBalancer
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:subnetMappings:CreateLoadBalancer'
, createLoadBalancer_subnetMappings
- The IDs of the public subnets. You can specify only one subnet per
Availability Zone. You must specify either subnets or subnet mappings.
- Application Load Balancers
- You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
- Application Load Balancers on Outposts
- You must specify one Outpost subnet.
- Application Load Balancers on Local Zones
- You can specify subnets from one or more Local Zones.
- Network Load Balancers
- You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
- Gateway Load Balancers
- You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
$sel:securityGroups:CreateLoadBalancer'
, createLoadBalancer_securityGroups
- [Application Load Balancers] The IDs of the security groups for the load
balancer.
$sel:subnets:CreateLoadBalancer'
, createLoadBalancer_subnets
- The IDs of the public subnets. You can specify only one subnet per
Availability Zone. You must specify either subnets or subnet mappings.
- Application Load Balancers
- You must specify subnets from at least two Availability Zones.
- Application Load Balancers on Outposts
- You must specify one Outpost subnet.
- Application Load Balancers on Local Zones
- You can specify subnets from one or more Local Zones.
- Network Load Balancers
- You can specify subnets from one or more Availability Zones.
- Gateway Load Balancers
- You can specify subnets from one or more Availability Zones.
$sel:customerOwnedIpv4Pool:CreateLoadBalancer'
, createLoadBalancer_customerOwnedIpv4Pool
- [Application Load Balancers on Outposts] The ID of the customer-owned
address pool (CoIP pool).
$sel:ipAddressType:CreateLoadBalancer'
, createLoadBalancer_ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The
possible values are ipv4
(for IPv4 addresses) and dualstack
(for
IPv4 and IPv6 addresses). Internal load balancers must use ipv4
.
$sel:scheme:CreateLoadBalancer'
, createLoadBalancer_scheme
- The nodes of an Internet-facing load balancer have public IP addresses.
The DNS name of an Internet-facing load balancer is publicly resolvable
to the public IP addresses of the nodes. Therefore, Internet-facing load
balancers can route requests from clients over the internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.
The default is an Internet-facing load balancer.
You cannot specify a scheme for a Gateway Load Balancer.
$sel:type':CreateLoadBalancer'
, createLoadBalancer_type
- The type of load balancer. The default is application
.
$sel:tags:CreateLoadBalancer'
, createLoadBalancer_tags
- The tags to assign to the load balancer.
$sel:name:CreateLoadBalancer'
, createLoadBalancer_name
- The name of the load balancer.
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with "internal-".
data CreateLoadBalancerResponse Source #
See: newCreateLoadBalancerResponse
smart constructor.
Instances
newCreateLoadBalancerResponse Source #
Create a value of CreateLoadBalancerResponse
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:loadBalancers:CreateLoadBalancerResponse'
, createLoadBalancerResponse_loadBalancers
- Information about the load balancer.
$sel:httpStatus:CreateLoadBalancerResponse'
, createLoadBalancerResponse_httpStatus
- The response's http status code.
RemoveListenerCertificates
data RemoveListenerCertificates Source #
See: newRemoveListenerCertificates
smart constructor.
Instances
newRemoveListenerCertificates Source #
Create a value of RemoveListenerCertificates
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:listenerArn:RemoveListenerCertificates'
, removeListenerCertificates_listenerArn
- The Amazon Resource Name (ARN) of the listener.
$sel:certificates:RemoveListenerCertificates'
, removeListenerCertificates_certificates
- The certificate to remove. You can specify one certificate per call. Set
CertificateArn
to the certificate ARN but do not set IsDefault
.
data RemoveListenerCertificatesResponse Source #
See: newRemoveListenerCertificatesResponse
smart constructor.
Instances
Eq RemoveListenerCertificatesResponse Source # | |
Read RemoveListenerCertificatesResponse Source # | |
Show RemoveListenerCertificatesResponse Source # | |
Generic RemoveListenerCertificatesResponse Source # | |
NFData RemoveListenerCertificatesResponse Source # | |
Defined in Amazonka.ELBV2.RemoveListenerCertificates rnf :: RemoveListenerCertificatesResponse -> () # | |
type Rep RemoveListenerCertificatesResponse Source # | |
Defined in Amazonka.ELBV2.RemoveListenerCertificates type Rep RemoveListenerCertificatesResponse = D1 ('MetaData "RemoveListenerCertificatesResponse" "Amazonka.ELBV2.RemoveListenerCertificates" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "RemoveListenerCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRemoveListenerCertificatesResponse Source #
Create a value of RemoveListenerCertificatesResponse
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:httpStatus:RemoveListenerCertificatesResponse'
, removeListenerCertificatesResponse_httpStatus
- The response's http status code.
ModifyRule
data ModifyRule Source #
See: newModifyRule
smart constructor.
ModifyRule' (Maybe [Action]) (Maybe [RuleCondition]) Text |
Instances
Create a value of ModifyRule
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:actions:ModifyRule'
, modifyRule_actions
- The actions.
$sel:conditions:ModifyRule'
, modifyRule_conditions
- The conditions.
$sel:ruleArn:ModifyRule'
, modifyRule_ruleArn
- The Amazon Resource Name (ARN) of the rule.
data ModifyRuleResponse Source #
See: newModifyRuleResponse
smart constructor.
Instances
newModifyRuleResponse Source #
Create a value of ModifyRuleResponse
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:rules:ModifyRuleResponse'
, modifyRuleResponse_rules
- Information about the modified rule.
$sel:httpStatus:ModifyRuleResponse'
, modifyRuleResponse_httpStatus
- The response's http status code.
AddListenerCertificates
data AddListenerCertificates Source #
See: newAddListenerCertificates
smart constructor.
Instances
newAddListenerCertificates Source #
Create a value of AddListenerCertificates
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:listenerArn:AddListenerCertificates'
, addListenerCertificates_listenerArn
- The Amazon Resource Name (ARN) of the listener.
$sel:certificates:AddListenerCertificates'
, addListenerCertificates_certificates
- The certificate to add. You can specify one certificate per call. Set
CertificateArn
to the certificate ARN but do not set IsDefault
.
data AddListenerCertificatesResponse Source #
See: newAddListenerCertificatesResponse
smart constructor.
Instances
Eq AddListenerCertificatesResponse Source # | |
Read AddListenerCertificatesResponse Source # | |
Show AddListenerCertificatesResponse Source # | |
Defined in Amazonka.ELBV2.AddListenerCertificates | |
Generic AddListenerCertificatesResponse Source # | |
NFData AddListenerCertificatesResponse Source # | |
Defined in Amazonka.ELBV2.AddListenerCertificates rnf :: AddListenerCertificatesResponse -> () # | |
type Rep AddListenerCertificatesResponse Source # | |
Defined in Amazonka.ELBV2.AddListenerCertificates type Rep AddListenerCertificatesResponse = D1 ('MetaData "AddListenerCertificatesResponse" "Amazonka.ELBV2.AddListenerCertificates" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "AddListenerCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Certificate])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAddListenerCertificatesResponse Source #
Create a value of AddListenerCertificatesResponse
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:certificates:AddListenerCertificates'
, addListenerCertificatesResponse_certificates
- Information about the certificates in the certificate list.
$sel:httpStatus:AddListenerCertificatesResponse'
, addListenerCertificatesResponse_httpStatus
- The response's http status code.
Types
ActionTypeEnum
newtype ActionTypeEnum Source #
pattern ActionTypeEnum_Authenticate_cognito :: ActionTypeEnum | |
pattern ActionTypeEnum_Authenticate_oidc :: ActionTypeEnum | |
pattern ActionTypeEnum_Fixed_response :: ActionTypeEnum | |
pattern ActionTypeEnum_Forward :: ActionTypeEnum | |
pattern ActionTypeEnum_Redirect :: ActionTypeEnum |
Instances
AuthenticateCognitoActionConditionalBehaviorEnum
newtype AuthenticateCognitoActionConditionalBehaviorEnum Source #
Instances
AuthenticateOidcActionConditionalBehaviorEnum
newtype AuthenticateOidcActionConditionalBehaviorEnum Source #
Instances
IpAddressType
newtype IpAddressType Source #
pattern IpAddressType_Dualstack :: IpAddressType | |
pattern IpAddressType_Ipv4 :: IpAddressType |
Instances
LoadBalancerSchemeEnum
newtype LoadBalancerSchemeEnum Source #
pattern LoadBalancerSchemeEnum_Internal :: LoadBalancerSchemeEnum | |
pattern LoadBalancerSchemeEnum_Internet_facing :: LoadBalancerSchemeEnum |
Instances
LoadBalancerStateEnum
newtype LoadBalancerStateEnum Source #
Instances
LoadBalancerTypeEnum
newtype LoadBalancerTypeEnum Source #
pattern LoadBalancerTypeEnum_Application :: LoadBalancerTypeEnum | |
pattern LoadBalancerTypeEnum_Gateway :: LoadBalancerTypeEnum | |
pattern LoadBalancerTypeEnum_Network :: LoadBalancerTypeEnum |
Instances
ProtocolEnum
newtype ProtocolEnum Source #
pattern ProtocolEnum_GENEVE :: ProtocolEnum | |
pattern ProtocolEnum_HTTP :: ProtocolEnum | |
pattern ProtocolEnum_HTTPS :: ProtocolEnum | |
pattern ProtocolEnum_TCP :: ProtocolEnum | |
pattern ProtocolEnum_TCP_UDP :: ProtocolEnum | |
pattern ProtocolEnum_TLS :: ProtocolEnum | |
pattern ProtocolEnum_UDP :: ProtocolEnum |
Instances
RedirectActionStatusCodeEnum
newtype RedirectActionStatusCodeEnum Source #
pattern RedirectActionStatusCodeEnum_HTTP_301 :: RedirectActionStatusCodeEnum | |
pattern RedirectActionStatusCodeEnum_HTTP_302 :: RedirectActionStatusCodeEnum |
Instances
TargetGroupIpAddressTypeEnum
newtype TargetGroupIpAddressTypeEnum Source #
pattern TargetGroupIpAddressTypeEnum_Ipv4 :: TargetGroupIpAddressTypeEnum | |
pattern TargetGroupIpAddressTypeEnum_Ipv6 :: TargetGroupIpAddressTypeEnum |
Instances
TargetHealthReasonEnum
newtype TargetHealthReasonEnum Source #
Instances
TargetHealthStateEnum
newtype TargetHealthStateEnum Source #
pattern TargetHealthStateEnum_Draining :: TargetHealthStateEnum | |
pattern TargetHealthStateEnum_Healthy :: TargetHealthStateEnum | |
pattern TargetHealthStateEnum_Initial :: TargetHealthStateEnum | |
pattern TargetHealthStateEnum_Unavailable :: TargetHealthStateEnum | |
pattern TargetHealthStateEnum_Unhealthy :: TargetHealthStateEnum | |
pattern TargetHealthStateEnum_Unused :: TargetHealthStateEnum |
Instances
TargetTypeEnum
newtype TargetTypeEnum Source #
pattern TargetTypeEnum_Alb :: TargetTypeEnum | |
pattern TargetTypeEnum_Instance :: TargetTypeEnum | |
pattern TargetTypeEnum_Ip :: TargetTypeEnum | |
pattern TargetTypeEnum_Lambda :: TargetTypeEnum |
Instances
Action
Information about an action.
Each rule must include exactly one of the following types of actions:
forward
, fixed-response
, or redirect
, and it must be the last
action to be performed.
See: newAction
smart constructor.
Instances
Create a value of Action
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:fixedResponseConfig:Action'
, action_fixedResponseConfig
- [Application Load Balancer] Information for creating an action that
returns a custom HTTP response. Specify only when Type
is
fixed-response
.
$sel:targetGroupArn:Action'
, action_targetGroupArn
- The Amazon Resource Name (ARN) of the target group. Specify only when
Type
is forward
and you want to route to a single target group. To
route to one or more target groups, use ForwardConfig
instead.
$sel:forwardConfig:Action'
, action_forwardConfig
- Information for creating an action that distributes requests among one
or more target groups. For Network Load Balancers, you can specify a
single target group. Specify only when Type
is forward
. If you
specify both ForwardConfig
and TargetGroupArn
, you can specify only
one target group using ForwardConfig
and it must be the same target
group specified in TargetGroupArn
.
$sel:redirectConfig:Action'
, action_redirectConfig
- [Application Load Balancer] Information for creating a redirect action.
Specify only when Type
is redirect
.
$sel:authenticateCognitoConfig:Action'
, action_authenticateCognitoConfig
- [HTTPS listeners] Information for using Amazon Cognito to authenticate
users. Specify only when Type
is authenticate-cognito
.
$sel:order:Action'
, action_order
- The order for the action. This value is required for rules with multiple
actions. The action with the lowest value for order is performed first.
$sel:authenticateOidcConfig:Action'
, action_authenticateOidcConfig
- [HTTPS listeners] Information about an identity provider that is
compliant with OpenID Connect (OIDC). Specify only when Type
is
authenticate-oidc
.
$sel:type':Action'
, action_type
- The type of action.
AuthenticateCognitoActionConfig
data AuthenticateCognitoActionConfig Source #
Request parameters to use when integrating with Amazon Cognito to authenticate users.
See: newAuthenticateCognitoActionConfig
smart constructor.
AuthenticateCognitoActionConfig' (Maybe (HashMap Text Text)) (Maybe Text) (Maybe AuthenticateCognitoActionConditionalBehaviorEnum) (Maybe Text) (Maybe Integer) Text Text Text |
Instances
newAuthenticateCognitoActionConfig Source #
:: Text | |
-> Text | |
-> Text | |
-> AuthenticateCognitoActionConfig |
Create a value of AuthenticateCognitoActionConfig
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:authenticationRequestExtraParams:AuthenticateCognitoActionConfig'
, authenticateCognitoActionConfig_authenticationRequestExtraParams
- The query parameters (up to 10) to include in the redirect request to
the authorization endpoint.
$sel:scope:AuthenticateCognitoActionConfig'
, authenticateCognitoActionConfig_scope
- The set of user claims to be requested from the IdP. The default is
openid
.
To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
$sel:onUnauthenticatedRequest:AuthenticateCognitoActionConfig'
, authenticateCognitoActionConfig_onUnauthenticatedRequest
- The behavior if the user is not authenticated. The following are
possible values:
- deny@@ - Return an HTTP 401 Unauthorized error.
- allow@@ - Allow the request to be forwarded to the target.
- authenticate@@ - Redirect the request to the IdP authorization endpoint. This is the default value.
$sel:sessionCookieName:AuthenticateCognitoActionConfig'
, authenticateCognitoActionConfig_sessionCookieName
- The name of the cookie used to maintain session information. The default
is AWSELBAuthSessionCookie.
$sel:sessionTimeout:AuthenticateCognitoActionConfig'
, authenticateCognitoActionConfig_sessionTimeout
- The maximum duration of the authentication session, in seconds. The
default is 604800 seconds (7 days).
$sel:userPoolArn:AuthenticateCognitoActionConfig'
, authenticateCognitoActionConfig_userPoolArn
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
$sel:userPoolClientId:AuthenticateCognitoActionConfig'
, authenticateCognitoActionConfig_userPoolClientId
- The ID of the Amazon Cognito user pool client.
$sel:userPoolDomain:AuthenticateCognitoActionConfig'
, authenticateCognitoActionConfig_userPoolDomain
- The domain prefix or fully-qualified domain name of the Amazon Cognito
user pool.
AuthenticateOidcActionConfig
data AuthenticateOidcActionConfig Source #
Request parameters when using an identity provider (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.
See: newAuthenticateOidcActionConfig
smart constructor.
Instances
newAuthenticateOidcActionConfig Source #
Create a value of AuthenticateOidcActionConfig
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:clientSecret:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_clientSecret
- The OAuth 2.0 client secret. This parameter is required if you are
creating a rule. If you are modifying a rule, you can omit this
parameter if you set UseExistingClientSecret
to true.
$sel:useExistingClientSecret:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_useExistingClientSecret
- Indicates whether to use the existing client secret when modifying a
rule. If you are creating a rule, you can omit this parameter or set it
to false.
$sel:authenticationRequestExtraParams:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_authenticationRequestExtraParams
- The query parameters (up to 10) to include in the redirect request to
the authorization endpoint.
$sel:scope:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_scope
- The set of user claims to be requested from the IdP. The default is
openid
.
To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
$sel:onUnauthenticatedRequest:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_onUnauthenticatedRequest
- The behavior if the user is not authenticated. The following are
possible values:
- deny@@ - Return an HTTP 401 Unauthorized error.
- allow@@ - Allow the request to be forwarded to the target.
- authenticate@@ - Redirect the request to the IdP authorization endpoint. This is the default value.
$sel:sessionCookieName:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_sessionCookieName
- The name of the cookie used to maintain session information. The default
is AWSELBAuthSessionCookie.
$sel:sessionTimeout:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_sessionTimeout
- The maximum duration of the authentication session, in seconds. The
default is 604800 seconds (7 days).
$sel:issuer:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_issuer
- The OIDC issuer identifier of the IdP. This must be a full URL,
including the HTTPS protocol, the domain, and the path.
$sel:authorizationEndpoint:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_authorizationEndpoint
- The authorization endpoint of the IdP. This must be a full URL,
including the HTTPS protocol, the domain, and the path.
$sel:tokenEndpoint:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_tokenEndpoint
- The token endpoint of the IdP. This must be a full URL, including the
HTTPS protocol, the domain, and the path.
$sel:userInfoEndpoint:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_userInfoEndpoint
- The user info endpoint of the IdP. This must be a full URL, including
the HTTPS protocol, the domain, and the path.
$sel:clientId:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_clientId
- The OAuth 2.0 client identifier.
AvailabilityZone
data AvailabilityZone Source #
Information about an Availability Zone.
See: newAvailabilityZone
smart constructor.
AvailabilityZone' (Maybe Text) (Maybe Text) (Maybe [LoadBalancerAddress]) (Maybe Text) |
Instances
newAvailabilityZone :: AvailabilityZone Source #
Create a value of AvailabilityZone
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:subnetId:AvailabilityZone'
, availabilityZone_subnetId
- The ID of the subnet. You can specify one subnet per Availability Zone.
$sel:zoneName:AvailabilityZone'
, availabilityZone_zoneName
- The name of the Availability Zone.
$sel:loadBalancerAddresses:AvailabilityZone'
, availabilityZone_loadBalancerAddresses
- [Network Load Balancers] If you need static IP addresses for your load
balancer, you can specify one Elastic IP address per Availability Zone
when you create an internal-facing load balancer. For internal load
balancers, you can specify a private IP address from the IPv4 range of
the subnet.
$sel:outpostId:AvailabilityZone'
, availabilityZone_outpostId
- [Application Load Balancers on Outposts] The ID of the Outpost.
Certificate
data Certificate Source #
Information about an SSL server certificate.
See: newCertificate
smart constructor.
Certificate' (Maybe Text) (Maybe Bool) |
Instances
newCertificate :: Certificate Source #
Create a value of Certificate
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:certificateArn:Certificate'
, certificate_certificateArn
- The Amazon Resource Name (ARN) of the certificate.
$sel:isDefault:Certificate'
, certificate_isDefault
- Indicates whether the certificate is the default certificate. Do not set
this value when specifying a certificate as an input. This value is not
included in the output when describing a listener, but is included when
describing listener certificates.
Cipher
Information about a cipher used in a policy.
See: newCipher
smart constructor.
Instances
Eq Cipher Source # | |
Read Cipher Source # | |
Show Cipher Source # | |
Generic Cipher Source # | |
NFData Cipher Source # | |
Defined in Amazonka.ELBV2.Types.Cipher | |
Hashable Cipher Source # | |
Defined in Amazonka.ELBV2.Types.Cipher | |
FromXML Cipher Source # | |
type Rep Cipher Source # | |
Defined in Amazonka.ELBV2.Types.Cipher type Rep Cipher = D1 ('MetaData "Cipher" "Amazonka.ELBV2.Types.Cipher" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "Cipher'" 'PrefixI 'True) (S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of Cipher
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:priority:Cipher'
, cipher_priority
- The priority of the cipher.
$sel:name:Cipher'
, cipher_name
- The name of the cipher.
FixedResponseActionConfig
data FixedResponseActionConfig Source #
Information about an action that returns a custom HTTP response.
See: newFixedResponseActionConfig
smart constructor.
Instances
newFixedResponseActionConfig Source #
Create a value of FixedResponseActionConfig
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:messageBody:FixedResponseActionConfig'
, fixedResponseActionConfig_messageBody
- The message.
$sel:contentType:FixedResponseActionConfig'
, fixedResponseActionConfig_contentType
- The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
$sel:statusCode:FixedResponseActionConfig'
, fixedResponseActionConfig_statusCode
- The HTTP response code (2XX, 4XX, or 5XX).
ForwardActionConfig
data ForwardActionConfig Source #
Information about a forward action.
See: newForwardActionConfig
smart constructor.
Instances
newForwardActionConfig :: ForwardActionConfig Source #
Create a value of ForwardActionConfig
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:targetGroups:ForwardActionConfig'
, forwardActionConfig_targetGroups
- One or more target groups. For Network Load Balancers, you can specify a
single target group.
$sel:targetGroupStickinessConfig:ForwardActionConfig'
, forwardActionConfig_targetGroupStickinessConfig
- The target group stickiness for the rule.
HostHeaderConditionConfig
data HostHeaderConditionConfig Source #
Information about a host header condition.
See: newHostHeaderConditionConfig
smart constructor.
Instances
newHostHeaderConditionConfig :: HostHeaderConditionConfig Source #
Create a value of HostHeaderConditionConfig
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:values:HostHeaderConditionConfig'
, hostHeaderConditionConfig_values
- One or more host names. The maximum size of each name is 128 characters.
The comparison is case insensitive. The following wildcard characters
are supported: * (matches 0 or more characters) and ? (matches exactly 1
character).
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
HttpHeaderConditionConfig
data HttpHeaderConditionConfig Source #
Information about an HTTP header condition.
There is a set of standard HTTP header fields. You can also define custom HTTP header fields.
See: newHttpHeaderConditionConfig
smart constructor.
Instances
newHttpHeaderConditionConfig :: HttpHeaderConditionConfig Source #
Create a value of HttpHeaderConditionConfig
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:values:HttpHeaderConditionConfig'
, httpHeaderConditionConfig_values
- One or more strings to compare against the value of the HTTP header. The
maximum size of each string is 128 characters. The comparison strings
are case insensitive. The following wildcard characters are supported: *
(matches 0 or more characters) and ? (matches exactly 1 character).
If the same header appears multiple times in the request, we search them in order until a match is found.
If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
$sel:httpHeaderName:HttpHeaderConditionConfig'
, httpHeaderConditionConfig_httpHeaderName
- The name of the HTTP header field. The maximum size is 40 characters.
The header name is case insensitive. The allowed characters are
specified by RFC 7230. Wildcards are not supported.
You can't use an HTTP header condition to specify the host header. Use HostHeaderConditionConfig to specify a host header condition.
HttpRequestMethodConditionConfig
data HttpRequestMethodConditionConfig Source #
Information about an HTTP method condition.
HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the HTTP Method Registry. You can also define custom HTTP methods.
See: newHttpRequestMethodConditionConfig
smart constructor.
Instances
newHttpRequestMethodConditionConfig :: HttpRequestMethodConditionConfig Source #
Create a value of HttpRequestMethodConditionConfig
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:values:HttpRequestMethodConditionConfig'
, httpRequestMethodConditionConfig_values
- The name of the request method. The maximum size is 40 characters. The
allowed characters are A-Z, hyphen (-), and underscore (_). The
comparison is case sensitive. Wildcards are not supported; therefore,
the method name must be an exact match.
If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
Limit
Information about an Elastic Load Balancing resource limit for your Amazon Web Services account.
See: newLimit
smart constructor.
Instances
Eq Limit Source # | |
Read Limit Source # | |
Show Limit Source # | |
Generic Limit Source # | |
NFData Limit Source # | |
Defined in Amazonka.ELBV2.Types.Limit | |
Hashable Limit Source # | |
Defined in Amazonka.ELBV2.Types.Limit | |
FromXML Limit Source # | |
type Rep Limit Source # | |
Defined in Amazonka.ELBV2.Types.Limit type Rep Limit = D1 ('MetaData "Limit" "Amazonka.ELBV2.Types.Limit" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "Limit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of Limit
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:max:Limit'
, limit_max
- The maximum value of the limit.
$sel:name:Limit'
, limit_name
- The name of the limit. The possible values are:
- application-load-balancers
- condition-values-per-alb-rule
- condition-wildcards-per-alb-rule
- gateway-load-balancers
- gateway-load-balancers-per-vpc
- geneve-target-groups
- listeners-per-application-load-balancer
- listeners-per-network-load-balancer
- network-load-balancers
- rules-per-application-load-balancer
- target-groups
- target-groups-per-action-on-application-load-balancer
- target-groups-per-action-on-network-load-balancer
- target-groups-per-application-load-balancer
- targets-per-application-load-balancer
- targets-per-availability-zone-per-gateway-load-balancer
- targets-per-availability-zone-per-network-load-balancer
- targets-per-network-load-balancer
Listener
Information about a listener.
See: newListener
smart constructor.
Listener' (Maybe Text) (Maybe Text) (Maybe ProtocolEnum) (Maybe [Action]) (Maybe [Certificate]) (Maybe Text) (Maybe [Text]) (Maybe Natural) |
Instances
newListener :: Listener Source #
Create a value of Listener
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:sslPolicy:Listener'
, listener_sslPolicy
- [HTTPS or TLS listener] The security policy that defines which protocols
and ciphers are supported.
$sel:listenerArn:Listener'
, listener_listenerArn
- The Amazon Resource Name (ARN) of the listener.
$sel:protocol:Listener'
, listener_protocol
- The protocol for connections from clients to the load balancer.
$sel:defaultActions:Listener'
, listener_defaultActions
- The default actions for the listener.
$sel:certificates:Listener'
, listener_certificates
- [HTTPS or TLS listener] The default certificate for the listener.
$sel:loadBalancerArn:Listener'
, listener_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:alpnPolicy:Listener'
, listener_alpnPolicy
- [TLS listener] The name of the Application-Layer Protocol Negotiation
(ALPN) policy.
$sel:port:Listener'
, listener_port
- The port on which the load balancer is listening.
LoadBalancer
data LoadBalancer Source #
Information about a load balancer.
See: newLoadBalancer
smart constructor.
LoadBalancer' (Maybe LoadBalancerState) (Maybe [Text]) (Maybe Text) (Maybe ISO8601) (Maybe Text) (Maybe Text) (Maybe [AvailabilityZone]) (Maybe Text) (Maybe Text) (Maybe IpAddressType) (Maybe LoadBalancerSchemeEnum) (Maybe LoadBalancerTypeEnum) (Maybe Text) |
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:state:LoadBalancer'
, loadBalancer_state
- The state of the load balancer.
$sel:securityGroups:LoadBalancer'
, loadBalancer_securityGroups
- The IDs of the security groups for the load balancer.
$sel:loadBalancerName:LoadBalancer'
, loadBalancer_loadBalancerName
- The name of the load balancer.
$sel:createdTime:LoadBalancer'
, loadBalancer_createdTime
- The date and time the load balancer was created.
$sel:vpcId:LoadBalancer'
, loadBalancer_vpcId
- The ID of the VPC for the load balancer.
$sel:canonicalHostedZoneId:LoadBalancer'
, loadBalancer_canonicalHostedZoneId
- The ID of the Amazon Route 53 hosted zone associated with the load
balancer.
$sel:availabilityZones:LoadBalancer'
, loadBalancer_availabilityZones
- The subnets for the load balancer.
$sel:customerOwnedIpv4Pool:LoadBalancer'
, loadBalancer_customerOwnedIpv4Pool
- [Application Load Balancers on Outposts] The ID of the customer-owned
address pool.
$sel:loadBalancerArn:LoadBalancer'
, loadBalancer_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:ipAddressType:LoadBalancer'
, loadBalancer_ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The
possible values are ipv4
(for IPv4 addresses) and dualstack
(for
IPv4 and IPv6 addresses).
$sel:scheme:LoadBalancer'
, loadBalancer_scheme
- The nodes of an Internet-facing load balancer have public IP addresses.
The DNS name of an Internet-facing load balancer is publicly resolvable
to the public IP addresses of the nodes. Therefore, Internet-facing load
balancers can route requests from clients over the internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.
$sel:type':LoadBalancer'
, loadBalancer_type
- The type of load balancer.
$sel:dNSName:LoadBalancer'
, loadBalancer_dNSName
- The public DNS name of the load balancer.
LoadBalancerAddress
data LoadBalancerAddress Source #
Information about a static IP address for a load balancer.
See: newLoadBalancerAddress
smart constructor.
Instances
newLoadBalancerAddress :: LoadBalancerAddress Source #
Create a value of LoadBalancerAddress
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:iPv6Address:LoadBalancerAddress'
, loadBalancerAddress_iPv6Address
- [Network Load Balancers] The IPv6 address.
$sel:ipAddress:LoadBalancerAddress'
, loadBalancerAddress_ipAddress
- The static IP address.
$sel:allocationId:LoadBalancerAddress'
, loadBalancerAddress_allocationId
- [Network Load Balancers] The allocation ID of the Elastic IP address for
an internal-facing load balancer.
$sel:privateIPv4Address:LoadBalancerAddress'
, loadBalancerAddress_privateIPv4Address
- [Network Load Balancers] The private IPv4 address for an internal load
balancer.
LoadBalancerAttribute
data LoadBalancerAttribute Source #
Information about a load balancer attribute.
See: newLoadBalancerAttribute
smart constructor.
Instances
newLoadBalancerAttribute :: LoadBalancerAttribute Source #
Create a value of LoadBalancerAttribute
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:value:LoadBalancerAttribute'
, loadBalancerAttribute_value
- The value of the attribute.
$sel:key:LoadBalancerAttribute'
, loadBalancerAttribute_key
- The name of the attribute.
The following attribute is supported by all load balancers:
deletion_protection.enabled
- Indicates whether deletion protection is enabled. The value istrue
orfalse
. The default isfalse
.
The following attributes are supported by both Application Load Balancers and Network Load Balancers:
access_logs.s3.enabled
- Indicates whether access logs are enabled. The value istrue
orfalse
. The default isfalse
.access_logs.s3.bucket
- The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.access_logs.s3.prefix
- The prefix for the location in the S3 bucket for the access logs.
The following attributes are supported by only Application Load Balancers:
idle_timeout.timeout_seconds
- The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds.routing.http.desync_mitigation_mode
- Determines how the load balancer handles requests that might pose a security risk to your application. The possible values aremonitor
,defensive
, andstrictest
. The default isdefensive
.routing.http.drop_invalid_header_fields.enabled
- Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true
) or routed to targets (false
). The default isfalse
.routing.http.x_amzn_tls_version_and_cipher_suite.enabled
- Indicates whether the two headers (x-amzn-tls-version
andx-amzn-tls-cipher-suite
), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. Thex-amzn-tls-version
header has information about the TLS protocol version negotiated with the client, and thex-amzn-tls-cipher-suite
header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute aretrue
andfalse
. The default isfalse
.routing.http.xff_client_port.enabled
- Indicates whether theX-Forwarded-For
header should preserve the source port that the client used to connect to the load balancer. The possible values aretrue
andfalse
. The default isfalse
.routing.http2.enabled
- Indicates whether HTTP/2 is enabled. The possible values aretrue
andfalse
. The default istrue
. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens.waf.fail_open.enabled
- Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values aretrue
andfalse
. The default isfalse
.
The following attribute is supported by Network Load Balancers and Gateway Load Balancers:
load_balancing.cross_zone.enabled
- Indicates whether cross-zone load balancing is enabled. The possible values aretrue
andfalse
. The default isfalse
.
LoadBalancerState
data LoadBalancerState Source #
Information about the state of the load balancer.
See: newLoadBalancerState
smart constructor.
Instances
newLoadBalancerState :: LoadBalancerState Source #
Create a value of LoadBalancerState
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:reason:LoadBalancerState'
, loadBalancerState_reason
- A description of the state.
$sel:code:LoadBalancerState'
, loadBalancerState_code
- The state code. The initial state of the load balancer is
provisioning
. After the load balancer is fully set up and ready to
route traffic, its state is active
. If load balancer is routing
traffic but does not have the resources it needs to scale, its state
isactive_impaired
. If the load balancer could not be set up, its state
is failed
.
Matcher
The codes to use when checking for a successful response from a target. If the protocol version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.
See: newMatcher
smart constructor.
Instances
Eq Matcher Source # | |
Read Matcher Source # | |
Show Matcher Source # | |
Generic Matcher Source # | |
NFData Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher | |
Hashable Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher | |
ToQuery Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher toQuery :: Matcher -> QueryString # | |
FromXML Matcher Source # | |
type Rep Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher type Rep Matcher = D1 ('MetaData "Matcher" "Amazonka.ELBV2.Types.Matcher" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "Matcher'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "grpcCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newMatcher :: Matcher Source #
Create a value of Matcher
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:httpCode:Matcher'
, matcher_httpCode
- For Application Load Balancers, you can specify values between 200 and
499, and the default value is 200. You can specify multiple values (for
example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Note that when using shorthand syntax, some values such as commas need to be escaped.
$sel:grpcCode:Matcher'
, matcher_grpcCode
- You can specify values between 0 and 99. You can specify multiple values
(for example, "0,1") or a range of values (for example, "0-5"). The
default value is 12.
PathPatternConditionConfig
data PathPatternConditionConfig Source #
Information about a path pattern condition.
See: newPathPatternConditionConfig
smart constructor.
Instances
newPathPatternConditionConfig :: PathPatternConditionConfig Source #
Create a value of PathPatternConditionConfig
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:values:PathPatternConditionConfig'
, pathPatternConditionConfig_values
- One or more path patterns to compare against the request URL. The
maximum size of each string is 128 characters. The comparison is case
sensitive. The following wildcard characters are supported: * (matches 0
or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
QueryStringConditionConfig
data QueryStringConditionConfig Source #
Information about a query string condition.
The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.
See: newQueryStringConditionConfig
smart constructor.
Instances
newQueryStringConditionConfig :: QueryStringConditionConfig Source #
Create a value of QueryStringConditionConfig
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:values:QueryStringConditionConfig'
, queryStringConditionConfig_values
- One or more key/value pairs or values to find in the query string. The
maximum size of each string is 128 characters. The comparison is case
insensitive. The following wildcard characters are supported: * (matches
0 or more characters) and ? (matches exactly 1 character). To search for
a literal '*' or '?' character in a query string, you must escape
these characters in Values
using a '\' character.
If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
QueryStringKeyValuePair
data QueryStringKeyValuePair Source #
Information about a key/value pair.
See: newQueryStringKeyValuePair
smart constructor.
Instances
newQueryStringKeyValuePair :: QueryStringKeyValuePair Source #
Create a value of QueryStringKeyValuePair
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:value:QueryStringKeyValuePair'
, queryStringKeyValuePair_value
- The value.
$sel:key:QueryStringKeyValuePair'
, queryStringKeyValuePair_key
- The key. You can omit the key.
RedirectActionConfig
data RedirectActionConfig Source #
Information about a redirect action.
A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.
You can reuse URI components using the following reserved keywords:
- #{protocol}
- #{host}
- #{port}
- #{path} (the leading "/" is removed)
- #{query}
For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz".
See: newRedirectActionConfig
smart constructor.
RedirectActionConfig' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) RedirectActionStatusCodeEnum |
Instances
newRedirectActionConfig Source #
Create a value of RedirectActionConfig
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:path:RedirectActionConfig'
, redirectActionConfig_path
- The absolute path, starting with the leading "/". This component is
not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
$sel:protocol:RedirectActionConfig'
, redirectActionConfig_protocol
- The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can
redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot
redirect HTTPS to HTTP.
$sel:query:RedirectActionConfig'
, redirectActionConfig_query
- The query parameters, URL-encoded when necessary, but not
percent-encoded. Do not include the leading "?", as it is
automatically added. You can specify any of the reserved keywords.
$sel:host:RedirectActionConfig'
, redirectActionConfig_host
- The hostname. This component is not percent-encoded. The hostname can
contain #{host}.
$sel:port:RedirectActionConfig'
, redirectActionConfig_port
- The port. You can specify a value from 1 to 65535 or #{port}.
$sel:statusCode:RedirectActionConfig'
, redirectActionConfig_statusCode
- The HTTP redirect code. The redirect is either permanent (HTTP 301) or
temporary (HTTP 302).
Rule
Information about a rule.
See: newRule
smart constructor.
Instances
Create a value of Rule
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:priority:Rule'
, rule_priority
- The priority.
$sel:actions:Rule'
, rule_actions
- The actions. Each rule must include exactly one of the following types
of actions: forward
, redirect
, or fixed-response
, and it must be
the last action to be performed.
$sel:conditions:Rule'
, rule_conditions
- The conditions. Each rule can include zero or one of the following
conditions: http-request-method
, host-header
, path-pattern
, and
source-ip
, and zero or more of the following conditions: http-header
and query-string
.
$sel:ruleArn:Rule'
, rule_ruleArn
- The Amazon Resource Name (ARN) of the rule.
$sel:isDefault:Rule'
, rule_isDefault
- Indicates whether this is the default rule.
RuleCondition
data RuleCondition Source #
Information about a condition for a rule.
Each rule can optionally include up to one of each of the following
conditions: http-request-method
, host-header
, path-pattern
, and
source-ip
. Each rule can also optionally include one or more of each
of the following conditions: http-header
and query-string
.
See: newRuleCondition
smart constructor.
Instances
newRuleCondition :: RuleCondition Source #
Create a value of RuleCondition
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:field:RuleCondition'
, ruleCondition_field
- The field in the HTTP request. The following are the possible values:
http-header
http-request-method
host-header
path-pattern
query-string
source-ip
$sel:httpHeaderConfig:RuleCondition'
, ruleCondition_httpHeaderConfig
- Information for an HTTP header condition. Specify only when Field
is
http-header
.
$sel:hostHeaderConfig:RuleCondition'
, ruleCondition_hostHeaderConfig
- Information for a host header condition. Specify only when Field
is
host-header
.
$sel:values:RuleCondition'
, ruleCondition_values
- The condition value. Specify only when Field
is host-header
or
path-pattern
. Alternatively, to specify multiple host names or
multiple path patterns, use HostHeaderConfig
or PathPatternConfig
.
If Field
is host-header
and you are not using HostHeaderConfig
,
you can specify a single host name (for example, my.example.com) in
Values
. A host name is case insensitive, can be up to 128 characters
in length, and can contain any of the following characters.
- A-Z, a-z, 0-9
- - .
- * (matches 0 or more characters)
- ? (matches exactly 1 character)
If Field
is path-pattern
and you are not using PathPatternConfig
,
you can specify a single path pattern (for example, /img/*) in
Values
. A path pattern is case-sensitive, can be up to 128 characters
in length, and can contain any of the following characters.
- A-Z, a-z, 0-9
- _ - . $ / ~ " ' @ : +
- & (using &)
- * (matches 0 or more characters)
- ? (matches exactly 1 character)
$sel:sourceIpConfig:RuleCondition'
, ruleCondition_sourceIpConfig
- Information for a source IP condition. Specify only when Field
is
source-ip
.
$sel:httpRequestMethodConfig:RuleCondition'
, ruleCondition_httpRequestMethodConfig
- Information for an HTTP method condition. Specify only when Field
is
http-request-method
.
$sel:pathPatternConfig:RuleCondition'
, ruleCondition_pathPatternConfig
- Information for a path pattern condition. Specify only when Field
is
path-pattern
.
$sel:queryStringConfig:RuleCondition'
, ruleCondition_queryStringConfig
- Information for a query string condition. Specify only when Field
is
query-string
.
RulePriorityPair
data RulePriorityPair Source #
Information about the priorities for the rules for a listener.
See: newRulePriorityPair
smart constructor.
Instances
newRulePriorityPair :: RulePriorityPair Source #
Create a value of RulePriorityPair
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:priority:RulePriorityPair'
, rulePriorityPair_priority
- The rule priority.
$sel:ruleArn:RulePriorityPair'
, rulePriorityPair_ruleArn
- The Amazon Resource Name (ARN) of the rule.
SourceIpConditionConfig
data SourceIpConditionConfig Source #
Information about a source IP condition.
You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client.
See: newSourceIpConditionConfig
smart constructor.
Instances
newSourceIpConditionConfig :: SourceIpConditionConfig Source #
Create a value of SourceIpConditionConfig
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:values:SourceIpConditionConfig'
, sourceIpConditionConfig_values
- One or more source IP addresses, in CIDR format. You can use both IPv4
and IPv6 addresses. Wildcards are not supported.
If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use HttpHeaderConditionConfig.
SslPolicy
Information about a policy used for SSL negotiation.
See: newSslPolicy
smart constructor.
Instances
Eq SslPolicy Source # | |
Read SslPolicy Source # | |
Show SslPolicy Source # | |
Generic SslPolicy Source # | |
NFData SslPolicy Source # | |
Defined in Amazonka.ELBV2.Types.SslPolicy | |
Hashable SslPolicy Source # | |
Defined in Amazonka.ELBV2.Types.SslPolicy | |
FromXML SslPolicy Source # | |
type Rep SslPolicy Source # | |
Defined in Amazonka.ELBV2.Types.SslPolicy type Rep SslPolicy = D1 ('MetaData "SslPolicy" "Amazonka.ELBV2.Types.SslPolicy" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "SslPolicy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "supportedLoadBalancerTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "ciphers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Cipher]))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sslProtocols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) |
newSslPolicy :: SslPolicy Source #
Create a value of SslPolicy
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:supportedLoadBalancerTypes:SslPolicy'
, sslPolicy_supportedLoadBalancerTypes
- The supported load balancers.
$sel:ciphers:SslPolicy'
, sslPolicy_ciphers
- The ciphers.
$sel:name:SslPolicy'
, sslPolicy_name
- The name of the policy.
$sel:sslProtocols:SslPolicy'
, sslPolicy_sslProtocols
- The protocols.
SubnetMapping
data SubnetMapping Source #
Information about a subnet mapping.
See: newSubnetMapping
smart constructor.
Instances
newSubnetMapping :: SubnetMapping Source #
Create a value of SubnetMapping
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:iPv6Address:SubnetMapping'
, subnetMapping_iPv6Address
- [Network Load Balancers] The IPv6 address.
$sel:allocationId:SubnetMapping'
, subnetMapping_allocationId
- [Network Load Balancers] The allocation ID of the Elastic IP address for
an internet-facing load balancer.
$sel:privateIPv4Address:SubnetMapping'
, subnetMapping_privateIPv4Address
- [Network Load Balancers] The private IPv4 address for an internal load
balancer.
$sel:subnetId:SubnetMapping'
, subnetMapping_subnetId
- The ID of the subnet.
Tag
Information about a tag.
See: newTag
smart constructor.
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.ELBV2.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.ELBV2.Types.Tag | |
ToQuery Tag Source # | |
Defined in Amazonka.ELBV2.Types.Tag toQuery :: Tag -> QueryString # | |
FromXML Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.ELBV2.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ELBV2.Types.Tag" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
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:value:Tag'
, tag_value
- The value of the tag.
$sel:key:Tag'
, tag_key
- The key of the tag.
TagDescription
data TagDescription Source #
The tags associated with a resource.
See: newTagDescription
smart constructor.
Instances
newTagDescription :: TagDescription Source #
Create a value of TagDescription
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:resourceArn:TagDescription'
, tagDescription_resourceArn
- The Amazon Resource Name (ARN) of the resource.
$sel:tags:TagDescription'
, tagDescription_tags
- Information about the tags.
TargetDescription
data TargetDescription Source #
Information about a target.
See: newTargetDescription
smart constructor.
Instances
Create a value of TargetDescription
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:availabilityZone:TargetDescription'
, targetDescription_availabilityZone
- An Availability Zone or all
. This determines whether the target
receives traffic from the load balancer nodes in the specified
Availability Zone or from all enabled Availability Zones for the load
balancer.
This parameter is not supported if the target type of the target group
is instance
or alb
.
If the target type is ip
and the IP address is in a subnet of the VPC
for the target group, the Availability Zone is automatically detected
and this parameter is optional. If the IP address is outside the VPC,
this parameter is required.
With an Application Load Balancer, if the target type is ip
and the IP
address is outside the VPC for the target group, the only supported
value is all
.
If the target type is lambda
, this parameter is optional and the only
supported value is all
.
$sel:port:TargetDescription'
, targetDescription_port
- The port on which the target is listening. If the target group protocol
is GENEVE, the supported port is 6081. If the target type is alb
, the
targeted Application Load Balancer must have at least one listener whose
port matches the target group port. Not used if the target is a Lambda
function.
$sel:id:TargetDescription'
, targetDescription_id
- The ID of the target. If the target type of the target group is
instance
, specify an instance ID. If the target type is ip
, specify
an IP address. If the target type is lambda
, specify the ARN of the
Lambda function. If the target type is alb
, specify the ARN of the
Application Load Balancer target.
TargetGroup
data TargetGroup Source #
Information about a target group.
See: newTargetGroup
smart constructor.
TargetGroup' (Maybe Text) (Maybe Matcher) (Maybe Text) (Maybe Bool) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe ProtocolEnum) (Maybe Natural) (Maybe TargetTypeEnum) (Maybe Natural) (Maybe ProtocolEnum) (Maybe [Text]) (Maybe TargetGroupIpAddressTypeEnum) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Natural) |
Instances
newTargetGroup :: TargetGroup Source #
Create a value of TargetGroup
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:protocolVersion:TargetGroup'
, targetGroup_protocolVersion
- [HTTP/HTTPS protocol] The protocol version. The possible values are
GRPC
, HTTP1
, and HTTP2
.
$sel:matcher:TargetGroup'
, targetGroup_matcher
- The HTTP or gRPC codes to use when checking for a successful response
from a target.
$sel:healthCheckPath:TargetGroup'
, targetGroup_healthCheckPath
- The destination for health checks on the targets.
$sel:healthCheckEnabled:TargetGroup'
, targetGroup_healthCheckEnabled
- Indicates whether health checks are enabled.
$sel:unhealthyThresholdCount:TargetGroup'
, targetGroup_unhealthyThresholdCount
- The number of consecutive health check failures required before
considering the target unhealthy.
$sel:vpcId:TargetGroup'
, targetGroup_vpcId
- The ID of the VPC for the targets.
$sel:targetGroupArn:TargetGroup'
, targetGroup_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
$sel:protocol:TargetGroup'
, targetGroup_protocol
- The protocol to use for routing traffic to the targets.
$sel:healthCheckIntervalSeconds:TargetGroup'
, targetGroup_healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an
individual target.
$sel:targetType:TargetGroup'
, targetGroup_targetType
- The type of target that you must specify when registering targets with
this target group. The possible values are instance
(register targets
by instance ID), ip
(register targets by IP address), lambda
(register a single Lambda function as a target), or alb
(register a
single Application Load Balancer as a target).
$sel:healthyThresholdCount:TargetGroup'
, targetGroup_healthyThresholdCount
- The number of consecutive health checks successes required before
considering an unhealthy target healthy.
$sel:healthCheckProtocol:TargetGroup'
, targetGroup_healthCheckProtocol
- The protocol to use to connect with the target. The GENEVE, TLS, UDP,
and TCP_UDP protocols are not supported for health checks.
$sel:loadBalancerArns:TargetGroup'
, targetGroup_loadBalancerArns
- The Amazon Resource Names (ARN) of the load balancers that route traffic
to this target group.
$sel:ipAddressType:TargetGroup'
, targetGroup_ipAddressType
- The type of IP address used for this target group. The possible values
are ipv4
and ipv6
. This is an optional parameter. If not specified,
the IP address type defaults to ipv4
.
$sel:healthCheckTimeoutSeconds:TargetGroup'
, targetGroup_healthCheckTimeoutSeconds
- The amount of time, in seconds, during which no response means a failed
health check.
$sel:healthCheckPort:TargetGroup'
, targetGroup_healthCheckPort
- The port to use to connect with the target.
$sel:targetGroupName:TargetGroup'
, targetGroup_targetGroupName
- The name of the target group.
$sel:port:TargetGroup'
, targetGroup_port
- The port on which the targets are listening. Not used if the target is a
Lambda function.
TargetGroupAttribute
data TargetGroupAttribute Source #
Information about a target group attribute.
See: newTargetGroupAttribute
smart constructor.
Instances
newTargetGroupAttribute :: TargetGroupAttribute Source #
Create a value of TargetGroupAttribute
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:value:TargetGroupAttribute'
, targetGroupAttribute_value
- The value of the attribute.
$sel:key:TargetGroupAttribute'
, targetGroupAttribute_key
- The name of the attribute.
The following attribute is supported by all load balancers:
deregistration_delay.timeout_seconds
- The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target fromdraining
tounused
. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.
The following attributes are supported by both Application Load Balancers and Network Load Balancers:
stickiness.enabled
- Indicates whether sticky sessions are enabled. The value istrue
orfalse
. The default isfalse
.stickiness.type
- The type of sticky sessions. The possible values arelb_cookie
andapp_cookie
for Application Load Balancers orsource_ip
for Network Load Balancers.
The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:
load_balancing.algorithm.type
- The load balancing algorithm determines how the load balancer selects targets when routing requests. The value isround_robin
orleast_outstanding_requests
. The default isround_robin
.slow_start.duration_seconds
- The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled).stickiness.app_cookie.cookie_name
- Indicates the name of the application-based cookie. Names that start with the following prefixes are not allowed:AWSALB
,AWSALBAPP
, andAWSALBTG
; they're reserved for use by the load balancer.stickiness.app_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the application-based cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).stickiness.lb_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:
lambda.multi_value_headers.enabled
- Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value istrue
orfalse
. The default isfalse
. If the value isfalse
and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.
The following attributes are supported only by Network Load Balancers:
deregistration_delay.connection_termination.enabled
- Indicates whether the load balancer terminates connections at the end of the deregistration timeout. The value istrue
orfalse
. The default isfalse
.preserve_client_ip.enabled
- Indicates whether client IP preservation is enabled. The value istrue
orfalse
. The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and TCP_UDP target groups.proxy_protocol_v2.enabled
- Indicates whether Proxy Protocol version 2 is enabled. The value istrue
orfalse
. The default isfalse
.
TargetGroupStickinessConfig
data TargetGroupStickinessConfig Source #
Information about the target group stickiness for a rule.
See: newTargetGroupStickinessConfig
smart constructor.
Instances
newTargetGroupStickinessConfig :: TargetGroupStickinessConfig Source #
Create a value of TargetGroupStickinessConfig
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:enabled:TargetGroupStickinessConfig'
, targetGroupStickinessConfig_enabled
- Indicates whether target group stickiness is enabled.
$sel:durationSeconds:TargetGroupStickinessConfig'
, targetGroupStickinessConfig_durationSeconds
- The time period, in seconds, during which requests from a client should
be routed to the same target group. The range is 1-604800 seconds (7
days).
TargetGroupTuple
data TargetGroupTuple Source #
Information about how traffic will be distributed between multiple target groups in a forward rule.
See: newTargetGroupTuple
smart constructor.
Instances
newTargetGroupTuple :: TargetGroupTuple Source #
Create a value of TargetGroupTuple
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:weight:TargetGroupTuple'
, targetGroupTuple_weight
- The weight. The range is 0 to 999.
$sel:targetGroupArn:TargetGroupTuple'
, targetGroupTuple_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
TargetHealth
data TargetHealth Source #
Information about the current health of a target.
See: newTargetHealth
smart constructor.
Instances
newTargetHealth :: TargetHealth Source #
Create a value of TargetHealth
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:state:TargetHealth'
, targetHealth_state
- The state of the target.
$sel:reason:TargetHealth'
, targetHealth_reason
- The reason code.
If the target state is healthy
, a reason code is not provided.
If the target state is initial
, the reason code can be one of the
following values:
Elb.RegistrationInProgress
- The target is in the process of being registered with the load balancer.Elb.InitialHealthChecking
- The load balancer is still sending the target the minimum number of health checks required to determine its health status.
If the target state is unhealthy
, the reason code can be one of the
following values:
Target.ResponseCodeMismatch
- The health checks did not return an expected HTTP code. Applies only to Application Load Balancers and Gateway Load Balancers.Target.Timeout
- The health check requests timed out. Applies only to Application Load Balancers and Gateway Load Balancers.Target.FailedHealthChecks
- The load balancer received an error while establishing a connection to the target or the target response was malformed.Elb.InternalError
- The health checks failed due to an internal error. Applies only to Application Load Balancers.
If the target state is unused
, the reason code can be one of the
following values:
Target.NotRegistered
- The target is not registered with the target group.Target.NotInUse
- The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer.Target.InvalidState
- The target is in the stopped or terminated state.Target.IpUnusable
- The target IP address is reserved for use by a load balancer.
If the target state is draining
, the reason code can be the following
value:
Target.DeregistrationInProgress
- The target is in the process of being deregistered and the deregistration delay period has not expired.
If the target state is unavailable
, the reason code can be the
following value:
Target.HealthCheckDisabled
- Health checks are disabled for the target group. Applies only to Application Load Balancers.Elb.InternalError
- Target health is unavailable due to an internal error. Applies only to Network Load Balancers.
$sel:description:TargetHealth'
, targetHealth_description
- A description of the target health that provides additional details. If
the state is healthy
, a description is not provided.
TargetHealthDescription
data TargetHealthDescription Source #
Information about the health of a target.
See: newTargetHealthDescription
smart constructor.
Instances
newTargetHealthDescription :: TargetHealthDescription Source #
Create a value of TargetHealthDescription
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:targetHealth:TargetHealthDescription'
, targetHealthDescription_targetHealth
- The health information for the target.
$sel:healthCheckPort:TargetHealthDescription'
, targetHealthDescription_healthCheckPort
- The port to use to connect with the target.
$sel:target:TargetHealthDescription'
, targetHealthDescription_target
- The description of the target.