aws-cdk-lib.aws_appmesh.CfnVirtualGateway.VirtualGatewayAccessLogProperty

interface VirtualGatewayAccessLogProperty

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

The access log configuration for a virtual gateway.

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 virtualGatewayAccessLogProperty: appmesh.CfnVirtualGateway.VirtualGatewayAccessLogProperty = {
  file: {
    path: 'path',

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

Properties

NameTypeDescription
file?IResolvable | VirtualGatewayFileAccessLogPropertyThe file object to send virtual gateway access logs to.

file?

Type: IResolvable | VirtualGatewayFileAccessLogProperty (optional)

The file object to send virtual gateway access logs to.