Skip to content
v2.273.0

CloudWatchLogsProperty Struct ​

Options for CloudWatch Logs as a logging destination.

Example ​

ts
// 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 ​

enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}#
Indicates whether logging is enabled.
logGroupstringlog_groupstrlogGroupStringLogGroupstringLogGroup*string#
The ID of the CloudWatch Logs log group.