CloudwatchLogsActionProperty Struct
Describes an action that updates a CloudWatch log.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cloudwatchLogsActionProperty: iot.CfnTopicRule.CloudwatchLogsActionProperty = {
logGroupName: 'logGroupName',
roleArn: 'roleArn',
// the properties below are optional
batchMode: false,
};
Properties
batchModeboolean | IResolvablebatch_modetyping.Union[bool, IResolvable]batchModeBooleanBatchModeboolBatchModeinterface{}#Indicates whether batches of log records will be extracted and uploaded into CloudWatch.
The CloudWatch log name.
The IAM role that allows access to the CloudWatch log.