interface CloudWatchLogsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVerifiedAccessInstance.CloudWatchLogsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVerifiedAccessInstance_CloudWatchLogsProperty |
Java | software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance.CloudWatchLogsProperty |
Python | aws_cdk.aws_ec2.CfnVerifiedAccessInstance.CloudWatchLogsProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnVerifiedAccessInstance » CloudWatchLogsProperty |
Options for CloudWatch Logs as a logging destination.
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 cloudWatchLogsProperty: ec2.CfnVerifiedAccessInstance.CloudWatchLogsProperty = {
enabled: false,
logGroup: 'logGroup',
};
Properties
Name | Type | Description |
---|---|---|
enabled? | boolean | IResolvable | Indicates whether logging is enabled. |
log | string | The ID of the CloudWatch Logs log group. |
enabled?
Type:
boolean |
IResolvable
(optional)
Indicates whether logging is enabled.
logGroup?
Type:
string
(optional)
The ID of the CloudWatch Logs log group.