

# VirtualGatewayAccessLog
<a name="API_VirtualGatewayAccessLog"></a>

The access log configuration for a virtual gateway.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** file **   <a name="appmesh-Type-VirtualGatewayAccessLog-file"></a>
The file object to send virtual gateway access logs to.  
Type: [VirtualGatewayFileAccessLog](API_VirtualGatewayFileAccessLog.md) object  
Required: No

## See Also
<a name="API_VirtualGatewayAccessLog_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/appmesh-2019-01-25/VirtualGatewayAccessLog) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmesh-2019-01-25/VirtualGatewayAccessLog) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmesh-2019-01-25/VirtualGatewayAccessLog) 