

# IpAddressRequest


In a [CreateResolverEndpoint](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html) request, the IP address that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). `IpAddressRequest` also includes the ID of the subnet that contains the IP address.

## Contents


 ** SubnetId **   <a name="Route53Resolver-Type-route53resolver_IpAddressRequest-SubnetId"></a>
The ID of the subnet that contains the IP address.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 32.  
Required: Yes

 ** Ip **   <a name="Route53Resolver-Type-route53resolver_IpAddressRequest-Ip"></a>
The IPv4 address that you want to use for DNS queries.  
Type: String  
Length Constraints: Minimum length of 7. Maximum length of 36.  
Required: No

 ** Ipv6 **   <a name="Route53Resolver-Type-route53resolver_IpAddressRequest-Ipv6"></a>
 The IPv6 address that you want to use for DNS queries.   
Type: String  
Length Constraints: Minimum length of 7. Maximum length of 39.  
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/route53resolver-2018-04-01/IpAddressRequest) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53resolver-2018-04-01/IpAddressRequest) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53resolver-2018-04-01/IpAddressRequest) 