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
- Re-exported Types
- AccessLog
- AdditionalAttribute
- AppCookieStickinessPolicy
- BackendServerDescription
- ConnectionDraining
- ConnectionSettings
- CrossZoneLoadBalancing
- HealthCheck
- Instance
- InstanceState
- LBCookieStickinessPolicy
- Limit
- Listener
- ListenerDescription
- LoadBalancerAttributes
- LoadBalancerDescription
- Policies
- PolicyAttribute
- PolicyAttributeDescription
- PolicyAttributeTypeDescription
- PolicyDescription
- PolicyTypeDescription
- SourceSecurityGroup
- Tag
- TagDescription
- TagKeyOnly
Synopsis
- defaultService :: Service
- _PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessPointNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicatePolicyNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidConfigurationRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _SubnetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LoadBalancerAttributeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSubnetException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateTagKeysException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateListenerException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError
- _PolicyTypeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedProtocolException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateAccessPointNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSecurityGroupException :: AsError a => Getting (First ServiceError) a ServiceError
- _ListenerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidEndPointException :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError
- _DependencyThrottleException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSchemeException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyAccessPointsException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyPoliciesException :: AsError a => Getting (First ServiceError) a ServiceError
- _CertificateNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- module Amazonka.ELB.Internal
- data AccessLog = AccessLog' {
- emitInterval :: Maybe Int
- s3BucketPrefix :: Maybe Text
- s3BucketName :: Maybe Text
- enabled :: Bool
- newAccessLog :: Bool -> AccessLog
- accessLog_emitInterval :: Lens' AccessLog (Maybe Int)
- accessLog_s3BucketPrefix :: Lens' AccessLog (Maybe Text)
- accessLog_s3BucketName :: Lens' AccessLog (Maybe Text)
- accessLog_enabled :: Lens' AccessLog Bool
- data AdditionalAttribute = AdditionalAttribute' {}
- newAdditionalAttribute :: AdditionalAttribute
- additionalAttribute_value :: Lens' AdditionalAttribute (Maybe Text)
- additionalAttribute_key :: Lens' AdditionalAttribute (Maybe Text)
- data AppCookieStickinessPolicy = AppCookieStickinessPolicy' {
- policyName :: Maybe Text
- cookieName :: Maybe Text
- newAppCookieStickinessPolicy :: AppCookieStickinessPolicy
- appCookieStickinessPolicy_policyName :: Lens' AppCookieStickinessPolicy (Maybe Text)
- appCookieStickinessPolicy_cookieName :: Lens' AppCookieStickinessPolicy (Maybe Text)
- data BackendServerDescription = BackendServerDescription' {
- policyNames :: Maybe [Text]
- instancePort :: Maybe Natural
- newBackendServerDescription :: BackendServerDescription
- backendServerDescription_policyNames :: Lens' BackendServerDescription (Maybe [Text])
- backendServerDescription_instancePort :: Lens' BackendServerDescription (Maybe Natural)
- data ConnectionDraining = ConnectionDraining' {}
- newConnectionDraining :: Bool -> ConnectionDraining
- connectionDraining_timeout :: Lens' ConnectionDraining (Maybe Int)
- connectionDraining_enabled :: Lens' ConnectionDraining Bool
- data ConnectionSettings = ConnectionSettings' {}
- newConnectionSettings :: Natural -> ConnectionSettings
- connectionSettings_idleTimeout :: Lens' ConnectionSettings Natural
- data CrossZoneLoadBalancing = CrossZoneLoadBalancing' {}
- newCrossZoneLoadBalancing :: Bool -> CrossZoneLoadBalancing
- crossZoneLoadBalancing_enabled :: Lens' CrossZoneLoadBalancing Bool
- data HealthCheck = HealthCheck' {}
- newHealthCheck :: Text -> Natural -> Natural -> Natural -> Natural -> HealthCheck
- healthCheck_target :: Lens' HealthCheck Text
- healthCheck_interval :: Lens' HealthCheck Natural
- healthCheck_timeout :: Lens' HealthCheck Natural
- healthCheck_unhealthyThreshold :: Lens' HealthCheck Natural
- healthCheck_healthyThreshold :: Lens' HealthCheck Natural
- data Instance = Instance' {
- instanceId :: Maybe Text
- newInstance :: Instance
- instance_instanceId :: Lens' Instance (Maybe Text)
- data InstanceState = InstanceState' {
- instanceId :: Maybe Text
- state :: Maybe Text
- reasonCode :: Maybe Text
- description :: Maybe Text
- newInstanceState :: InstanceState
- instanceState_instanceId :: Lens' InstanceState (Maybe Text)
- instanceState_state :: Lens' InstanceState (Maybe Text)
- instanceState_reasonCode :: Lens' InstanceState (Maybe Text)
- instanceState_description :: Lens' InstanceState (Maybe Text)
- data LBCookieStickinessPolicy = LBCookieStickinessPolicy' {}
- newLBCookieStickinessPolicy :: LBCookieStickinessPolicy
- lBCookieStickinessPolicy_policyName :: Lens' LBCookieStickinessPolicy (Maybe Text)
- lBCookieStickinessPolicy_cookieExpirationPeriod :: Lens' LBCookieStickinessPolicy (Maybe Integer)
- data Limit = Limit' {}
- newLimit :: Limit
- limit_max :: Lens' Limit (Maybe Text)
- limit_name :: Lens' Limit (Maybe Text)
- data Listener = Listener' {}
- newListener :: Text -> Int -> Natural -> Listener
- listener_instanceProtocol :: Lens' Listener (Maybe Text)
- listener_sSLCertificateId :: Lens' Listener (Maybe Text)
- listener_protocol :: Lens' Listener Text
- listener_loadBalancerPort :: Lens' Listener Int
- listener_instancePort :: Lens' Listener Natural
- data ListenerDescription = ListenerDescription' {}
- newListenerDescription :: ListenerDescription
- listenerDescription_policyNames :: Lens' ListenerDescription (Maybe [Text])
- listenerDescription_listener :: Lens' ListenerDescription (Maybe Listener)
- data LoadBalancerAttributes = LoadBalancerAttributes' {}
- newLoadBalancerAttributes :: LoadBalancerAttributes
- loadBalancerAttributes_crossZoneLoadBalancing :: Lens' LoadBalancerAttributes (Maybe CrossZoneLoadBalancing)
- loadBalancerAttributes_accessLog :: Lens' LoadBalancerAttributes (Maybe AccessLog)
- loadBalancerAttributes_additionalAttributes :: Lens' LoadBalancerAttributes (Maybe [AdditionalAttribute])
- loadBalancerAttributes_connectionSettings :: Lens' LoadBalancerAttributes (Maybe ConnectionSettings)
- loadBalancerAttributes_connectionDraining :: Lens' LoadBalancerAttributes (Maybe ConnectionDraining)
- data LoadBalancerDescription = LoadBalancerDescription' {
- sourceSecurityGroup :: Maybe SourceSecurityGroup
- canonicalHostedZoneName :: Maybe Text
- securityGroups :: Maybe [Text]
- healthCheck :: Maybe HealthCheck
- loadBalancerName :: Maybe Text
- createdTime :: Maybe ISO8601
- vPCId :: Maybe Text
- subnets :: Maybe [Text]
- availabilityZones :: Maybe [Text]
- backendServerDescriptions :: Maybe [BackendServerDescription]
- canonicalHostedZoneNameID :: Maybe Text
- instances :: Maybe [Instance]
- scheme :: Maybe Text
- listenerDescriptions :: Maybe [ListenerDescription]
- dNSName :: Maybe Text
- policies :: Maybe Policies
- newLoadBalancerDescription :: LoadBalancerDescription
- loadBalancerDescription_sourceSecurityGroup :: Lens' LoadBalancerDescription (Maybe SourceSecurityGroup)
- loadBalancerDescription_canonicalHostedZoneName :: Lens' LoadBalancerDescription (Maybe Text)
- loadBalancerDescription_securityGroups :: Lens' LoadBalancerDescription (Maybe [Text])
- loadBalancerDescription_healthCheck :: Lens' LoadBalancerDescription (Maybe HealthCheck)
- loadBalancerDescription_loadBalancerName :: Lens' LoadBalancerDescription (Maybe Text)
- loadBalancerDescription_createdTime :: Lens' LoadBalancerDescription (Maybe UTCTime)
- loadBalancerDescription_vPCId :: Lens' LoadBalancerDescription (Maybe Text)
- loadBalancerDescription_subnets :: Lens' LoadBalancerDescription (Maybe [Text])
- loadBalancerDescription_availabilityZones :: Lens' LoadBalancerDescription (Maybe [Text])
- loadBalancerDescription_backendServerDescriptions :: Lens' LoadBalancerDescription (Maybe [BackendServerDescription])
- loadBalancerDescription_canonicalHostedZoneNameID :: Lens' LoadBalancerDescription (Maybe Text)
- loadBalancerDescription_instances :: Lens' LoadBalancerDescription (Maybe [Instance])
- loadBalancerDescription_scheme :: Lens' LoadBalancerDescription (Maybe Text)
- loadBalancerDescription_listenerDescriptions :: Lens' LoadBalancerDescription (Maybe [ListenerDescription])
- loadBalancerDescription_dNSName :: Lens' LoadBalancerDescription (Maybe Text)
- loadBalancerDescription_policies :: Lens' LoadBalancerDescription (Maybe Policies)
- data Policies = Policies' {}
- newPolicies :: Policies
- policies_otherPolicies :: Lens' Policies (Maybe [Text])
- policies_lBCookieStickinessPolicies :: Lens' Policies (Maybe [LBCookieStickinessPolicy])
- policies_appCookieStickinessPolicies :: Lens' Policies (Maybe [AppCookieStickinessPolicy])
- data PolicyAttribute = PolicyAttribute' {}
- newPolicyAttribute :: PolicyAttribute
- policyAttribute_attributeValue :: Lens' PolicyAttribute (Maybe Text)
- policyAttribute_attributeName :: Lens' PolicyAttribute (Maybe Text)
- data PolicyAttributeDescription = PolicyAttributeDescription' {}
- newPolicyAttributeDescription :: PolicyAttributeDescription
- policyAttributeDescription_attributeValue :: Lens' PolicyAttributeDescription (Maybe Text)
- policyAttributeDescription_attributeName :: Lens' PolicyAttributeDescription (Maybe Text)
- data PolicyAttributeTypeDescription = PolicyAttributeTypeDescription' {}
- newPolicyAttributeTypeDescription :: PolicyAttributeTypeDescription
- policyAttributeTypeDescription_attributeType :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- policyAttributeTypeDescription_cardinality :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- policyAttributeTypeDescription_defaultValue :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- policyAttributeTypeDescription_attributeName :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- policyAttributeTypeDescription_description :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- data PolicyDescription = PolicyDescription' {}
- newPolicyDescription :: PolicyDescription
- policyDescription_policyName :: Lens' PolicyDescription (Maybe Text)
- policyDescription_policyAttributeDescriptions :: Lens' PolicyDescription (Maybe [PolicyAttributeDescription])
- policyDescription_policyTypeName :: Lens' PolicyDescription (Maybe Text)
- data PolicyTypeDescription = PolicyTypeDescription' {}
- newPolicyTypeDescription :: PolicyTypeDescription
- policyTypeDescription_policyTypeName :: Lens' PolicyTypeDescription (Maybe Text)
- policyTypeDescription_description :: Lens' PolicyTypeDescription (Maybe Text)
- policyTypeDescription_policyAttributeTypeDescriptions :: Lens' PolicyTypeDescription (Maybe [PolicyAttributeTypeDescription])
- data SourceSecurityGroup = SourceSecurityGroup' {}
- newSourceSecurityGroup :: SourceSecurityGroup
- sourceSecurityGroup_ownerAlias :: Lens' SourceSecurityGroup (Maybe Text)
- sourceSecurityGroup_groupName :: Lens' SourceSecurityGroup (Maybe Text)
- data Tag = Tag' {}
- newTag :: Text -> Tag
- tag_value :: Lens' Tag (Maybe Text)
- tag_key :: Lens' Tag Text
- data TagDescription = TagDescription' {}
- newTagDescription :: TagDescription
- tagDescription_loadBalancerName :: Lens' TagDescription (Maybe Text)
- tagDescription_tags :: Lens' TagDescription (Maybe (NonEmpty Tag))
- data TagKeyOnly = TagKeyOnly' {}
- newTagKeyOnly :: TagKeyOnly
- tagKeyOnly_key :: Lens' TagKeyOnly (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2012-06-01
of the Amazon Elastic Load Balancing SDK configuration.
Errors
_PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of the specified policies do not exist.
_AccessPointNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified load balancer does not exist.
_DuplicatePolicyNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A policy with the specified name already exists for this load balancer.
_InvalidConfigurationRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested configuration change is not valid.
_SubnetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of the specified subnets do not exist.
_LoadBalancerAttributeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified load balancer attribute does not exist.
_InvalidSubnetException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified VPC has no associated Internet gateway.
_DuplicateTagKeysException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A tag key was specified more than once.
_DuplicateListenerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A listener already exists for the specified load balancer name and port, but with a different instance port, protocol, or SSL certificate.
_TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The quota for the number of tags that can be assigned to a load balancer has been reached.
_PolicyTypeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of the specified policy types do not exist.
_UnsupportedProtocolException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified protocol or signature version is not supported.
_DuplicateAccessPointNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified load balancer name already exists for this account.
_InvalidSecurityGroupException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of the specified security groups do not exist.
_ListenerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The load balancer does not have a listener configured at the specified port.
_InvalidEndPointException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified endpoint is not valid.
_OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This operation is not allowed.
_DependencyThrottleException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A request made by Elastic Load Balancing to another service exceeds the maximum request rate permitted for your account.
_InvalidSchemeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified value for the schema is not valid. You can only specify a scheme for load balancers in a VPC.
_TooManyAccessPointsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The quota for the number of load balancers has been reached.
_TooManyPoliciesException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The quota for the number of policies for this load balancer has been reached.
_CertificateNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if you recently uploaded the certificate to IAM, this error might indicate that the certificate is not fully available yet.
Re-exported Types
module Amazonka.ELB.Internal
AccessLog
Information about the AccessLog
attribute.
See: newAccessLog
smart constructor.
AccessLog' | |
|
Instances
Create a value of AccessLog
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:emitInterval:AccessLog'
, accessLog_emitInterval
- The interval for publishing the access logs. You can specify an interval
of either 5 minutes or 60 minutes.
Default: 60 minutes
$sel:s3BucketPrefix:AccessLog'
, accessLog_s3BucketPrefix
- The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod
. If the prefix is not provided, the log is
placed at the root level of the bucket.
$sel:s3BucketName:AccessLog'
, accessLog_s3BucketName
- The name of the Amazon S3 bucket where the access logs are stored.
$sel:enabled:AccessLog'
, accessLog_enabled
- Specifies whether access logs are enabled for the load balancer.
accessLog_emitInterval :: Lens' AccessLog (Maybe Int) Source #
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
accessLog_s3BucketPrefix :: Lens' AccessLog (Maybe Text) Source #
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod
. If the prefix is not provided, the log is
placed at the root level of the bucket.
accessLog_s3BucketName :: Lens' AccessLog (Maybe Text) Source #
The name of the Amazon S3 bucket where the access logs are stored.
accessLog_enabled :: Lens' AccessLog Bool Source #
Specifies whether access logs are enabled for the load balancer.
AdditionalAttribute
data AdditionalAttribute Source #
Information about additional load balancer attributes.
See: newAdditionalAttribute
smart constructor.
AdditionalAttribute' | |
|
Instances
newAdditionalAttribute :: AdditionalAttribute Source #
Create a value of AdditionalAttribute
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:AdditionalAttribute'
, additionalAttribute_value
- This value of the attribute.
$sel:key:AdditionalAttribute'
, additionalAttribute_key
- The name of the attribute.
The following attribute is supported.
elb.http.desyncmitigationmode
- 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
.
additionalAttribute_value :: Lens' AdditionalAttribute (Maybe Text) Source #
This value of the attribute.
additionalAttribute_key :: Lens' AdditionalAttribute (Maybe Text) Source #
The name of the attribute.
The following attribute is supported.
elb.http.desyncmitigationmode
- 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
.
AppCookieStickinessPolicy
data AppCookieStickinessPolicy Source #
Information about a policy for application-controlled session stickiness.
See: newAppCookieStickinessPolicy
smart constructor.
AppCookieStickinessPolicy' | |
|
Instances
newAppCookieStickinessPolicy :: AppCookieStickinessPolicy Source #
Create a value of AppCookieStickinessPolicy
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:policyName:AppCookieStickinessPolicy'
, appCookieStickinessPolicy_policyName
- The mnemonic name for the policy being created. The name must be unique
within a set of policies for this load balancer.
$sel:cookieName:AppCookieStickinessPolicy'
, appCookieStickinessPolicy_cookieName
- The name of the application cookie used for stickiness.
appCookieStickinessPolicy_policyName :: Lens' AppCookieStickinessPolicy (Maybe Text) Source #
The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.
appCookieStickinessPolicy_cookieName :: Lens' AppCookieStickinessPolicy (Maybe Text) Source #
The name of the application cookie used for stickiness.
BackendServerDescription
data BackendServerDescription Source #
Information about the configuration of an EC2 instance.
See: newBackendServerDescription
smart constructor.
BackendServerDescription' | |
|
Instances
newBackendServerDescription :: BackendServerDescription Source #
Create a value of BackendServerDescription
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:policyNames:BackendServerDescription'
, backendServerDescription_policyNames
- The names of the policies enabled for the EC2 instance.
$sel:instancePort:BackendServerDescription'
, backendServerDescription_instancePort
- The port on which the EC2 instance is listening.
backendServerDescription_policyNames :: Lens' BackendServerDescription (Maybe [Text]) Source #
The names of the policies enabled for the EC2 instance.
backendServerDescription_instancePort :: Lens' BackendServerDescription (Maybe Natural) Source #
The port on which the EC2 instance is listening.
ConnectionDraining
data ConnectionDraining Source #
Information about the ConnectionDraining
attribute.
See: newConnectionDraining
smart constructor.
Instances
newConnectionDraining Source #
Create a value of ConnectionDraining
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:timeout:ConnectionDraining'
, connectionDraining_timeout
- The maximum time, in seconds, to keep the existing connections open
before deregistering the instances.
$sel:enabled:ConnectionDraining'
, connectionDraining_enabled
- Specifies whether connection draining is enabled for the load balancer.
connectionDraining_timeout :: Lens' ConnectionDraining (Maybe Int) Source #
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
connectionDraining_enabled :: Lens' ConnectionDraining Bool Source #
Specifies whether connection draining is enabled for the load balancer.
ConnectionSettings
data ConnectionSettings Source #
Information about the ConnectionSettings
attribute.
See: newConnectionSettings
smart constructor.
ConnectionSettings' | |
|
Instances
newConnectionSettings Source #
Create a value of ConnectionSettings
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:idleTimeout:ConnectionSettings'
, connectionSettings_idleTimeout
- The time, in seconds, that the connection is allowed to be idle (no data
has been sent over the connection) before it is closed by the load
balancer.
connectionSettings_idleTimeout :: Lens' ConnectionSettings Natural Source #
The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
CrossZoneLoadBalancing
data CrossZoneLoadBalancing Source #
Information about the CrossZoneLoadBalancing
attribute.
See: newCrossZoneLoadBalancing
smart constructor.
Instances
newCrossZoneLoadBalancing Source #
Create a value of CrossZoneLoadBalancing
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:CrossZoneLoadBalancing'
, crossZoneLoadBalancing_enabled
- Specifies whether cross-zone load balancing is enabled for the load
balancer.
crossZoneLoadBalancing_enabled :: Lens' CrossZoneLoadBalancing Bool Source #
Specifies whether cross-zone load balancing is enabled for the load balancer.
HealthCheck
data HealthCheck Source #
Information about a health check.
See: newHealthCheck
smart constructor.
HealthCheck' | |
|
Instances
Create a value of HealthCheck
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:target:HealthCheck'
, healthCheck_target
- The instance being checked. The protocol is either TCP, HTTP, HTTPS, or
SSL. The range of valid ports is one (1) through 65535.
TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy.
SSL is also specified as SSL: port pair, for example, SSL:5000.
For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy.
The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.
$sel:interval:HealthCheck'
, healthCheck_interval
- The approximate interval, in seconds, between health checks of an
individual instance.
$sel:timeout:HealthCheck'
, healthCheck_timeout
- The amount of time, in seconds, during which no response means a failed
health check.
This value must be less than the Interval
value.
$sel:unhealthyThreshold:HealthCheck'
, healthCheck_unhealthyThreshold
- The number of consecutive health check failures required before moving
the instance to the Unhealthy
state.
$sel:healthyThreshold:HealthCheck'
, healthCheck_healthyThreshold
- The number of consecutive health checks successes required before moving
the instance to the Healthy
state.
healthCheck_target :: Lens' HealthCheck Text Source #
The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.
TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy.
SSL is also specified as SSL: port pair, for example, SSL:5000.
For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy.
The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.
healthCheck_interval :: Lens' HealthCheck Natural Source #
The approximate interval, in seconds, between health checks of an individual instance.
healthCheck_timeout :: Lens' HealthCheck Natural Source #
The amount of time, in seconds, during which no response means a failed health check.
This value must be less than the Interval
value.
healthCheck_unhealthyThreshold :: Lens' HealthCheck Natural Source #
The number of consecutive health check failures required before moving
the instance to the Unhealthy
state.
healthCheck_healthyThreshold :: Lens' HealthCheck Natural Source #
The number of consecutive health checks successes required before moving
the instance to the Healthy
state.
Instance
The ID of an EC2 instance.
See: newInstance
smart constructor.
Instance' | |
|
Instances
Eq Instance Source # | |
Read Instance Source # | |
Show Instance Source # | |
Generic Instance Source # | |
NFData Instance Source # | |
Defined in Amazonka.ELB.Types.Instance | |
Hashable Instance Source # | |
Defined in Amazonka.ELB.Types.Instance | |
ToQuery Instance Source # | |
Defined in Amazonka.ELB.Types.Instance toQuery :: Instance -> QueryString # | |
FromXML Instance Source # | |
type Rep Instance Source # | |
Defined in Amazonka.ELB.Types.Instance |
newInstance :: Instance Source #
Create a value of Instance
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:instanceId:Instance'
, instance_instanceId
- The instance ID.
InstanceState
data InstanceState Source #
Information about the state of an EC2 instance.
See: newInstanceState
smart constructor.
InstanceState' | |
|
Instances
newInstanceState :: InstanceState Source #
Create a value of InstanceState
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:instanceId:InstanceState'
, instanceState_instanceId
- The ID of the instance.
$sel:state:InstanceState'
, instanceState_state
- The current state of the instance.
Valid values: InService
| OutOfService
| Unknown
$sel:reasonCode:InstanceState'
, instanceState_reasonCode
- Information about the cause of OutOfService
instances. Specifically,
whether the cause is Elastic Load Balancing or the instance.
Valid values: ELB
| Instance
| N/A
$sel:description:InstanceState'
, instanceState_description
- A description of the instance state. This string can contain one or more
of the following messages.
N/A
A transient error occurred. Please try again later.
Instance has failed at least the UnhealthyThreshold number of health checks consecutively.
Instance has not passed the configured HealthyThreshold number of health checks consecutively.
Instance registration is still in progress.
Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to.
Instance is not currently registered with the LoadBalancer.
Instance deregistration currently in progress.
Disable Availability Zone is currently in progress.
Instance is in pending state.
Instance is in stopped state.
Instance is in terminated state.
instanceState_instanceId :: Lens' InstanceState (Maybe Text) Source #
The ID of the instance.
instanceState_state :: Lens' InstanceState (Maybe Text) Source #
The current state of the instance.
Valid values: InService
| OutOfService
| Unknown
instanceState_reasonCode :: Lens' InstanceState (Maybe Text) Source #
Information about the cause of OutOfService
instances. Specifically,
whether the cause is Elastic Load Balancing or the instance.
Valid values: ELB
| Instance
| N/A
instanceState_description :: Lens' InstanceState (Maybe Text) Source #
A description of the instance state. This string can contain one or more of the following messages.
N/A
A transient error occurred. Please try again later.
Instance has failed at least the UnhealthyThreshold number of health checks consecutively.
Instance has not passed the configured HealthyThreshold number of health checks consecutively.
Instance registration is still in progress.
Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to.
Instance is not currently registered with the LoadBalancer.
Instance deregistration currently in progress.
Disable Availability Zone is currently in progress.
Instance is in pending state.
Instance is in stopped state.
Instance is in terminated state.
LBCookieStickinessPolicy
data LBCookieStickinessPolicy Source #
Information about a policy for duration-based session stickiness.
See: newLBCookieStickinessPolicy
smart constructor.
LBCookieStickinessPolicy' | |
|
Instances
newLBCookieStickinessPolicy :: LBCookieStickinessPolicy Source #
Create a value of LBCookieStickinessPolicy
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:policyName:LBCookieStickinessPolicy'
, lBCookieStickinessPolicy_policyName
- The name of the policy. This name must be unique within the set of
policies for this load balancer.
$sel:cookieExpirationPeriod:LBCookieStickinessPolicy'
, lBCookieStickinessPolicy_cookieExpirationPeriod
- The time period, in seconds, after which the cookie should be considered
stale. If this parameter is not specified, the stickiness session lasts
for the duration of the browser session.
lBCookieStickinessPolicy_policyName :: Lens' LBCookieStickinessPolicy (Maybe Text) Source #
The name of the policy. This name must be unique within the set of policies for this load balancer.
lBCookieStickinessPolicy_cookieExpirationPeriod :: Lens' LBCookieStickinessPolicy (Maybe Integer) Source #
The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
Limit
Information about an Elastic Load Balancing resource limit for your AWS account.
See: newLimit
smart constructor.
Instances
Eq Limit Source # | |
Read Limit Source # | |
Show Limit Source # | |
Generic Limit Source # | |
NFData Limit Source # | |
Defined in Amazonka.ELB.Types.Limit | |
Hashable Limit Source # | |
Defined in Amazonka.ELB.Types.Limit | |
FromXML Limit Source # | |
type Rep Limit Source # | |
Defined in Amazonka.ELB.Types.Limit type Rep Limit = D1 ('MetaData "Limit" "Amazonka.ELB.Types.Limit" "libZSservicesZSamazonka-elbZSamazonka-elb" '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:
- classic-listeners
- classic-load-balancers
- classic-registered-instances
limit_name :: Lens' Limit (Maybe Text) Source #
The name of the limit. The possible values are:
- classic-listeners
- classic-load-balancers
- classic-registered-instances
Listener
Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.
See: newListener
smart constructor.
Listener' | |
|
Instances
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:instanceProtocol:Listener'
, listener_instanceProtocol
- The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP,
or SSL.
If the front-end protocol is TCP or SSL, the back-end protocol must be TCP or SSL. If the front-end protocol is HTTP or HTTPS, the back-end protocol must be HTTP or HTTPS.
If there is another listener with the same InstancePort
whose
InstanceProtocol
is secure, (HTTPS or SSL), the listener's
InstanceProtocol
must also be secure.
If there is another listener with the same InstancePort
whose
InstanceProtocol
is HTTP or TCP, the listener's InstanceProtocol
must be HTTP or TCP.
$sel:sSLCertificateId:Listener'
, listener_sSLCertificateId
- The Amazon Resource Name (ARN) of the server certificate.
$sel:protocol:Listener'
, listener_protocol
- The load balancer transport protocol to use for routing: HTTP, HTTPS,
TCP, or SSL.
$sel:loadBalancerPort:Listener'
, listener_loadBalancerPort
- The port on which the load balancer is listening. On EC2-VPC, you can
specify any port from the range 1-65535. On EC2-Classic, you can specify
any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
$sel:instancePort:Listener'
, listener_instancePort
- The port on which the instance is listening.
listener_instanceProtocol :: Lens' Listener (Maybe Text) Source #
The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.
If the front-end protocol is TCP or SSL, the back-end protocol must be TCP or SSL. If the front-end protocol is HTTP or HTTPS, the back-end protocol must be HTTP or HTTPS.
If there is another listener with the same InstancePort
whose
InstanceProtocol
is secure, (HTTPS or SSL), the listener's
InstanceProtocol
must also be secure.
If there is another listener with the same InstancePort
whose
InstanceProtocol
is HTTP or TCP, the listener's InstanceProtocol
must be HTTP or TCP.
listener_sSLCertificateId :: Lens' Listener (Maybe Text) Source #
The Amazon Resource Name (ARN) of the server certificate.
listener_protocol :: Lens' Listener Text Source #
The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.
listener_loadBalancerPort :: Lens' Listener Int Source #
The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
listener_instancePort :: Lens' Listener Natural Source #
The port on which the instance is listening.
ListenerDescription
data ListenerDescription Source #
The policies enabled for a listener.
See: newListenerDescription
smart constructor.
Instances
newListenerDescription :: ListenerDescription Source #
Create a value of ListenerDescription
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:policyNames:ListenerDescription'
, listenerDescription_policyNames
- The policies. If there are no policies enabled, the list is empty.
$sel:listener:ListenerDescription'
, listenerDescription_listener
- The listener.
listenerDescription_policyNames :: Lens' ListenerDescription (Maybe [Text]) Source #
The policies. If there are no policies enabled, the list is empty.
listenerDescription_listener :: Lens' ListenerDescription (Maybe Listener) Source #
The listener.
LoadBalancerAttributes
data LoadBalancerAttributes Source #
The attributes for a load balancer.
See: newLoadBalancerAttributes
smart constructor.
LoadBalancerAttributes' | |
|
Instances
newLoadBalancerAttributes :: LoadBalancerAttributes Source #
Create a value of LoadBalancerAttributes
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:crossZoneLoadBalancing:LoadBalancerAttributes'
, loadBalancerAttributes_crossZoneLoadBalancing
- If enabled, the load balancer routes the request traffic evenly across
all instances regardless of the Availability Zones.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
$sel:accessLog:LoadBalancerAttributes'
, loadBalancerAttributes_accessLog
- If enabled, the load balancer captures detailed information of all
requests and delivers the information to the Amazon S3 bucket that you
specify.
For more information, see Enable Access Logs in the Classic Load Balancers Guide.
$sel:additionalAttributes:LoadBalancerAttributes'
, loadBalancerAttributes_additionalAttributes
- Any additional attributes.
$sel:connectionSettings:LoadBalancerAttributes'
, loadBalancerAttributes_connectionSettings
- If enabled, the load balancer allows the connections to remain idle (no
data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.
$sel:connectionDraining:LoadBalancerAttributes'
, loadBalancerAttributes_connectionDraining
- If enabled, the load balancer allows existing requests to complete
before the load balancer shifts traffic away from a deregistered or
unhealthy instance.
For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
loadBalancerAttributes_crossZoneLoadBalancing :: Lens' LoadBalancerAttributes (Maybe CrossZoneLoadBalancing) Source #
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
loadBalancerAttributes_accessLog :: Lens' LoadBalancerAttributes (Maybe AccessLog) Source #
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
For more information, see Enable Access Logs in the Classic Load Balancers Guide.
loadBalancerAttributes_additionalAttributes :: Lens' LoadBalancerAttributes (Maybe [AdditionalAttribute]) Source #
Any additional attributes.
loadBalancerAttributes_connectionSettings :: Lens' LoadBalancerAttributes (Maybe ConnectionSettings) Source #
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.
loadBalancerAttributes_connectionDraining :: Lens' LoadBalancerAttributes (Maybe ConnectionDraining) Source #
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.
For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
LoadBalancerDescription
data LoadBalancerDescription Source #
Information about a load balancer.
See: newLoadBalancerDescription
smart constructor.
LoadBalancerDescription' | |
|
Instances
newLoadBalancerDescription :: LoadBalancerDescription Source #
Create a value of LoadBalancerDescription
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:sourceSecurityGroup:LoadBalancerDescription'
, loadBalancerDescription_sourceSecurityGroup
- The security group for the load balancer, which you can use as part of
your inbound rules for your registered instances. To only allow traffic
from load balancers, add a security group rule that specifies this
source security group as the inbound source.
$sel:canonicalHostedZoneName:LoadBalancerDescription'
, loadBalancerDescription_canonicalHostedZoneName
- The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.
$sel:securityGroups:LoadBalancerDescription'
, loadBalancerDescription_securityGroups
- The security groups for the load balancer. Valid only for load balancers
in a VPC.
$sel:healthCheck:LoadBalancerDescription'
, loadBalancerDescription_healthCheck
- Information about the health checks conducted on the load balancer.
$sel:loadBalancerName:LoadBalancerDescription'
, loadBalancerDescription_loadBalancerName
- The name of the load balancer.
$sel:createdTime:LoadBalancerDescription'
, loadBalancerDescription_createdTime
- The date and time the load balancer was created.
$sel:vPCId:LoadBalancerDescription'
, loadBalancerDescription_vPCId
- The ID of the VPC for the load balancer.
$sel:subnets:LoadBalancerDescription'
, loadBalancerDescription_subnets
- The IDs of the subnets for the load balancer.
$sel:availabilityZones:LoadBalancerDescription'
, loadBalancerDescription_availabilityZones
- The Availability Zones for the load balancer.
$sel:backendServerDescriptions:LoadBalancerDescription'
, loadBalancerDescription_backendServerDescriptions
- Information about your EC2 instances.
$sel:canonicalHostedZoneNameID:LoadBalancerDescription'
, loadBalancerDescription_canonicalHostedZoneNameID
- The ID of the Amazon Route 53 hosted zone for the load balancer.
$sel:instances:LoadBalancerDescription'
, loadBalancerDescription_instances
- The IDs of the instances for the load balancer.
$sel:scheme:LoadBalancerDescription'
, loadBalancerDescription_scheme
- The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS
name that resolves to a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that
resolves to a private IP address.
$sel:listenerDescriptions:LoadBalancerDescription'
, loadBalancerDescription_listenerDescriptions
- The listeners for the load balancer.
$sel:dNSName:LoadBalancerDescription'
, loadBalancerDescription_dNSName
- The DNS name of the load balancer.
$sel:policies:LoadBalancerDescription'
, loadBalancerDescription_policies
- The policies defined for the load balancer.
loadBalancerDescription_sourceSecurityGroup :: Lens' LoadBalancerDescription (Maybe SourceSecurityGroup) Source #
The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
loadBalancerDescription_canonicalHostedZoneName :: Lens' LoadBalancerDescription (Maybe Text) Source #
The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.
loadBalancerDescription_securityGroups :: Lens' LoadBalancerDescription (Maybe [Text]) Source #
The security groups for the load balancer. Valid only for load balancers in a VPC.
loadBalancerDescription_healthCheck :: Lens' LoadBalancerDescription (Maybe HealthCheck) Source #
Information about the health checks conducted on the load balancer.
loadBalancerDescription_loadBalancerName :: Lens' LoadBalancerDescription (Maybe Text) Source #
The name of the load balancer.
loadBalancerDescription_createdTime :: Lens' LoadBalancerDescription (Maybe UTCTime) Source #
The date and time the load balancer was created.
loadBalancerDescription_vPCId :: Lens' LoadBalancerDescription (Maybe Text) Source #
The ID of the VPC for the load balancer.
loadBalancerDescription_subnets :: Lens' LoadBalancerDescription (Maybe [Text]) Source #
The IDs of the subnets for the load balancer.
loadBalancerDescription_availabilityZones :: Lens' LoadBalancerDescription (Maybe [Text]) Source #
The Availability Zones for the load balancer.
loadBalancerDescription_backendServerDescriptions :: Lens' LoadBalancerDescription (Maybe [BackendServerDescription]) Source #
Information about your EC2 instances.
loadBalancerDescription_canonicalHostedZoneNameID :: Lens' LoadBalancerDescription (Maybe Text) Source #
The ID of the Amazon Route 53 hosted zone for the load balancer.
loadBalancerDescription_instances :: Lens' LoadBalancerDescription (Maybe [Instance]) Source #
The IDs of the instances for the load balancer.
loadBalancerDescription_scheme :: Lens' LoadBalancerDescription (Maybe Text) Source #
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS
name that resolves to a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that
resolves to a private IP address.
loadBalancerDescription_listenerDescriptions :: Lens' LoadBalancerDescription (Maybe [ListenerDescription]) Source #
The listeners for the load balancer.
loadBalancerDescription_dNSName :: Lens' LoadBalancerDescription (Maybe Text) Source #
The DNS name of the load balancer.
loadBalancerDescription_policies :: Lens' LoadBalancerDescription (Maybe Policies) Source #
The policies defined for the load balancer.
Policies
The policies for a load balancer.
See: newPolicies
smart constructor.
Policies' | |
|
Instances
Eq Policies Source # | |
Read Policies Source # | |
Show Policies Source # | |
Generic Policies Source # | |
NFData Policies Source # | |
Defined in Amazonka.ELB.Types.Policies | |
Hashable Policies Source # | |
Defined in Amazonka.ELB.Types.Policies | |
FromXML Policies Source # | |
type Rep Policies Source # | |
Defined in Amazonka.ELB.Types.Policies type Rep Policies = D1 ('MetaData "Policies" "Amazonka.ELB.Types.Policies" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "Policies'" 'PrefixI 'True) (S1 ('MetaSel ('Just "otherPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "lBCookieStickinessPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LBCookieStickinessPolicy])) :*: S1 ('MetaSel ('Just "appCookieStickinessPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AppCookieStickinessPolicy]))))) |
newPolicies :: Policies Source #
Create a value of Policies
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:otherPolicies:Policies'
, policies_otherPolicies
- The policies other than the stickiness policies.
$sel:lBCookieStickinessPolicies:Policies'
, policies_lBCookieStickinessPolicies
- The stickiness policies created using CreateLBCookieStickinessPolicy.
$sel:appCookieStickinessPolicies:Policies'
, policies_appCookieStickinessPolicies
- The stickiness policies created using CreateAppCookieStickinessPolicy.
policies_otherPolicies :: Lens' Policies (Maybe [Text]) Source #
The policies other than the stickiness policies.
policies_lBCookieStickinessPolicies :: Lens' Policies (Maybe [LBCookieStickinessPolicy]) Source #
The stickiness policies created using CreateLBCookieStickinessPolicy.
policies_appCookieStickinessPolicies :: Lens' Policies (Maybe [AppCookieStickinessPolicy]) Source #
The stickiness policies created using CreateAppCookieStickinessPolicy.
PolicyAttribute
data PolicyAttribute Source #
Information about a policy attribute.
See: newPolicyAttribute
smart constructor.
PolicyAttribute' | |
|
Instances
newPolicyAttribute :: PolicyAttribute Source #
Create a value of PolicyAttribute
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:attributeValue:PolicyAttribute'
, policyAttribute_attributeValue
- The value of the attribute.
$sel:attributeName:PolicyAttribute'
, policyAttribute_attributeName
- The name of the attribute.
policyAttribute_attributeValue :: Lens' PolicyAttribute (Maybe Text) Source #
The value of the attribute.
policyAttribute_attributeName :: Lens' PolicyAttribute (Maybe Text) Source #
The name of the attribute.
PolicyAttributeDescription
data PolicyAttributeDescription Source #
Information about a policy attribute.
See: newPolicyAttributeDescription
smart constructor.
PolicyAttributeDescription' | |
|
Instances
newPolicyAttributeDescription :: PolicyAttributeDescription Source #
Create a value of PolicyAttributeDescription
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:attributeValue:PolicyAttributeDescription'
, policyAttributeDescription_attributeValue
- The value of the attribute.
$sel:attributeName:PolicyAttributeDescription'
, policyAttributeDescription_attributeName
- The name of the attribute.
policyAttributeDescription_attributeValue :: Lens' PolicyAttributeDescription (Maybe Text) Source #
The value of the attribute.
policyAttributeDescription_attributeName :: Lens' PolicyAttributeDescription (Maybe Text) Source #
The name of the attribute.
PolicyAttributeTypeDescription
data PolicyAttributeTypeDescription Source #
Information about a policy attribute type.
See: newPolicyAttributeTypeDescription
smart constructor.
PolicyAttributeTypeDescription' | |
|
Instances
newPolicyAttributeTypeDescription :: PolicyAttributeTypeDescription Source #
Create a value of PolicyAttributeTypeDescription
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:attributeType:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_attributeType
- The type of the attribute. For example, Boolean
or Integer
.
$sel:cardinality:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_cardinality
- The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value is allowed
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
$sel:defaultValue:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_defaultValue
- The default value of the attribute, if applicable.
$sel:attributeName:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_attributeName
- The name of the attribute.
$sel:description:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_description
- A description of the attribute.
policyAttributeTypeDescription_attributeType :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The type of the attribute. For example, Boolean
or Integer
.
policyAttributeTypeDescription_cardinality :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value is allowed
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
policyAttributeTypeDescription_defaultValue :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The default value of the attribute, if applicable.
policyAttributeTypeDescription_attributeName :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The name of the attribute.
policyAttributeTypeDescription_description :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
A description of the attribute.
PolicyDescription
data PolicyDescription Source #
Information about a policy.
See: newPolicyDescription
smart constructor.
PolicyDescription' | |
|
Instances
newPolicyDescription :: PolicyDescription Source #
Create a value of PolicyDescription
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:policyName:PolicyDescription'
, policyDescription_policyName
- The name of the policy.
$sel:policyAttributeDescriptions:PolicyDescription'
, policyDescription_policyAttributeDescriptions
- The policy attributes.
$sel:policyTypeName:PolicyDescription'
, policyDescription_policyTypeName
- The name of the policy type.
policyDescription_policyName :: Lens' PolicyDescription (Maybe Text) Source #
The name of the policy.
policyDescription_policyAttributeDescriptions :: Lens' PolicyDescription (Maybe [PolicyAttributeDescription]) Source #
The policy attributes.
policyDescription_policyTypeName :: Lens' PolicyDescription (Maybe Text) Source #
The name of the policy type.
PolicyTypeDescription
data PolicyTypeDescription Source #
Information about a policy type.
See: newPolicyTypeDescription
smart constructor.
PolicyTypeDescription' | |
|
Instances
newPolicyTypeDescription :: PolicyTypeDescription Source #
Create a value of PolicyTypeDescription
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:policyTypeName:PolicyTypeDescription'
, policyTypeDescription_policyTypeName
- The name of the policy type.
$sel:description:PolicyTypeDescription'
, policyTypeDescription_description
- A description of the policy type.
$sel:policyAttributeTypeDescriptions:PolicyTypeDescription'
, policyTypeDescription_policyAttributeTypeDescriptions
- The description of the policy attributes associated with the policies
defined by Elastic Load Balancing.
policyTypeDescription_policyTypeName :: Lens' PolicyTypeDescription (Maybe Text) Source #
The name of the policy type.
policyTypeDescription_description :: Lens' PolicyTypeDescription (Maybe Text) Source #
A description of the policy type.
policyTypeDescription_policyAttributeTypeDescriptions :: Lens' PolicyTypeDescription (Maybe [PolicyAttributeTypeDescription]) Source #
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
SourceSecurityGroup
data SourceSecurityGroup Source #
Information about a source security group.
See: newSourceSecurityGroup
smart constructor.
Instances
newSourceSecurityGroup :: SourceSecurityGroup Source #
Create a value of SourceSecurityGroup
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:ownerAlias:SourceSecurityGroup'
, sourceSecurityGroup_ownerAlias
- The owner of the security group.
$sel:groupName:SourceSecurityGroup'
, sourceSecurityGroup_groupName
- The name of the security group.
sourceSecurityGroup_ownerAlias :: Lens' SourceSecurityGroup (Maybe Text) Source #
The owner of the security group.
sourceSecurityGroup_groupName :: Lens' SourceSecurityGroup (Maybe Text) Source #
The name of the security group.
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.ELB.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.ELB.Types.Tag | |
ToQuery Tag Source # | |
Defined in Amazonka.ELB.Types.Tag toQuery :: Tag -> QueryString # | |
FromXML Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.ELB.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ELB.Types.Tag" "libZSservicesZSamazonka-elbZSamazonka-elb" '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 load balancer.
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:loadBalancerName:TagDescription'
, tagDescription_loadBalancerName
- The name of the load balancer.
$sel:tags:TagDescription'
, tagDescription_tags
- The tags.
tagDescription_loadBalancerName :: Lens' TagDescription (Maybe Text) Source #
The name of the load balancer.
tagDescription_tags :: Lens' TagDescription (Maybe (NonEmpty Tag)) Source #
The tags.
TagKeyOnly
data TagKeyOnly Source #
The key of a tag.
See: newTagKeyOnly
smart constructor.
Instances
newTagKeyOnly :: TagKeyOnly Source #
Create a value of TagKeyOnly
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:key:TagKeyOnly'
, tagKeyOnly_key
- The name of the key.
tagKeyOnly_key :: Lens' TagKeyOnly (Maybe Text) Source #
The name of the key.