

# AssociatedGateway
<a name="API_AssociatedGateway"></a>

Information about the associated gateway.

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

 ** id **   <a name="DX-Type-AssociatedGateway-id"></a>
The ID of the associated gateway.  
Type: String  
Required: No

 ** ownerAccount **   <a name="DX-Type-AssociatedGateway-ownerAccount"></a>
The ID of the AWS account that owns the associated virtual private gateway or transit gateway.  
Type: String  
Required: No

 ** region **   <a name="DX-Type-AssociatedGateway-region"></a>
The Region where the associated gateway is located.  
Type: String  
Required: No

 ** type **   <a name="DX-Type-AssociatedGateway-type"></a>
The type of associated gateway.  
Type: String  
Valid Values: `virtualPrivateGateway | transitGateway`   
Required: No

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

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/directconnect-2012-10-25/AssociatedGateway) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/directconnect-2012-10-25/AssociatedGateway) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/directconnect-2012-10-25/AssociatedGateway) 