AWS::IoT::TopicRule CloudwatchLogsAction - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::IoT::TopicRule CloudwatchLogsAction

Describes an action that updates a CloudWatch log.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "BatchMode" : Boolean, "LogGroupName" : String, "RoleArn" : String }

YAML

BatchMode: Boolean LogGroupName: String RoleArn: String

Properties

BatchMode

Indicates whether batches of log records will be extracted and uploaded into CloudWatch.

Required: No

Type: Boolean

Update requires: No interruption

LogGroupName

The CloudWatch log name.

Required: Yes

Type: String

Update requires: No interruption

RoleArn

The IAM role that allows access to the CloudWatch log.

Required: Yes

Type: String

Update requires: No interruption