DescribeTargetGroupAttributes
Describes the attributes for the specified target group.
For more information, see Target Group Attributes in the Application Load Balancers Guide or Target Group Attributes in the Network Load Balancers Guide.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- TargetGroupArn
-
The Amazon Resource Name (ARN) of the target group.
Type: String
Required: Yes
Response Elements
The following element is returned by the service.
- Attributes.member.N
-
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.
- TargetGroupNotFound
-
The specified target group does not exist.
HTTP Status Code: 400
Example
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: