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 load balancer.

Request Parameters

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


The name 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: LoadBalancerAttributes object


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


The specified load balancer attribute does not exist.

HTTP Status Code: 400


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 &LoadBalancerName=my-loadbalancer &Version=2012-06-01 &AUTHPARAMS

Sample Response

<DescribeLoadBalancerAttributesResponse xmlns=""> <DescribeLoadBalancerAttributesResult> <LoadBalancerAttributes> <AccessLog> <Enabled>true</Enabled> <S3BucketName>my-loadbalancer-logs</S3BucketName> <S3BucketPrefix>testprefix</S3BucketPrefix> <EmitInterval>5</EmitInterval> </AccessLog> <ConnectionSettings> <IdleTimeout>30</IdleTimeout> </ConnectionSettings> <CrossZoneLoadBalancing> <Enabled>true</Enabled> </CrossZoneLoadBalancing> <ConnectionDraining> <Enabled>true</Enabled> <Timeout>60</Timeout> </ConnectionDraining> </LoadBalancerAttributes> </DescribeLoadBalancerAttributesResult> <ResponseMetadata> <RequestId>83c88b9d-12b7-11e3-8b82-87b12EXAMPLE</RequestId> </ResponseMetadata> </DescribeLoadBalancerAttributesResponse>

See Also

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