AWS IoT Rule Actions
AWS IoT rule actions are used to specify what to do when a rule is triggered. You can define actions to write data to a DynamoDB database or an Amazon Kinesis stream or to invoke a Lambda function, and more. The following actions are supported:
cloudwatchAlarmto change a CloudWatch alarm.
cloudwatchMetricto capture a CloudWatch metric.
dynamoDBto write data to a DynamoDB database.
dynamoDBv2to write data to a DynamoDB database.
elasticsearchto write data to a Amazon Elasticsearch Service domain.
firehoseto write data to an Amazon Kinesis Firehose stream.
kinesisto write data to a Amazon Kinesis stream.
lambdato invoke a Lambda function.
s3to write data to a Amazon S3 bucket.
snsto write data as a push notification.
sqsto write data to an SQS queue.
republishto republish the message on another MQTT topic.
The AWS IoT rules engine does not currently retry delivery for messages that fail to be published to another service.
The following sections discuss each action in detail.