aws-cdk-lib.aws_ec2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty

interface ConnectionLogOptionsProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnClientVpnEndpoint_ConnectionLogOptionsProperty
Javasoftware.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty
Pythonaws_cdk.aws_ec2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnClientVpnEndpoint » ConnectionLogOptionsProperty

Describes the client connection logging options for the Client VPN endpoint.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const connectionLogOptionsProperty: ec2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty = {
  enabled: false,

  // the properties below are optional
  cloudwatchLogGroup: 'cloudwatchLogGroup',
  cloudwatchLogStream: 'cloudwatchLogStream',
};

Properties

NameTypeDescription
enabledboolean | IResolvableIndicates whether connection logging is enabled.
cloudwatchLogGroup?stringThe name of the CloudWatch Logs log group.
cloudwatchLogStream?stringThe name of the CloudWatch Logs log stream to which the connection data is published.

enabled

Type: boolean | IResolvable

Indicates whether connection logging is enabled.


cloudwatchLogGroup?

Type: string (optional)

The name of the CloudWatch Logs log group.

Required if connection logging is enabled.


cloudwatchLogStream?

Type: string (optional)

The name of the CloudWatch Logs log stream to which the connection data is published.