Configure permissions and settings
To begin managing data streams, complete the following.
Note
If you're new to AWS IoT SiteWise after November 24, 2021, you can skip this section. Customers who began using AWS IoT SiteWise before this date need to configure the service settings to allow AWS IoT SiteWise to ingest data without asset models and assets.
-
Make sure that your IAM role has the permissions shown in the following example.
Example IAM user policy
{ "Version": "2012-10-17", "Statement": [ { "Sid": "PutAssetPropertyValuesAssetPropertyOnly", "Effect": "Allow", "Action": "iotsitewise:BatchPutAssetPropertyValue", "Resource": "arn:aws:iotsitewise:*:*:asset/*" }, { "Sid": "PutAssetPropertyValuesPropertyAliasAllowed", "Effect": "Allow", "Action": "iotsitewise:BatchPutAssetPropertyValue", "Resource": "arn:aws:iotsitewise:*:*:time-series/*" } ] }
Important
Before you ingest data to a data stream, do the following.
-
The
time-series
resource must be authorized if you use a property alias to identify the data stream. -
The
asset
resource must be authorized if you use an asset ID to identify the asset that contains the associated asset property.
For more information about configuring IAM policies, see Managing IAM policies in the IAM User Guide.
-
-
Configure data ingestion settings to allow AWS IoT SiteWise to accept data streams that aren't associated with asset properties .