class Aws::ElasticLoadBalancing::Types::LoadBalancerAttributes

The attributes for a load balancer.

@note 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",
        },
      ],
    }

@!attribute [rw] cross_zone_load_balancing

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][1]
in the *Classic Load Balancers Guide*.

[1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html
@return [Types::CrossZoneLoadBalancing]

@!attribute [rw] access_log

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][1] in the *Classic
Load Balancers Guide*.

[1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html
@return [Types::AccessLog]

@!attribute [rw] connection_draining

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][1] in the
*Classic Load Balancers Guide*.

[1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html
@return [Types::ConnectionDraining]

@!attribute [rw] connection_settings

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][1] in the *Classic Load Balancers Guide*.

[1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html
@return [Types::ConnectionSettings]

@!attribute [rw] additional_attributes

Any additional attributes.
@return [Array<Types::AdditionalAttribute>]

@see docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerAttributes AWS API Documentation

Constants

SENSITIVE