AWS CloudFormation
User Guide (API Version 2010-05-15)
AWS 服务或AWS文档中描述的功能,可能因地区/位置而异。请点击 Amazon AWS 入门,可查看中国地区的具体差异

AWS IoT TopicRule 操作

ActionTopicRulePayload 属性的一个属性,用于描述与 AWS IoT 规则关联的操作。有关更多信息,请参阅 AWS IoT 规则

语法

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

属性

CloudwatchAlarm

更改 CloudWatch 警报的状态。

Required: No

类型AWS IoT TopicRule CloudwatchAlarmAction

CloudwatchMetric

捕获 CloudWatch 指标。

Required: No

类型AWS IoT TopicRule CloudwatchMetricAction

DynamoDB

将数据写入 DynamoDB 表。

Required: No

类型AWS IoT TopicRule DynamoDBAction

DynamoDBv2

将数据写入 DynamoDB 表。

Required: No

类型AWS IoT TopicRule DynamoDBv2Action

Elasticsearch

将数据写入 Elasticsearch 域。

Required: No

类型AWS IoT TopicRule ElasticsearchAction

Firehose

将数据写入 Kinesis Firehose 流。

Required: No

类型AWS IoT TopicRule FirehoseAction

Kinesis

将数据写入 Kinesis 流。

Required: No

类型AWS IoT TopicRule KinesisAction

Lambda

调用 Lambda 函数。

Required: No

类型AWS IoT TopicRule LambdaAction

Republish

将数据发布到不同于当前指定的主题的 MQ 遥测传输 (MQTT) 主题。

Required: No

类型AWS IoT TopicRule RepublishAction

S3

将数据写入 S3 存储桶。

Required: No

类型AWS IoT TopicRule S3Action

Sns

将数据发布到 SNS 主题。

Required: No

类型AWS IoT TopicRule SnsAction

Sqs

将数据发布到 SQS 队列。

Required: No

类型AWS IoT TopicRule SqsAction

本页内容: