AWS::IoT::TopicRule CloudwatchLogsAction
Describes an action that updates a CloudWatch log.
Syntax
To declare this entity in your AWS 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