There are more AWS SDK examples available in the AWS Doc SDK Examples
Use DescribeLoadBalancerAttributes
with a CLI
The following code examples show how to use DescribeLoadBalancerAttributes
.
- AWS CLI
-
To describe the attributes of a load balancer
This example describes the attributes of the specified load balancer.
Command:
aws elb describe-load-balancer-attributes --load-balancer-name
my-load-balancer
Output:
{ "LoadBalancerAttributes": { "ConnectionDraining": { "Enabled": false, "Timeout": 300 }, "CrossZoneLoadBalancing": { "Enabled": true }, "ConnectionSettings": { "IdleTimeout": 30 }, "AccessLog": { "Enabled": false } } }
-
For API details, see DescribeLoadBalancerAttributes
in AWS CLI Command Reference.
-