Class CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty
Options for sending VPN tunnel logs to CloudWatch.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty : CfnVPNConnection.ICloudwatchLogOptionsSpecificationProperty
Syntax (vb)
Public Class CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty Implements CfnVPNConnection.ICloudwatchLogOptionsSpecificationProperty
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 cloudwatchLogOptionsSpecificationProperty = new CloudwatchLogOptionsSpecificationProperty {
LogEnabled = false,
LogGroupArn = "logGroupArn",
LogOutputFormat = "logOutputFormat"
};
Synopsis
Constructors
CloudwatchLogOptionsSpecificationProperty() | Options for sending VPN tunnel logs to CloudWatch. |
Properties
LogEnabled | Enable or disable VPN tunnel logging feature. Default value is |
LogGroupArn | The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to. |
LogOutputFormat | Set log format. Default format is |
Constructors
CloudwatchLogOptionsSpecificationProperty()
Options for sending VPN tunnel logs to CloudWatch.
public CloudwatchLogOptionsSpecificationProperty()
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 cloudwatchLogOptionsSpecificationProperty = new CloudwatchLogOptionsSpecificationProperty {
LogEnabled = false,
LogGroupArn = "logGroupArn",
LogOutputFormat = "logOutputFormat"
};
Properties
LogEnabled
Enable or disable VPN tunnel logging feature. Default value is False
.
public object? LogEnabled { get; set; }
Property Value
Remarks
LogGroupArn
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
public string? LogGroupArn { get; set; }
Property Value
Remarks
LogOutputFormat
Set log format. Default format is json
.
public string? LogOutputFormat { get; set; }