Associate a data stream to an asset property - 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).

Associate a data stream to an asset property

Manage your data streams using the Amazon IoT SiteWise console or Amazon CLI.

Console

Use the Amazon IoT SiteWise console to manage your data streams.

To manage data streams (console)
  1. Navigate to the Amazon IoT SiteWise console.

  2. In the navigation pane, choose Data streams.

  3. Choose a data stream by either filtering on data stream alias, or selecting Disassociated data streams in the filter drop down menu.

  4. Select the data stream to update. You may select multiple data streams. Click Manage data streams on the upper right.

  5. Select the data stream to be associated from Update data stream associations, and click the Choose measurement button.

  6. In the Choose measurement section, find the corresponding asset measurement property. Select the measurement then click Choose.

  7. Perform steps 4 and 5 for other data streams selected in step 3. Assign asset properties to all the data streams.

  8. Choose Update to commit the changes. A successful confirmation banner is displayed to confirm the update.

Amazon CLI

To associate a data stream (identified by its alias) to an asset property (identified by its IDs), run the following command:

aws iotsitewise associate-time-series-to-asset-property \ --alias <data-stream-alias> \ --assetId <asset-ID> \ --propertyId <property-ID>