aws-cdk-lib.aws_appmesh.CfnVirtualGateway.LoggingFormatProperty

interface LoggingFormatProperty

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

An object that represents the format for the logs.

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 loggingFormatProperty: appmesh.CfnVirtualGateway.LoggingFormatProperty = {
  json: [{
    key: 'key',
    value: 'value',
  }],
  text: 'text',
};

Properties

NameTypeDescription
json?IResolvable | IResolvable | JsonFormatRefProperty[]The logging format for JSON.
text?stringThe logging format for text.

json?

Type: IResolvable | IResolvable | JsonFormatRefProperty[] (optional)

The logging format for JSON.


text?

Type: string (optional)

The logging format for text.