Skip to content

LoadBalancerAttributes

Source code in docs_src/capo_elastic_load_balancing/types/load_balancer_attributes.py
class LoadBalancerAttributes(TypedDict, closed=True):
    cross_zone_load_balancing: NotRequired[
        "capo_elastic_load_balancing.types.cross_zone_load_balancing.CrossZoneLoadBalancing"
    ]
    """<p>If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html">Configure Cross-Zone Load Balancing</a> in the <i>Classic Load Balancers Guide</i>.</p>"""
    access_log: NotRequired["capo_elastic_load_balancing.types.access_log.AccessLog"]
    """<p>If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html">Enable Access Logs</a> in the <i>Classic Load Balancers Guide</i>.</p>"""
    connection_draining: NotRequired[
        "capo_elastic_load_balancing.types.connection_draining.ConnectionDraining"
    ]
    """<p>If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html">Configure Connection Draining</a> in the <i>Classic Load Balancers Guide</i>.</p>"""
    connection_settings: NotRequired[
        "capo_elastic_load_balancing.types.connection_settings.ConnectionSettings"
    ]
    """<p>If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.</p> <p>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 <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html">Configure Idle Connection Timeout</a> in the <i>Classic Load Balancers Guide</i>.</p>"""
    additional_attributes: NotRequired[
        "capo_elastic_load_balancing.types.additional_attributes.AdditionalAttributes"
    ]
    """<p>Any additional attributes.</p>"""

access_log instance-attribute

access_log: NotRequired[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.

additional_attributes instance-attribute

additional_attributes: NotRequired[AdditionalAttributes]

Any additional attributes.

connection_draining instance-attribute

connection_draining: NotRequired[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.

connection_settings instance-attribute

connection_settings: NotRequired[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.

cross_zone_load_balancing instance-attribute

cross_zone_load_balancing: NotRequired[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.