interface CloudwatchLogsActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.CloudwatchLogsActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_CloudwatchLogsActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.CloudwatchLogsActionProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.CloudwatchLogsActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » CloudwatchLogsActionProperty |
Describes an action that updates a CloudWatch log.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const cloudwatchLogsActionProperty: iot_mixins.CfnTopicRulePropsMixin.CloudwatchLogsActionProperty = {
batchMode: false,
logGroupName: 'logGroupName',
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| batch | boolean | IResolvable | Indicates whether batches of log records will be extracted and uploaded into CloudWatch. |
| log | string | The CloudWatch log name. |
| role | string | The IAM role that allows access to the CloudWatch log. |
batchMode?
Type:
boolean | IResolvable
(optional)
Indicates whether batches of log records will be extracted and uploaded into CloudWatch.
logGroupName?
Type:
string
(optional)
The CloudWatch log name.
roleArn?
Type:
string
(optional)
The IAM role that allows access to the CloudWatch log.

.NET
Go
Java
Python
TypeScript