DescribeLoadBalancerAttributes - Elastic Load Balancing
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Describes the attributes for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

For more information, see the following:

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


The Amazon Resource Name (ARN) of the load balancer.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.


Information about the load balancer attributes.

Type: Array of LoadBalancerAttribute objects

Array Members: Maximum number of 20 items.


For information about the errors that are common to all actions, see Common Errors.


The specified load balancer does not exist.

HTTP Status Code: 400


Describe load balancer attributes

This example describes the attributes of the specified load balancer.

Sample Request &LoadBalancerArn=arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188 &Version=2015-12-01 &AUTHPARAMS

Sample Response

<DescribeLoadBalancerAttributesResponse xmlns=""> <DescribeLoadBalancerAttributesResult> <Attributes> <member> <Value>false</Value> <Key>access_logs.s3.enabled</Key> </member> <member> <Value>60</Value> <Key>idle_timeout.timeout_seconds</Key> </member> <member> <Value /> <Key>access_logs.s3.prefix</Key> </member> <member> <Value>false</Value> <Key>deletion_protection.enabled</Key> </member> <member> <Value /> <Key>access_logs.s3.bucket</Key> </member> </Attributes> </DescribeLoadBalancerAttributesResult> <ResponseMetadata> <RequestId>1528a9a4-f38e-11e5-8ead-f1e91be31786</RequestId> </ResponseMetadata> </DescribeLoadBalancerAttributesResponse>

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: