interface CloudwatchLogOptionsSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPNConnection_CloudwatchLogOptionsSpecificationProperty |
Java | software.amazon.awscdk.services.ec2.CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty |
Python | aws_cdk.aws_ec2.CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnVPNConnection » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cloudwatchLogOptionsSpecificationProperty: ec2.CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty = {
logEnabled: false,
logGroupArn: 'logGroupArn',
logOutputFormat: 'logOutputFormat',
};
Properties
| Name | Type | Description |
|---|---|---|
| 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 . |
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