DescribeTargetGroupAttributes
Describes the attributes for the specified target group.
For more information, see the following:
-
Target group attributes in the Application Load Balancers Guide
-
Target group attributes in the Network Load Balancers Guide
-
Target group attributes in the Gateway Load Balancers Guide
Request Syntax
{
"TargetGroupArn": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- TargetGroupArn
-
The Amazon Resource Name (ARN) of the target group.
Type: String
Required: Yes
Response Syntax
{
"Attributes": [
{
"Key": "string",
"Value": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- Attributes
-
Information about the target group attributes
Type: Array of TargetGroupAttribute objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- TargetGroupNotFoundException
-
The specified target group does not exist.
HTTP Status Code: 400
Examples
Describe target group attributes
This example describes the attributes of the specified target group.
Sample Request
https://elasticloadbalancing.amazonaws.com/?Action=DescribeTargetGroupAttributes
&TargetGroupArn=arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067
&Version=2015-12-01
&AUTHPARAMS
Sample Response
<DescribeTargetGroupAttributesResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/">
<DescribeTargetGroupAttributesResult>
<Attributes>
<member>
<Value>300</Value>
<Key>deregistration_delay.timeout_seconds</Key>
</member>
</Attributes>
</DescribeTargetGroupAttributesResult>
<ResponseMetadata>
<RequestId>54618294-f3a8-11e5-bb98-57195a6eb84a</RequestId>
</ResponseMetadata>
</DescribeTargetGroupAttributesResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: