Interface CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnVPNConnection
@Stability(Stable)
public static interface CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Options for sending VPN tunnel logs to CloudWatch.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CloudwatchLogOptionsSpecificationProperty cloudwatchLogOptionsSpecificationProperty = CloudwatchLogOptionsSpecificationProperty.builder()
.bgpLogEnabled(false)
.bgpLogGroupArn("bgpLogGroupArn")
.bgpLogOutputFormat("bgpLogOutputFormat")
.logEnabled(false)
.logGroupArn("logGroupArn")
.logOutputFormat("logOutputFormat")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnVPNConnection.CloudwatchLogOptionsSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether to enable BGP logging for the VPN connection.default StringThe Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent.default StringThe desired output format for BGP logs to be sent to CloudWatch.default ObjectEnable or disable VPN tunnel logging feature.default StringThe Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.default StringSet log format.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBgpLogEnabled
Specifies whether to enable BGP logging for the VPN connection. Default value isFalse.Valid values:
True|FalseReturns union: either
BooleanorIResolvable- See Also:
-
getBgpLogGroupArn
The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent.- See Also:
-
getBgpLogOutputFormat
The desired output format for BGP logs to be sent to CloudWatch. Default format isjson.Valid values:
json|text- See Also:
-
getLogEnabled
Enable or disable VPN tunnel logging feature. Default value isFalse.Valid values:
True|FalseReturns union: either
BooleanorIResolvable- See Also:
-
getLogGroupArn
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.- See Also:
-
getLogOutputFormat
Set log format. Default format isjson.Valid values:
json|text- See Also:
-
builder
@Stability(Stable) static CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty.Builder builder()
-