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

AWS IoT TopicRule Action

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

Syntax

JSON

{ "CloudwatchAlarm": CloudwatchAlarm Action, "CloudwatchMetric": CloudwatchMetric Action, "DynamoDB": DynamoDB Action, "DynamoDBv2": DynamoDBv2 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

CloudwatchAlarm: CloudwatchAlarm Action CloudwatchMetric: CloudwatchMetric Action DynamoDB: DynamoDB Action DynamoDBv2: DynamoDBv2 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: AWS IoT TopicRule CloudwatchAlarmAction

CloudwatchMetric

Captures a CloudWatch metric.

Required: No

Type: AWS IoT TopicRule CloudwatchMetricAction

DynamoDB

Writes data to a DynamoDB table.

Required: No

Type: AWS IoT TopicRule DynamoDBAction

DynamoDBv2

Writes data to a DynamoDB table.

Required: No

Type: AWS IoT TopicRule DynamoDBv2Action

Elasticsearch

Writes data to an Elasticsearch domain.

Required: No

Type: AWS IoT TopicRule ElasticsearchAction

Firehose

Writes data to a Kinesis Firehose stream.

Required: No

Type: AWS IoT TopicRule FirehoseAction

Kinesis

Writes data to an Kinesis stream.

Required: No

Type: AWS IoT TopicRule KinesisAction

Lambda

Invokes a Lambda function.

Required: No

Type: AWS IoT TopicRule LambdaAction

Republish

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

Required: No

Type: AWS IoT TopicRule RepublishAction

S3

Writes data to an S3 bucket.

Required: No

Type: AWS IoT TopicRule S3Action

Sns

Publishes data to an SNS topic.

Required: No

Type: AWS IoT TopicRule SnsAction

Sqs

Publishes data to an SQS queue.

Required: No

Type: AWS IoT TopicRule SqsAction

On this page: