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 {
BgpLogEnabled = false,
BgpLogGroupArn = "bgpLogGroupArn",
BgpLogOutputFormat = "bgpLogOutputFormat",
LogEnabled = false,
LogGroupArn = "logGroupArn",
LogOutputFormat = "logOutputFormat"
};
Synopsis
Constructors
| CloudwatchLogOptionsSpecificationProperty() | Options for sending VPN tunnel logs to CloudWatch. |
Properties
| BgpLogEnabled | Specifies whether to enable BGP logging for the VPN connection. Default value is |
| BgpLogGroupArn | The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent. |
| BgpLogOutputFormat | The desired output format for BGP logs to be sent to CloudWatch. Default format is |
| 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 {
BgpLogEnabled = false,
BgpLogGroupArn = "bgpLogGroupArn",
BgpLogOutputFormat = "bgpLogOutputFormat",
LogEnabled = false,
LogGroupArn = "logGroupArn",
LogOutputFormat = "logOutputFormat"
};
Properties
BgpLogEnabled
Specifies whether to enable BGP logging for the VPN connection. Default value is False .
public object? BgpLogEnabled { get; set; }
Property Value
Remarks
Valid values: True | False
Type union: either bool or IResolvable
BgpLogGroupArn
The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent.
public string? BgpLogGroupArn { get; set; }
Property Value
Remarks
BgpLogOutputFormat
The desired output format for BGP logs to be sent to CloudWatch. Default format is json .
public string? BgpLogOutputFormat { get; set; }
Property Value
Remarks
LogEnabled
Enable or disable VPN tunnel logging feature. Default value is False .
public object? LogEnabled { get; set; }
Property Value
Remarks
Valid values: True | False
Type union: either bool or IResolvable
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; }