Actions, Resources, and Condition Keys for AWS IoT SiteWise - AWS Identity and Access Management

Actions, Resources, and Condition Keys for AWS IoT SiteWise

AWS IoT SiteWise (service prefix: iotsitewise ) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions Defined by AWS IoT SiteWise

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

asset*

BatchAssociateProjectAssets Grants permission to associate assets to a specified project. Write

project*

BatchDisassociateProjectAssets Grants permission to disassociate assets from a specified project. Write

project*

BatchPutAssetPropertyValue Puts batch of property values for the specified properties. Write

asset*

CreateAccessPolicy Grants permission to create access policy for a specified portal or a project. Permissions management

portal

project

aws:RequestTag/${TagKey}

aws:TagKeys

CreateAsset Creates an asset. Write

asset-model*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateAssetModel Creates an asset model. Write

aws:RequestTag/${TagKey}

aws:TagKeys

CreateDashboard Grants permission to create a dashboard within a specified project. Write

project*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateGateway Creates a gateway. Write

aws:RequestTag/${TagKey}

aws:TagKeys

CreatePortal Grants permission to create a portal. Write

aws:RequestTag/${TagKey}

aws:TagKeys

sso:CreateManagedApplicationInstance

sso:DescribeRegisteredRegions

CreateProject Grants permission to create a project within a specified portal. Write

portal*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteAccessPolicy Grants permission to delete a specified access policy. Permissions management

access-policy*

DeleteAsset Deletes the specified asset. Write

asset*

DeleteAssetModel Deletes the specified asset model. Write

asset-model*

DeleteDashboard Grants permission to delete a specified dashboard. Write

dashboard*

DeleteGateway Deletes the specified gateway. Write

gateway*

DeletePortal Grants permission to delete a specified portal. Write

portal*

sso:DeleteManagedApplicationInstance

DeleteProject Grants permission to delete a specified project. Write

project*

DescribeAccessPolicy Grants permission to describe a specified access policy. Permissions management

access-policy*

DescribeAsset Describes the specified asset. Read

asset*

DescribeAssetModel Describes the specified asset model. Read

asset-model*

DescribeAssetProperty Describes the specified asset property. Read

asset*

DescribeDashboard Grants permission to describe a specified dashboard. Read

dashboard*

DescribeGateway Describes the gateway for the account. Read

gateway*

DescribeGatewayCapabilityConfiguration Describes the specified gateway capability configuration. Read

gateway*

DescribeLoggingOptions Describes the logging options for the account. Read
DescribePortal Grants permission to describe a specified portal. Read

portal*

DescribeProject Grants permission to describe a specified project. Read

project*

DisassociateAssets Disassociate child assets from the parent for specified model hiearchy. Write

asset*

GetAssetPropertyAggregates Fetches the aggregated property values for the specified property. Read

asset*

GetAssetPropertyValue Fetches the latest property value for the specified property. Read

asset*

GetAssetPropertyValueHistory Fetches the property value history for the specified property. Read

asset*

ListAccessPolicies Grants permission to list access policies for a specified portal or a project. Permissions management

portal

project

ListAssetModels Lists the asset models for the account. List
ListAssets Lists the assets for the account. List

asset-model

ListAssociatedAssets Lists the assets associated to the parent via specified model hiearchy. List

asset*

ListDashboards Grants permission to list dashboards within a specified project. List

project*

ListGateways Lists the gateways 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

project*

ListProjects Grants permission to list projects within a specified portal. List

portal*

ListTagsForResource Grants permission to lists tag for a resource. Read

access-policy

asset

asset-model

dashboard

gateway

portal

project

aws:ResourceTag/${TagKey}

PutLoggingOptions Sets the logging options. Write
TagResource Grants permission to tag a resource. Tagging

access-policy

asset

asset-model

dashboard

gateway

portal

project

aws:TagKeys

aws:RequestTag/${TagKey}

UntagResource Grants permission to untag a resource. Tagging

access-policy

asset

asset-model

dashboard

gateway

portal

project

aws:TagKeys

UpdateAccessPolicy Grants permission to update a specified access policy. Permissions management

access-policy*

UpdateAsset Updates the specified asset. Write

asset*

UpdateAssetModel Updates the specified asset model. Write

asset-model*

UpdateAssetProperty Updates the specified asset property. Write

asset*

UpdateDashboard Grants permission to update a specified dashboard. Write

dashboard*

UpdateGateway Updates the specified gateway. Write

gateway*

UpdateGatewayCapabilityConfiguration Updates the specified gateway capability configuration. Write

gateway*

UpdatePortal Grants permission to update a specified portal. Write

portal*

UpdateProject Grants permission to update a specified project. Write

project*

Resource Types Defined by AWS IoT SiteWise

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}

aws:ResourceTag/${TagKey}

asset-model arn:$ { Partition}:iotsitewise:$ { Region}:$ { Account}:asset-model/$ { AssetModelId}

aws:ResourceTag/${TagKey}

gateway arn:$ { Partition}:iotsitewise:$ { Region}:$ { Account}:gateway/$ { GatewayId}

aws:ResourceTag/${TagKey}

portal arn:$ { Partition}:iotsitewise:$ { Region}:$ { Account}:portal/$ { PortalId}

aws:ResourceTag/${TagKey}

project arn:$ { Partition}:iotsitewise:$ { Region}:$ { Account}:project/$ { ProjectId}

aws:ResourceTag/${TagKey}

dashboard arn:$ { Partition}:iotsitewise:$ { Region}:$ { Account}:dashboard/$ { DashboardId}

aws:ResourceTag/${TagKey}

access-policy arn:$ { Partition}:iotsitewise:$ { Region}:$ { Account}:access-policy/$ { AccessPolicyId}

aws:ResourceTag/${TagKey}

Condition Keys for AWS IoT SiteWise

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
aws:RequestTag/$ { TagKey} Filters actions based on the presence of tag key-value pairs in the request String
aws:ResourceTag/$ { TagKey} Filters actions based on the tags associated with the resource String
aws:TagKeys Filters actions based on the tag keys that are passed in the request String
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