DescribeLoadBalancerAttributes - Elastic Load Balancing

DescribeLoadBalancerAttributes

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.

LoadBalancerArn

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

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

Attributes.member.N

Information about the load balancer attributes.

Type: Array of LoadBalancerAttribute objects

Array Members: Maximum number of 20 items.

Errors

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

LoadBalancerNotFound

The specified load balancer does not exist.

HTTP Status Code: 400

Examples

Describe load balancer attributes

This example describes the attributes of the specified load balancer.

Sample Request

https://elasticloadbalancing.amazonaws.com/?Action=DescribeLoadBalancerAttributes &LoadBalancerArn=arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188 &Version=2015-12-01 &AUTHPARAMS

Sample Response

<DescribeLoadBalancerAttributesResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/"> <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 AWS SDKs, see the following: