Show / Hide Table of Contents

Class CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty

Options for sending VPN tunnel logs to CloudWatch.

Inheritance
object
CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty
Implements
CfnVPNConnection.ICloudwatchLogOptionsSpecificationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html

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 False .

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 json .

LogEnabled

Enable or disable VPN tunnel logging feature. Default value is False .

LogGroupArn

The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.

LogOutputFormat

Set log format. Default format is json .

Constructors

CloudwatchLogOptionsSpecificationProperty()

Options for sending VPN tunnel logs to CloudWatch.

public CloudwatchLogOptionsSpecificationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html

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

object

Remarks

Valid values: True | False

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html#cfn-ec2-vpnconnection-cloudwatchlogoptionsspecification-bgplogenabled

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html#cfn-ec2-vpnconnection-cloudwatchlogoptionsspecification-bgploggrouparn

BgpLogOutputFormat

The desired output format for BGP logs to be sent to CloudWatch. Default format is json .

public string? BgpLogOutputFormat { get; set; }
Property Value

string

Remarks

Valid values: json | text

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html#cfn-ec2-vpnconnection-cloudwatchlogoptionsspecification-bgplogoutputformat

LogEnabled

Enable or disable VPN tunnel logging feature. Default value is False .

public object? LogEnabled { get; set; }
Property Value

object

Remarks

Valid values: True | False

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html#cfn-ec2-vpnconnection-cloudwatchlogoptionsspecification-logenabled

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html#cfn-ec2-vpnconnection-cloudwatchlogoptionsspecification-loggrouparn

LogOutputFormat

Set log format. Default format is json .

public string? LogOutputFormat { get; set; }
Property Value

string

Remarks

Valid values: json | text

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html#cfn-ec2-vpnconnection-cloudwatchlogoptionsspecification-logoutputformat

Implements

CfnVPNConnection.ICloudwatchLogOptionsSpecificationProperty
Back to top Generated by DocFX