aws-cdk-lib.aws_appmesh.CfnVirtualNode.LoggingProperty

interface LoggingProperty

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

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

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

Properties

NameTypeDescription
accessLog?IResolvable | AccessLogPropertyThe access log configuration for a virtual node.

accessLog?

Type: IResolvable | AccessLogProperty (optional)

The access log configuration for a virtual node.