interface LoggingFormatProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnVirtualNode.LoggingFormatProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_LoggingFormatProperty |
Java | software.amazon.awscdk.services.appmesh.CfnVirtualNode.LoggingFormatProperty |
Python | aws_cdk.aws_appmesh.CfnVirtualNode.LoggingFormatProperty |
TypeScript | aws-cdk-lib » aws_appmesh » CfnVirtualNode » 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.CfnVirtualNode.LoggingFormatProperty = {
json: [{
key: 'key',
value: 'value',
}],
text: 'text',
};
Properties
| Name | Type | Description |
|---|---|---|
| json? | IResolvable | (IResolvable | Json)[] | The logging format for JSON. |
| text? | string | The logging format for text. |
json?
Type:
IResolvable | (IResolvable | Json)[]
(optional)
The logging format for JSON.
text?
Type:
string
(optional)
The logging format for text.

.NET
Go
Java
Python
TypeScript