Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS IoT Actions

Actions is a property of the TopicRulePayload property that describes the actions associated with an AWS IoT rule. For more information, see Rules for AWS IoT.

Syntax

JSON

Copy
{ "CloudwatchAlarm": CloudwatchAlarm Action, "CloudwatchMetric": CloudwatchMetric Action, "DynamoDB": DynamoDB Action, "Elasticsearch": Elasticsearch Action, "Firehose": Firehose Action, "Kinesis": Kinesis Action, "Lambda": Lambda Action, "Republish": Republish Action, "S3": S3 Action, "Sns": Sns Action, "Sqs": Sqs Action }

YAML

Copy
CloudwatchAlarm: CloudwatchAlarm Action CloudwatchMetric: CloudwatchMetric Action DynamoDB: DynamoDB Action Elasticsearch: Elasticsearch Action Firehose: Firehose Action Kinesis: Kinesis Action Lambda: Lambda Action Republish: Republish Action S3: S3 Action Sns: Sns Action Sqs: Sqs Action

Properties

CloudwatchAlarm

Changes the state of a CloudWatch alarm.

Required: No

Type: CloudWatchAlarm action object

CloudwatchMetric

Captures a CloudWatch metric.

Required: No

Type: CloudWatchMetric action object

DynamoDB

Writes data to a DynamoDB table.

Required: No

Type: DynamoDB action object

Elasticsearch

Writes data to an Elasticsearch domain.

Required: No

Type: Elasticsearch action object

Firehose

Writes data to a Firehose stream.

Required: No

Type: Firehose action object

Kinesis

Writes data to an Amazon Kinesis stream.

Required: No

Type: Kinesis action object

Lambda

Invokes a Lambda function.

Required: No

Type: Lambda action object

Republish

Publishes data to an MQ Telemetry Transport (MQTT) topic different from the one currently specified.

Required: No

Type: Republish action object

S3

Writes data to an S3 bucket.

Required: No

Type: S3 action object

Sns

Publishes data to an SNS topic.

Required: No

Type: Sns action object

Sqs

Publishes data to an SQS queue.

Required: No

Type: Sqs action object