You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElasticLoadBalancing::Types::LoadBalancerAttributes

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LoadBalancerAttributes as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#access_logTypes::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.

Returns:

  • (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_attributesArray<Types::AdditionalAttribute>

Any additional attributes.

Returns:

#connection_drainingTypes::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.

Returns:

  • (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_settingsTypes::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.

Returns:

  • (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_balancingTypes::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.

Returns:

  • (Types::CrossZoneLoadBalancing)

    If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.