ConnectionLogOptionsProperty Struct
Describes the client connection logging options for the Client VPN endpoint.
Example
ts
// 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
cloudwatchLogGroupstringcloudwatch_log_groupstrcloudwatchLogGroupStringCloudwatchLogGroupstringCloudwatchLogGroup*string#The name of the CloudWatch Logs log group.
Required if connection logging is enabled.
cloudwatchLogStreamstringcloudwatch_log_streamstrcloudwatchLogStreamStringCloudwatchLogStreamstringCloudwatchLogStream*string#The name of the CloudWatch Logs log stream to which the connection data is published.
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}required#Indicates whether connection logging is enabled.