Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
AWS IoT SiteWise (service prefix:
iotsitewise
) provides the following service-specific resources, actions, and condition context
keys for use in IAM permission policies.
References:
Learn how to configure this service .
View a list of the API operations available for this service .
Learn how to secure this service and its resources by using IAM permission policies.
Topics
You can specify the following actions in the
Action
element of an IAM policy statement. Use policies to grant permissions to perform
an operation in AWS. When you use an action in a policy, you usually allow or
deny access to the API operation or CLI command with the same name. However,
in some cases, a single action controls access to more than one operation. Alternatively,
some operations require several different actions.
The
Resource Types
column indicates whether each action supports resource-level permissions. If
there is no value for this column, you must specify all resources ("*") in the
Resource
element of your policy statement. If the column includes a resource type, then
you can specify an ARN of that type in a statement with that action. Required
resources are indicated in the table with an asterisk (*). If you specify a resource-level
permission ARN in a statement using this action, then it must be of this type.
Some actions support multiple resource types. If the resource type is optional (not
indicated as required), then you can choose to use one but not the other.
For details about the columns in the following table, see The Actions Table .
Actions | Description | Access Level | Resource Types (*required) | Condition Keys | Dependent Actions |
---|---|---|---|---|---|
AssociateAssets | Associate child assets to the parent via specified model hiearchy. | Write | |||
AssociateViewEntities | Associates the specified entities within a view for the specified group. | Write | |||
BatchAssociateProjectAssets | Grants permission to associate assets to a specified project. | Write | |||
BatchDisassociateProjectAssets | Grants permission to disassociate assets from a specified project. | Write | |||
BatchPutAssetPropertyValue | Puts batch of property values for the specified properties. | Write | |||
CreateAccessPolicy | Grants permission to create access policy for a specified portal or a project. | Permissions management | |||
CreateAsset | Creates an asset. | Write | |||
CreateAssetModel | Creates an asset model. | Write | |||
CreateAssetTemplate | Creates an asset template. | Write | |||
CreateDashboard | Grants permission to create a dashboard within a specified project. | Write | |||
CreateGroup | Creates a group. | Write | |||
CreateMeasurementDataStore | Registers a measurement data store. | Write | |||
CreateMetricType | Creates a metric type. | Write | |||
CreatePortal | Grants permission to create a portal. | Write |
sso:CreateManagedApplicationInstance |
||
CreateProject | Grants permission to create a project within a specified portal. | Write | |||
CreateView | Creates a view. | Write | |||
DeleteAccessPolicy | Grants permission to delete a specified access policy. | Permissions management | |||
DeleteAsset | Deletes the specified asset. | Write | |||
DeleteAssetModel | Deletes the specified asset model. | Write | |||
DeleteAssetTemplate | Deletes the specified asset template. | Write | |||
DeleteDashboard | Grants permission to delete a specified dashboard. | Write | |||
DeleteGroup | Deletes the specified group. | Write | |||
DeleteMeasurementDataStore | Deregisters the specified measurement data store. | Write | |||
DeleteMetricType | Deletes the specified metric type. | Write | |||
DeletePortal | Grants permission to delete a specified portal. | Write |
sso:DeleteManagedApplicationInstance |
||
DeleteProject | Grants permission to delete a specified project. | Write | |||
DeleteView | Deletes the specified view. | Write | |||
DeregisterViewEntities | Deregisters the specified assets and groups from the specified view. | Write | |||
DescribeAccessPolicy | Grants permission to describe a specified access policy. | Permissions management | |||
DescribeAsset | Describes the specified asset. | Read | |||
DescribeAssetModel | Describes the specified asset model. | Read | |||
DescribeAssetProperty | Describes the specified asset property. | Read | |||
DescribeAssetTemplates | Describes the specified asset templates. | Read | |||
DescribeAssets | Describes the specified assets. | Read | |||
DescribeDashboard | Grants permission to describe a specified dashboard. | Read | |||
DescribeGroups | Describes the groups for the account. | Read | |||
DescribeLoggingOptions | Describes the logging options for the account. | Read | |||
DescribeMeasurementDataStores | Describes the specified measurement data stores. | Read | |||
DescribeMetricTypes | Describes the metric types for the account. | Read | |||
DescribePortal | Grants permission to describe a specified portal. | Read | |||
DescribeProject | Grants permission to describe a specified project. | Read | |||
DescribeViews | Describes the specified views. | Read | |||
DisassociateAssets | Disassociate child assets from the parent for specified model hiearchy. | Write | |||
DisassociateViewEntities | Disassociates the specified entities within a view for the specified group. | Write | |||
GetAssetPropertyAggregates | Fetches the aggregated property values for the specified property. | Read | |||
GetAssetPropertyValue | Fetches the latest property value for the specified property. | Read | |||
GetAssetPropertyValueHistory | Fetches the property value history for the specified property. | Read | |||
GetMeasurementData | Fetches the measurement data for the specified measurement and time interval. | Read | |||
GetMetricData | Fetches the metric data for the specified metric and time interval. | Read | |||
ListAccessPolicies | Grants permission to list access policies for a specified portal or a project. | Permissions management | |||
ListAssetModels | Lists the asset models for the account. | List | |||
ListAssetTemplates | Lists the asset templates for the account. | List | |||
ListAssets | Lists the assets for the account. | List | |||
ListAssociatedAssets | Lists the assets associated to the parent via specified model hiearchy. | List | |||
ListDashboards | Grants permission to list dashboards within a specified project. | List | |||
ListGroups | Lists the groups for the account. | List | |||
ListMeasurementDataStores | Lists the measurement data stores for the account. | List | |||
ListMeasurementDataStreams | Lists the measurement data streams for the specified measurement data store. | List | |||
ListMetricTypes | Lists the metric types for the account. | List | |||
ListPortals | Grants permission to list portals in the account. | List | |||
ListProjectAssets | Grants permission to list assets associated with a specified project. | List | |||
ListProjects | Grants permission to list projects within a specified portal. | List | |||
ListViewEntities | Lists the assets and groups for the specified view. | List | |||
ListViews | Lists the views for the account. | List | |||
PutLoggingOptions | Sets the logging options. | Write | |||
RegisterViewEntities | Registers the specified assets and groups with the specified view. | Write | |||
UpdateAccessPolicy | Grants permission to update a specified access policy. | Permissions management | |||
UpdateAsset | Updates the specified asset. | Write | |||
UpdateAssetModel | Updates the specified asset model. | Write | |||
UpdateAssetProperty | Updates the specified asset property. | Write | |||
UpdateAssetTemplate | Updates the specified asset template. | Write | |||
UpdateDashboard | Grants permission to update a specified dashboard. | Write | |||
UpdateGroup | Updates the specified group. | Write | |||
UpdateMeasurementDataStore | Updates metadata about the measurement data store. | Write | |||
UpdatePortal | Grants permission to update a specified portal. | Write | |||
UpdateProject | Grants permission to update a specified project. | Write | |||
UpdateView | Updates the specified view. | Write |
The following resource types are defined by this service and can be used in the
Resource
element of IAM permission policy statements. Each action in the
Actions table
identifies the resource types that can be specified with that action. A resource
type can also define which condition keys you can include in a policy. These
keys are displayed in the last column of the table. For details about the columns
in the following table, see
The Resource Types Table
.
Resource Types | ARN | Condition Keys |
---|---|---|
asset |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:asset/$
{
AssetId}
|
|
asset-template |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:asset-template/$
{
AssetTemplateId}
|
|
asset-model |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:asset-model/$
{
AssetModelId}
|
|
gateway |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:gateway/$
{
GatewayId}
|
|
group |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:group/$
{
GroupId}
|
|
measurement |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:measurement/$
{
MeasurementId}
|
|
measurement-data-store |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:measurement-data-store/$
{
MeasurementDataStoreId}
|
|
metric |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:metric/$
{
MetricId}
|
|
metric-type |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:metric-type/$
{
MetricTypeId}
|
|
view |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:view/$
{
ViewId}
|
|
portal |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:portal/$
{
PortalId}
|
|
project |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:project/$
{
ProjectId}
|
|
dashboard |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:dashboard/$
{
DashboardId}
|
|
access-policy |
arn:$
{
Partition}:iotsitewise:$
{
Region}:$
{
Account}:access-policy/$
{
AccessPolicyId}
|
AWS IoT SiteWise defines the following condition keys that can be used in the
Condition
element of an IAM policy. You can use these keys to further refine the conditions
under which the policy statement applies. For details about the columns in the
following table, see
The Condition Keys Table
.
To view the global condition keys that are available to all services, see Available Global Condition Keys in the IAM Policy Reference .
Condition Keys | Description | Type |
---|---|---|
iotsitewise:assetHierarchyPath | String of asset IDs in the asset hierarchy separated by forward slash. | String |
iotsitewise:childAssetId | ID of an asset being associated as a child to another asset. | String |
iotsitewise:group | Group ID. | String |
iotsitewise:portal | Portal ID. | String |
iotsitewise:project | Project ID. | String |
iotsitewise:propertyId | Property ID. | String |
iotsitewise:user | User ID. | String |