Interface CfnClientVpnEndpoint.IConnectionLogOptionsProperty
Describes the client connection logging options for the Client VPN endpoint.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IConnectionLogOptionsProperty
Syntax (vb)
Public Interface IConnectionLogOptionsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var connectionLogOptionsProperty = new ConnectionLogOptionsProperty {
Enabled = false,
// the properties below are optional
CloudwatchLogGroup = "cloudwatchLogGroup",
CloudwatchLogStream = "cloudwatchLogStream"
};
Synopsis
Properties
CloudwatchLogGroup | The name of the CloudWatch Logs log group. |
CloudwatchLogStream | The name of the CloudWatch Logs log stream to which the connection data is published. |
Enabled | Indicates whether connection logging is enabled. |
Properties
CloudwatchLogGroup
The name of the CloudWatch Logs log group.
virtual string CloudwatchLogGroup { get; }
Property Value
System.String
Remarks
Required if connection logging is enabled.
CloudwatchLogStream
The name of the CloudWatch Logs log stream to which the connection data is published.
virtual string CloudwatchLogStream { get; }
Property Value
System.String
Remarks
Enabled
Indicates whether connection logging is enabled.
object Enabled { get; }
Property Value
System.Object