AccessLogConfig Struct
All Properties for Envoy Access logs for mesh endpoints.
Example
ts
// 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-lib';
const accessLogConfig: appmesh.AccessLogConfig = {
virtualGatewayAccessLog: {
file: {
path: 'path',
// the properties below are optional
format: {
json: [{
key: 'key',
value: 'value',
}],
text: 'text',
},
},
},
virtualNodeAccessLog: {
file: {
path: 'path',
// the properties below are optional
format: {
json: [{
key: 'key',
value: 'value',
}],
text: 'text',
},
},
},
};
Properties
virtualGatewayAccessLogCfnVirtualGateway.VirtualGatewayAccessLogPropertyvirtual_gateway_access_logVirtualGatewayAccessLogPropertyvirtualGatewayAccessLogVirtualGatewayAccessLogPropertyVirtualGatewayAccessLogVirtualGatewayAccessLogPropertyVirtualGatewayAccessLogVirtualGatewayAccessLogProperty= no access logging#VirtualGateway CFN configuration for Access Logging.
virtualNodeAccessLogCfnVirtualNode.AccessLogPropertyvirtual_node_access_logAccessLogPropertyvirtualNodeAccessLogAccessLogPropertyVirtualNodeAccessLogAccessLogPropertyVirtualNodeAccessLogAccessLogProperty= no access logging#VirtualNode CFN configuration for Access Logging.