Skip to content
v2.273.0

AccessLogProperty Struct ​

An object that represents the access 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 accessLogProperty: appmesh.CfnVirtualNode.AccessLogProperty = {
  file: {
    path: 'path',

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

Properties ​

The file object to send virtual node access logs to.