This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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:BooleanLogGroupName:StringRoleArn: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