Action - AWS IoT

Action

Describes the actions associated with a rule.

Contents

cloudwatchAlarm

Change the state of a CloudWatch alarm.

Type: CloudwatchAlarmAction object

Required: No

cloudwatchLogs

Send data to CloudWatch Logs.

Type: CloudwatchLogsAction object

Required: No

cloudwatchMetric

Capture a CloudWatch metric.

Type: CloudwatchMetricAction object

Required: No

dynamoDB

Write to a DynamoDB table.

Type: DynamoDBAction object

Required: No

dynamoDBv2

Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column.

Type: DynamoDBv2Action object

Required: No

elasticsearch

Write data to an Amazon OpenSearch Service domain.

Note

The Elasticsearch action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use the OpenSearch rule action instead. For more information, see OpenSearchAction.

Type: ElasticsearchAction object

Required: No

firehose

Write to an Amazon Kinesis Firehose stream.

Type: FirehoseAction object

Required: No

http

Send data to an HTTPS endpoint.

Type: HttpAction object

Required: No

iotAnalytics

Sends message data to an AWS IoT Analytics channel.

Type: IotAnalyticsAction object

Required: No

iotEvents

Sends an input to an AWS IoT Events detector.

Type: IotEventsAction object

Required: No

iotSiteWise

Sends data from the MQTT message that triggered the rule to AWS IoT SiteWise asset properties.

Type: IotSiteWiseAction object

Required: No

kafka

Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.

Type: KafkaAction object

Required: No

kinesis

Write data to an Amazon Kinesis stream.

Type: KinesisAction object

Required: No

lambda

Invoke a Lambda function.

Type: LambdaAction object

Required: No

location

The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.

Type: LocationAction object

Required: No

openSearch

Write data to an Amazon OpenSearch Service domain.

Type: OpenSearchAction object

Required: No

republish

Publish to another MQTT topic.

Type: RepublishAction object

Required: No

s3

Write to an Amazon S3 bucket.

Type: S3Action object

Required: No

salesforce

Send a message to a Salesforce IoT Cloud Input Stream.

Type: SalesforceAction object

Required: No

sns

Publish to an Amazon SNS topic.

Type: SnsAction object

Required: No

sqs

Publish to an Amazon SQS queue.

Type: SqsAction object

Required: No

stepFunctions

Starts execution of a Step Functions state machine.

Type: StepFunctionsAction object

Required: No

timestream

The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table. For more information, see the Timestream topic rule action documentation.

Type: TimestreamAction object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: