Skip to content
v2.274.0

LoggingProperty Struct ​

An object that represents the logging information for a virtual node.

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 loggingProperty: appmesh.CfnVirtualNode.LoggingProperty = {
  accessLog: {
    file: {
      path: 'path',

      // the properties below are optional
      format: {
        json: [{
          key: 'key',
          value: 'value',
        }],
        text: 'text',
      },
    },
  },
};

Properties ​

accessLogIResolvable | CfnVirtualNode.AccessLogPropertyaccess_logtyping.Union[IResolvable, AccessLogProperty]accessLogIResolvableAccessLogIResolvableAccessLoginterface{}#
The access log configuration for a virtual node.