# LoggingProperty

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

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `accessLog`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVirtualNode.AccessLogProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnVirtualNode.AccessLogProperty.html) — The access log configuration for a virtual node.
