interface VirtualGatewayFileAccessLogProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualGatewayPropsMixin_VirtualGatewayFileAccessLogProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualGatewayPropsMixin » VirtualGatewayFileAccessLogProperty |
An object that represents an access log file.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const virtualGatewayFileAccessLogProperty: appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty = {
format: {
json: [{
key: 'key',
value: 'value',
}],
text: 'text',
},
path: 'path',
};
Properties
| Name | Type | Description |
|---|---|---|
| format? | IResolvable | Logging | The specified format for the virtual gateway access logs. |
| path? | string | The file path to write access logs to. |
format?
Type:
IResolvable | Logging
(optional)
The specified format for the virtual gateway access logs.
It can be either json_format or text_format .
path?
Type:
string
(optional)
The file path to write access logs to.
You can use /dev/stdout to send access logs to standard out and configure your Envoy container to use a log driver, such as awslogs , to export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file system to write the files to disk.

.NET
Go
Java
Python
TypeScript