interface AccessLogConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.AccessLogConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#AccessLogConfig |
Java | software.amazon.awscdk.services.appmesh.AccessLogConfig |
Python | aws_cdk.aws_appmesh.AccessLogConfig |
TypeScript (source) | aws-cdk-lib » aws_appmesh » AccessLogConfig |
Obtainable from
Access
.bind()
All Properties for Envoy Access logs for mesh endpoints.
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-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
Name | Type | Description |
---|---|---|
virtual | Virtual | VirtualGateway CFN configuration for Access Logging. |
virtual | Access | VirtualNode CFN configuration for Access Logging. |
virtualGatewayAccessLog?
Type:
Virtual
(optional, default: no access logging)
VirtualGateway CFN configuration for Access Logging.
virtualNodeAccessLog?
Type:
Access
(optional, default: no access logging)
VirtualNode CFN configuration for Access Logging.