View a markdown version of this page

AWS IoT TwinMaker 的動作、資源和條件索引鍵 - 服務授權參考

AWS IoT TwinMaker 的動作、資源和條件索引鍵

AWS IoT TwinMaker (服務字首:iottwinmaker) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

AWS IoT TwinMaker 定義的 API 操作

下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。

作業 IAM 動作 條件鍵 可能的值 (s) 存取層級

BatchPutPropertyValues

iottwinmaker:BatchPutPropertyValues

寫入

CancelMetadataTransferJob

iottwinmaker:CancelMetadataTransferJob

寫入

CreateComponentType

iottwinmaker:CreateComponentType

寫入

iottwinmaker:TagResource

標記、寫入

CreateEntity

iottwinmaker:CreateEntity

寫入

iottwinmaker:TagResource

標記、寫入

CreateMetadataTransferJob

iottwinmaker:CreateMetadataTransferJob

寫入

CreateScene

iottwinmaker:CreateScene

寫入

iottwinmaker:TagResource

標記、寫入

CreateSyncJob

iottwinmaker:CreateSyncJob

寫入

iottwinmaker:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

iottwinmaker.amazonaws.com

寫入

CreateWorkspace

iottwinmaker:CreateWorkspace

寫入

iottwinmaker:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

iottwinmaker.amazonaws.com

寫入

DeleteComponentType

iottwinmaker:DeleteComponentType

寫入

DeleteEntity

iottwinmaker:DeleteEntity

寫入

DeleteScene

iottwinmaker:DeleteScene

寫入

DeleteSyncJob

iottwinmaker:DeleteSyncJob

寫入

DeleteWorkspace

iottwinmaker:DeleteWorkspace

寫入

ExecuteQuery

iottwinmaker:ExecuteQuery

讀取

GetComponentType

iottwinmaker:GetComponentType

讀取

GetEntity

iottwinmaker:GetEntity

讀取

GetMetadataTransferJob

iottwinmaker:GetMetadataTransferJob

讀取

GetPricingPlan

iottwinmaker:GetPricingPlan

讀取

GetPropertyValue

iottwinmaker:GetPropertyValue

讀取

GetPropertyValueHistory

iottwinmaker:GetPropertyValueHistory

讀取

GetScene

iottwinmaker:GetScene

讀取

GetSyncJob

iottwinmaker:GetSyncJob

讀取

GetWorkspace

iottwinmaker:GetWorkspace

讀取

ListComponentTypes

iottwinmaker:ListComponentTypes

清單

ListComponents

iottwinmaker:ListComponents

清單

ListEntities

iottwinmaker:ListEntities

清單

ListMetadataTransferJobs

iottwinmaker:ListMetadataTransferJobs

清單

ListProperties

iottwinmaker:ListProperties

清單

ListScenes

iottwinmaker:ListScenes

清單

ListSyncJobs

iottwinmaker:ListSyncJobs

清單

ListSyncResources

iottwinmaker:ListSyncResources

清單

ListTagsForResource

iottwinmaker:ListTagsForResource

清單

ListWorkspaces

iottwinmaker:ListWorkspaces

清單

TagResource

iottwinmaker:TagResource

標記、寫入

UntagResource

iottwinmaker:UntagResource

標記、寫入

UpdateComponentType

iottwinmaker:UpdateComponentType

寫入

UpdateEntity

iottwinmaker:UpdateEntity

寫入

UpdatePricingPlan

iottwinmaker:UpdatePricingPlan

寫入

UpdateScene

iottwinmaker:UpdateScene

寫入

UpdateWorkspace

iottwinmaker:UpdateWorkspace

寫入

iam:PassRole

iam:PassedToService

iottwinmaker.amazonaws.com

寫入

AWS IoT TwinMaker 定義的動作

您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

BatchPutPropertyValues

准許設定多個時間序列屬性值

entity

aws:ResourceTag/${TagKey}

寫入

workspace*

aws:ResourceTag/${TagKey}

CancelMetadataTransferJob

准許取消中繼資料傳輸任務

metadataTransferJob*

寫入

CreateComponentType

准許建立 componentType

workspace*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateEntity

准許建立實體

workspace*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateMetadataTransferJob

准許建立中繼資料傳輸任務

寫入

CreateScene

准許建立場景

workspace*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateSyncJob

准許建立同步作業

workspace*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateWorkspace

准許建立工作空間

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

DeleteComponentType

准許刪除 componentType

componentType*

aws:ResourceTag/${TagKey}

寫入

workspace*

aws:ResourceTag/${TagKey}

DeleteEntity

准許刪除實體

實體*

aws:ResourceTag/${TagKey}

寫入

workspace*

aws:ResourceTag/${TagKey}

DeleteScene

准許刪除場景

場景*

aws:ResourceTag/${TagKey}

寫入

workspace*

aws:ResourceTag/${TagKey}

DeleteSyncJob

准許刪除同步作業

syncJob*

aws:ResourceTag/${TagKey}

寫入

workspace*

aws:ResourceTag/${TagKey}

DeleteWorkspace

准許刪除工作空間

workspace*

aws:ResourceTag/${TagKey}

寫入

ExecuteQuery

准許執行查詢

workspace*

aws:ResourceTag/${TagKey}

讀取

GetComponentType

准許取得 componentType

componentType*

aws:ResourceTag/${TagKey}

讀取

workspace*

aws:ResourceTag/${TagKey}

GetEntity

准許取得實體

實體*

aws:ResourceTag/${TagKey}

讀取

workspace*

aws:ResourceTag/${TagKey}

GetMetadataTransferJob

准許取得中繼資料傳輸任務

metadataTransferJob*

讀取

GetPricingPlan

准許取得定價方案

讀取

GetPropertyValue

准許擷取屬性值

componentType

aws:ResourceTag/${TagKey}

讀取

entity

aws:ResourceTag/${TagKey}

workspace*

aws:ResourceTag/${TagKey}

GetPropertyValueHistory

准許擷取時間序列值歷史記錄

componentType

aws:ResourceTag/${TagKey}

讀取

entity

aws:ResourceTag/${TagKey}

workspace*

aws:ResourceTag/${TagKey}

GetScene

准許取得場景

場景*

aws:ResourceTag/${TagKey}

讀取

workspace*

aws:ResourceTag/${TagKey}

GetSyncJob

准許取得同步作業

syncJob*

aws:ResourceTag/${TagKey}

讀取

workspace*

aws:ResourceTag/${TagKey}

GetWorkspace

准許取得工作空間

workspace*

aws:ResourceTag/${TagKey}

讀取

ListComponentTypes

准許列出工作空間中的所有 componentType

workspace*

aws:ResourceTag/${TagKey}

清單

ListComponents

准許列出連接至實體的元件

實體*

aws:ResourceTag/${TagKey}

清單

workspace*

aws:ResourceTag/${TagKey}

ListEntities

准許列出工作空間中的所有實體

workspace*

aws:ResourceTag/${TagKey}

清單

ListMetadataTransferJobs

准許列出所有中繼資料傳輸任務

清單

ListProperties

准許列出實體元件的屬性

實體*

aws:ResourceTag/${TagKey}

清單

workspace*

aws:ResourceTag/${TagKey}

ListScenes

准許列出工作空間中的所有場景

workspace*

aws:ResourceTag/${TagKey}

清單

ListSyncJobs

准許列出工作空間中的所有同步作業

workspace*

aws:ResourceTag/${TagKey}

清單

ListSyncResources

准許列出同步作業的所有同步資源

syncJob*

aws:ResourceTag/${TagKey}

清單

workspace*

aws:ResourceTag/${TagKey}

ListTagsForResource

准許列出資源的所有標籤

componentType

aws:ResourceTag/${TagKey}

清單

entity

aws:ResourceTag/${TagKey}

場景

aws:ResourceTag/${TagKey}

syncJob

aws:ResourceTag/${TagKey}

工作區

aws:ResourceTag/${TagKey}

ListWorkspaces

准許列出所有工作空間

清單

TagResource

准許標記資源

componentType

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

entity

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

場景

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

syncJob

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

工作區

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許取消標記資源

componentType

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

entity

aws:ResourceTag/${TagKey}

aws:TagKeys

場景

aws:ResourceTag/${TagKey}

aws:TagKeys

syncJob

aws:ResourceTag/${TagKey}

aws:TagKeys

工作區

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateComponentType

准許更新 componentType

componentType*

aws:ResourceTag/${TagKey}

寫入

workspace*

aws:ResourceTag/${TagKey}

UpdateEntity

准許更新實體

實體*

aws:ResourceTag/${TagKey}

寫入

workspace*

aws:ResourceTag/${TagKey}

UpdatePricingPlan

准許更新定價方案

寫入

UpdateScene

准許更新場景

場景*

aws:ResourceTag/${TagKey}

寫入

workspace*

aws:ResourceTag/${TagKey}

UpdateWorkspace

准許更新工作空間

workspace*

aws:ResourceTag/${TagKey}

寫入

AWS IoT TwinMaker 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。

資源類型 ARN 條件索引鍵

componentType

arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/component-type/${ComponentTypeId}

aws:ResourceTag/${TagKey}

實體

arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/entity/${EntityId}

aws:ResourceTag/${TagKey}

metadataTransferJob

arn:${Partition}:iottwinmaker:${Region}:${Account}:metadata-transfer-job/${MetadataTransferJobId}

場景

arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/scene/${SceneId}

aws:ResourceTag/${TagKey}

syncJob

arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/sync-job/${SyncJobId}

aws:ResourceTag/${TagKey}

工作區

arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}

aws:ResourceTag/${TagKey}

AWS IoT TwinMaker 的條件索引鍵

AWS IoT TwinMaker 定義了下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依請求中的標籤鍵值組篩選存取權

String

aws:ResourceTag/${TagKey}

依連接到資源的標籤篩選存取權

String

aws:TagKeys

依請求中的標籤索引鍵篩選存取權

ArrayOfString

iottwinmaker:destinationType

依中繼資料傳輸任務的目的地類型篩選存取權

String

iottwinmaker:linkedServices

依連結至服務的工作區篩選存取權

ArrayOfString

iottwinmaker:sourceType

依中繼資料傳輸工作的來源類型篩選存取權

String