CmdID

CmdID / aws / aws elbv2

aws elbv2 describe-load-balancer-attributes

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

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To describe load balancer attributes

The following describe-load-balancer-attributes example displays the attributes of the specified load balancer.

aws elbv2 describe-load-balancer-attributes --load-balancer-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188Identify
--load-balancer-arnThe Amazon Resource Name (ARN) of the load balancer.

The following example output shows the attributes for an Application Load Balancer.

Its output
{
    "Attributes": [
        {
            "Value": "false",
            "Key": "access_logs.s3.enabled"
        },
        {
            "Value": "",
            "Key": "access_logs.s3.bucket"
        },
        {
            "Value": "",
            "Key": "access_logs.s3.prefix"
        },
        {
            "Value": "60",
            "Key": "idle_timeout.timeout_seconds"
        },
        {
            "Value": "false",
            "Key": "deletion_protection.enabled"
        },
        {
            "Value": "true",
            "Key": "routing.http2.enabled"
        }
    ]
}

The following example output includes the attributes for a Network Load Balancer.

Its output
{
    "Attributes": [
        {
            "Value": "false",
            "Key": "access_logs.s3.enabled"
        },
        {
            "Value": "",
            "Key": "access_logs.s3.bucket"
        },
        {
            "Value": "",
            "Key": "access_logs.s3.prefix"
        },
        {
            "Value": "false",
            "Key": "deletion_protection.enabled"
        },
        {
            "Value": "false",
            "Key": "load_balancing.cross_zone.enabled"
        }
    ]
}

For more information, see Edit attributes for your Application Load Balancer in the Application Load Balancers Guide.

Options

1 in the AWS CLI reference
--load-balancer-arnThe Amazon Resource Name (ARN) of the load balancer.