aws-cdk-lib.aws_appmesh.CfnVirtualNode.AccessLogProperty

interface AccessLogProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnVirtualNode.AccessLogProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_AccessLogProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnVirtualNode.AccessLogProperty
Pythonaws_cdk.aws_appmesh.CfnVirtualNode.AccessLogProperty
TypeScript aws-cdk-lib » aws_appmesh » CfnVirtualNode » AccessLogProperty

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

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 accessLogProperty: appmesh.CfnVirtualNode.AccessLogProperty = {
  file: {
    path: 'path',

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

Properties

NameTypeDescription
file?IResolvable | FileAccessLogPropertyThe file object to send virtual node access logs to.

file?

Type: IResolvable | FileAccessLogProperty (optional)

The file object to send virtual node access logs to.