interface ConnectionLogOptionsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnClientVpnEndpoint_ConnectionLogOptionsProperty |
![]() | software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty |
![]() | aws_cdk.aws_ec2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty |
![]() | 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
Name | Type | Description |
---|---|---|
enabled | boolean | IResolvable | Indicates whether connection logging is enabled. |
cloudwatch | string | The name of the CloudWatch Logs log group. |
cloudwatch | string | The 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.