# AccessLogProperty

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

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

## Properties

- `file`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVirtualNode.FileAccessLogProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnVirtualNode.FileAccessLogProperty.html) — The file object to send virtual node access logs to.
