

# TargetSummary


Summary information about a target.

## Contents


 ** id **   <a name="vpclattice-Type-TargetSummary-id"></a>
The ID of the target. If the target group type is `INSTANCE`, this is an instance ID. If the target group type is `IP`, this is an IP address. If the target group type is `LAMBDA`, this is the ARN of a Lambda function. If the target type is `ALB`, this is the ARN of an Application Load Balancer.  
Type: String  
Required: No

 ** port **   <a name="vpclattice-Type-TargetSummary-port"></a>
The port on which the target is listening.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 65535.  
Required: No

 ** reasonCode **   <a name="vpclattice-Type-TargetSummary-reasonCode"></a>
The code for why the target status is what it is.  
Type: String  
Required: No

 ** status **   <a name="vpclattice-Type-TargetSummary-status"></a>
The status of the target.  
+  `DRAINING`: The target is being deregistered. No new connections are sent to this target while current connections are being drained. The default draining time is 1 minute.
+  `UNAVAILABLE`: Health checks are unavailable for the target group.
+  `HEALTHY`: The target is healthy.
+  `UNHEALTHY`: The target is unhealthy.
+  `INITIAL`: Initial health checks on the target are being performed.
+  `UNUSED`: Target group is not used in a service.
Type: String  
Valid Values: `DRAINING | UNAVAILABLE | HEALTHY | UNHEALTHY | INITIAL | UNUSED`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/vpc-lattice-2022-11-30/TargetSummary) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/vpc-lattice-2022-11-30/TargetSummary) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/vpc-lattice-2022-11-30/TargetSummary) 