Class CfnClientVpnEndpoint.ConnectionLogOptionsProperty
Describes the client connection logging options for the Client VPN endpoint.
Inheritance
System.Object
CfnClientVpnEndpoint.ConnectionLogOptionsProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class ConnectionLogOptionsProperty : Object, CfnClientVpnEndpoint.IConnectionLogOptionsProperty
Syntax (vb)
Public Class ConnectionLogOptionsProperty
Inherits Object
Implements CfnClientVpnEndpoint.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
Constructors
ConnectionLogOptionsProperty() |
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. |
Constructors
ConnectionLogOptionsProperty()
public ConnectionLogOptionsProperty()
Properties
CloudwatchLogGroup
The name of the CloudWatch Logs log group.
public string CloudwatchLogGroup { get; set; }
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.
public string CloudwatchLogStream { get; set; }
Property Value
System.String
Remarks
Enabled
Indicates whether connection logging is enabled.
public object Enabled { get; set; }
Property Value
System.Object