HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //lib/python2.7/site-packages/awscli/examples/elbv2/describe-target-group-attributes.rst
**To describe target group attributes**

The following ``describe-target-group-attributes``  example displays the attributes of the specified target group. ::

    aws elbv2 describe-target-group-attributes \
        --target-group-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067

The output includes the attributes if the protocol is HTTP or HTTPS and the target type is ``instance`` or ``ip``. ::

    {
        "Attributes": [
            {
                "Value": "false",
                "Key": "stickiness.enabled"
            },
            {
                "Value": "300",
                "Key": "deregistration_delay.timeout_seconds"
            },
            {
                "Value": "lb_cookie",
                "Key": "stickiness.type"
            },
            {
                "Value": "86400",
                "Key": "stickiness.lb_cookie.duration_seconds"
            },
            {
                "Value": "0",
                "Key": "slow_start.duration_seconds"
            }
        ]
    }

The following output includes the attributes if the protocol is HTTP or HTTPS and the target type is ``lambda``. ::

    {
        "Attributes": [
            {
                "Value": "false",
                "Key": "lambda.multi_value_headers.enabled"
            }
        ]
    }

The following output includes the attributes if the protocol is TCP, TLS, UDP, or TCP_UDP. ::

    {
        "Attributes": [
            {
                "Value": "false",
                "Key": "proxy_protocol_v2.enabled"
            },
            {
                "Value": "300",
                "Key": "deregistration_delay.timeout_seconds"
            }
        ]
    }