Interacting with other Amazon services - Amazon IoT SiteWise
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Interacting with other Amazon services

Amazon IoT SiteWise can publish asset data to the Amazon IoT MQTT publish-subscribe message broker, so that you can interact with your asset data from other Amazon services. Amazon IoT SiteWise assigns each asset property a unique MQTT topic that you can use to route your asset data to other Amazon services using Amazon IoT Core rules. For example, you can configure Amazon IoT Core rules to do the following tasks:

  • Identify equipment failure and notify appropriate personnel by sending data to Amazon IoT Events.

  • Historize select asset data for use in external software solutions by sending data to Amazon DynamoDB.

  • Generate weekly reports by triggering an Amazon Lambda function.

You can follow a tutorial that walks through the steps required to set up a rule that stores property values in DynamoDB. For more information, see Publishing property value updates to Amazon DynamoDB.

For more information about how to configure a rule, see Rules in the Amazon IoT Developer Guide.

You can also consume data from other Amazon services back into Amazon IoT SiteWise. To ingest data through the Amazon IoT SiteWise rule action, see Ingesting data using Amazon IoT Core rules.

Understanding asset properties' MQTT topics

Every asset property has a unique MQTT topic path in the following format.

$aws/sitewise/asset-models/assetModelId/assets/assetId/properties/propertyId
Note

Amazon IoT SiteWise doesn't support the # (multi-level) topic filter wildcard in the Amazon IoT Core rules engine. You can use the + (single-level) wildcard. For example, you can use the following topic filter to match all updates for a particular asset model.

$aws/sitewise/asset-models/assetModelId/assets/+/properties/+

To learn more about topic filter wildcards, see Topics in the Amazon IoT Core Developer Guide.