

# SubnetDetails

The details of a subnet.

## Contents
<a name="API_SubnetDetails_Contents"></a>

 ** subnetId **   <a name="elasticloadbalancing-Type-SubnetDetails-subnetId"></a>
The ID of the subnet.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `subnet-.+`   
Required: Yes

## See Also
<a name="API_SubnetDetails_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/elb-proxy-2026-11-20/SubnetDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/elb-proxy-2026-11-20/SubnetDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/elb-proxy-2026-11-20/SubnetDetails) 