Class: Aws::ElasticLoadBalancing::Types::LoadBalancerAttributes
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancing::Types::LoadBalancerAttributes
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-elasticloadbalancing/types.rb
Overview
When making an API call, you may pass LoadBalancerAttributes data as a hash:
{
cross_zone_load_balancing: {
enabled: false, # required
},
access_log: {
enabled: false, # required
s3_bucket_name: "S3BucketName",
emit_interval: 1,
s3_bucket_prefix: "AccessLogPrefix",
},
connection_draining: {
enabled: false, # required
timeout: 1,
},
connection_settings: {
idle_timeout: 1, # required
},
additional_attributes: [
{
key: "AdditionalAttributeKey",
value: "AdditionalAttributeValue",
},
],
}
The attributes for a load balancer.
Instance Attribute Summary collapse
-
#access_log ⇒ Types::AccessLog
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
-
#additional_attributes ⇒ Array<Types::AdditionalAttribute>
This parameter is reserved.
-
#connection_draining ⇒ Types::ConnectionDraining
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.
-
#connection_settings ⇒ Types::ConnectionSettings
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
-
#cross_zone_load_balancing ⇒ Types::CrossZoneLoadBalancing
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
Instance Attribute Details
#access_log ⇒ Types::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 Balancer Guide*.
[1]: docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html
1505 1506 1507 1508 1509 1510 1511 1512 |
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 1505 class LoadBalancerAttributes < Struct.new( :cross_zone_load_balancing, :access_log, :connection_draining, :connection_settings, :additional_attributes) include Aws::Structure end |
#additional_attributes ⇒ Array<Types::AdditionalAttribute>
This parameter is reserved.
1505 1506 1507 1508 1509 1510 1511 1512 |
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 1505 class LoadBalancerAttributes < Struct.new( :cross_zone_load_balancing, :access_log, :connection_draining, :connection_settings, :additional_attributes) include Aws::Structure end |
#connection_draining ⇒ Types::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 Balancer Guide*.
[1]: docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html
1505 1506 1507 1508 1509 1510 1511 1512 |
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 1505 class LoadBalancerAttributes < Struct.new( :cross_zone_load_balancing, :access_log, :connection_draining, :connection_settings, :additional_attributes) include Aws::Structure end |
#connection_settings ⇒ Types::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 Balancer Guide*.
[1]: docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html
1505 1506 1507 1508 1509 1510 1511 1512 |
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 1505 class LoadBalancerAttributes < Struct.new( :cross_zone_load_balancing, :access_log, :connection_draining, :connection_settings, :additional_attributes) include Aws::Structure end |
#cross_zone_load_balancing ⇒ Types::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 Balancer Guide*.
[1]: docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html
1505 1506 1507 1508 1509 1510 1511 1512 |
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 1505 class LoadBalancerAttributes < Struct.new( :cross_zone_load_balancing, :access_log, :connection_draining, :connection_settings, :additional_attributes) include Aws::Structure end |