interface VirtualGatewayFileAccessLogProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppMesh.CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappmesh#CfnVirtualGatewayPropsMixin_VirtualGatewayFileAccessLogProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty |
Python | aws_cdk.cfn_property_mixins.aws_appmesh.CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appmesh » 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 { aws_appmesh as appmesh } from '@aws-cdk/cfn-property-mixins';
const virtualGatewayFileAccessLogProperty: appmesh.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