interface CloudwatchLogOptionsSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnVPNConnectionPropsMixin_CloudwatchLogOptionsSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnVPNConnectionPropsMixin » CloudwatchLogOptionsSpecificationProperty |
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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cloudwatchLogOptionsSpecificationProperty: ec2_mixins.CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty = {
bgpLogEnabled: false,
bgpLogGroupArn: 'bgpLogGroupArn',
bgpLogOutputFormat: 'bgpLogOutputFormat',
logEnabled: false,
logGroupArn: 'logGroupArn',
logOutputFormat: 'logOutputFormat',
};
Properties
| Name | Type | Description |
|---|---|---|
| bgp | boolean | IResolvable | Specifies whether to enable BGP logging for the VPN connection. Default value is False . |
| bgp | string | The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent. |
| bgp | string | The desired output format for BGP logs to be sent to CloudWatch. Default format is json . |
| log | boolean | IResolvable | Enable or disable VPN tunnel logging feature. Default value is False . |
| log | string | The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to. |
| log | string | Set log format. Default format is json . |
bgpLogEnabled?
Type:
boolean | IResolvable
(optional)
Specifies whether to enable BGP logging for the VPN connection. Default value is False .
Valid values: True | False
bgpLogGroupArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent.
bgpLogOutputFormat?
Type:
string
(optional)
The desired output format for BGP logs to be sent to CloudWatch. Default format is json .
Valid values: json | text
logEnabled?
Type:
boolean | IResolvable
(optional)
Enable or disable VPN tunnel logging feature. Default value is False .
Valid values: True | False
logGroupArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
logOutputFormat?
Type:
string
(optional)
Set log format. Default format is json .
Valid values: json | text

.NET
Go
Java
Python
TypeScript