AWS IoT 受管整合的動作、資源和條件索引鍵
AWS IoT 受管整合 (服務字首:iotmanagedintegrations) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。
參考資料:
-
了解如何設定此服務。
-
檢視可供此服務使用的 API 操作清單。
-
了解如何使用 IAM 許可政策來保護此服務及其資源。
-
檢視此服務的程式設計服務授權參考
。
AWS IoT 受管整合定義的 API 操作
下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。
| 作業 | IAM 動作 | 條件鍵 | 可能的值 (s) | 存取層級 |
|---|---|---|---|---|
|
CreateAccountAssociation |
寫入 |
|||
標記、寫入 |
||||
|
CreateCloudConnector |
寫入 |
|||
|
CreateConnectorDestination |
寫入 |
|||
|
CreateCredentialLocker |
寫入 |
|||
標記、寫入 |
||||
|
CreateDestination |
寫入 |
|||
寫入 |
||||
|
CreateEventLogConfiguration |
寫入 |
|||
|
CreateManagedThing |
寫入 |
|||
標記、寫入 |
||||
|
CreateNotificationConfiguration |
寫入 |
|||
|
CreateOtaTask |
寫入 |
|||
標記、寫入 |
||||
|
CreateOtaTaskConfiguration |
寫入 |
|||
|
CreateProvisioningProfile |
寫入 |
|||
標記、寫入 |
||||
|
DeleteAccountAssociation |
寫入 |
|||
|
DeleteCloudConnector |
寫入 |
|||
|
DeleteConnectorDestination |
寫入 |
|||
|
DeleteCredentialLocker |
寫入 |
|||
|
DeleteDestination |
寫入 |
|||
|
DeleteEventLogConfiguration |
寫入 |
|||
|
DeleteManagedThing |
寫入 |
|||
|
DeleteNotificationConfiguration |
寫入 |
|||
|
DeleteOtaTask |
寫入 |
|||
|
DeleteOtaTaskConfiguration |
寫入 |
|||
|
DeleteProvisioningProfile |
寫入 |
|||
|
DeregisterAccountAssociation |
寫入 |
|||
|
GetAccountAssociation |
讀取 |
|||
|
GetCloudConnector |
讀取 |
|||
|
GetConnectorDestination |
讀取 |
|||
|
GetCredentialLocker |
讀取 |
|||
|
GetCustomEndpoint |
讀取 |
|||
|
GetDefaultEncryptionConfiguration |
讀取 |
|||
|
GetDestination |
讀取 |
|||
|
GetDeviceDiscovery |
讀取 |
|||
|
GetEventLogConfiguration |
讀取 |
|||
|
GetHubConfiguration |
讀取 |
|||
|
GetManagedThing |
讀取 |
|||
|
GetManagedThingCapabilities |
讀取 |
|||
|
GetManagedThingConnectivityData |
讀取 |
|||
|
GetManagedThingMetaData |
讀取 |
|||
|
GetManagedThingState |
讀取 |
|||
|
GetNotificationConfiguration |
讀取 |
|||
|
GetOtaTask |
讀取 |
|||
|
GetOtaTaskConfiguration |
讀取 |
|||
|
GetProvisioningProfile |
讀取 |
|||
|
GetRuntimeLogConfiguration |
讀取 |
|||
|
GetSchemaVersion |
讀取 |
|||
|
ListAccountAssociations |
清單 |
|||
|
ListCloudConnectors |
清單 |
|||
|
ListConnectorDestinations |
清單 |
|||
|
ListCredentialLockers |
清單 |
|||
|
ListDestinations |
清單 |
|||
|
ListDeviceDiscoveries |
清單 |
|||
|
ListDiscoveredDevices |
讀取 |
|||
|
ListEventLogConfigurations |
讀取 |
|||
|
ListManagedThingAccountAssociations |
清單 |
|||
|
ListManagedThingSchemas |
讀取 |
|||
|
ListManagedThings |
清單 |
|||
|
ListNotificationConfigurations |
讀取 |
|||
|
ListOtaTaskConfigurations |
讀取 |
|||
|
ListOtaTaskExecutions |
讀取 |
|||
|
ListOtaTasks |
清單 |
|||
|
ListProvisioningProfiles |
清單 |
|||
|
ListSchemaVersions |
清單 |
|||
|
ListTagsForResource |
讀取 |
|||
|
PutDefaultEncryptionConfiguration |
寫入 |
|||
|
PutHubConfiguration |
寫入 |
|||
|
PutRuntimeLogConfiguration |
寫入 |
|||
|
RegisterAccountAssociation |
寫入 |
|||
|
RegisterCustomEndpoint |
寫入 |
|||
|
ResetRuntimeLogConfiguration |
寫入 |
|||
|
SendConnectorEvent |
寫入 |
|||
|
SendManagedThingCommand |
寫入 |
|||
|
StartAccountAssociationRefresh |
寫入 |
|||
|
StartDeviceDiscovery |
寫入 |
|||
|
TagResource |
標記、寫入 |
|||
|
UntagResource |
標記、寫入 |
|||
|
UpdateAccountAssociation |
寫入 |
|||
|
UpdateCloudConnector |
寫入 |
|||
|
UpdateConnectorDestination |
寫入 |
|||
|
UpdateDestination |
寫入 |
|||
|
UpdateEventLogConfiguration |
寫入 |
|||
|
UpdateManagedThing |
寫入 |
|||
|
UpdateNotificationConfiguration |
寫入 |
|||
|
UpdateOtaTask |
寫入 |
AWS IoT 受管整合定義的動作
您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。
| 動作 | 說明 | 資源類型 (*必填項目) | 條件索引鍵 | 存取層級 |
|---|---|---|---|---|
准許建立新的帳戶關聯 |
寫入 |
|||
准許建立新的雲端連接器 |
寫入 |
|||
准許建立新的連接器目的地 |
寫入 |
|||
准許建立產品登入資料儲存庫 |
寫入 |
|||
准許建立新的目的地 |
寫入 |
|||
准許建立新的事件組態 |
寫入 |
|||
准許建立新的受管物件 |
寫入 |
|||
准許建立新的通知組態 |
寫入 |
|||
准許建立新的 ota 任務 |
寫入 |
|||
准許建立新的 ota 任務組態 |
寫入 |
|||
准許建立新的佈建設定檔 |
寫入 |
|||
准許刪除帳戶關聯 |
寫入 |
|||
准許刪除雲端連接器 |
寫入 |
|||
准許刪除連接器目的地 |
寫入 |
|||
准許刪除登入資料儲存庫 |
寫入 |
|||
准許刪除目的地 |
寫入 |
|||
准許刪除事件日誌組態 |
寫入 |
|||
准許刪除受管物件 |
寫入 |
|||
准許刪除通知組態 |
寫入 |
|||
准許刪除 ota 任務 |
寫入 |
|||
准許刪除 ota 任務組態 |
寫入 |
|||
准許刪除佈建設定檔 |
寫入 |
|||
准許取消註冊帳戶關聯 |
寫入 |
|||
准許取得帳戶關聯的相關資訊 |
讀取 |
|||
准許取得雲端連接器的相關資訊 |
讀取 |
|||
准許取得雲端目的地的相關資訊 |
讀取 |
|||
准許取得登入資料儲存庫的相關資訊 |
讀取 |
|||
准許取得自訂端點的相關資訊 |
讀取 |
|||
准許取得預設加密組態的相關資訊 |
讀取 |
|||
准許取得目的地的相關資訊 |
讀取 |
|||
准許取得裝置探索的相關資訊 |
讀取 |
|||
准許取得事件日誌組態的相關資訊 |
讀取 |
|||
准許取得中樞組態的相關資訊 |
讀取 |
|||
准許取得受管物件的相關資訊 |
讀取 |
|||
准許取得受管物件的功能報告 |
讀取 |
|||
准許取得受管物件的憑證 pem |
讀取 |
|||
准許取得受管物件的連線資料 |
讀取 |
|||
准許取得受管物件的中繼資料資訊 |
讀取 |
|||
准許取得受管物件的裝置狀態資訊 |
讀取 |
|||
准許取得通知組態的資訊 |
讀取 |
|||
准許取得 ota 任務的資訊 |
讀取 |
|||
准許取得 ota 任務組態的資訊 |
讀取 |
|||
准許取得佈建設定檔的資訊 |
讀取 |
|||
准許取得執行期日誌組態的資訊 |
讀取 |
|||
准許取得結構描述版本的資訊 |
讀取 |
|||
准許列出帳戶關聯的資訊 |
清單 |
|||
准許列出雲端連接器的資訊 |
清單 |
|||
准許列出連接器目的地的資訊 |
清單 |
|||
准許列出登入資料儲存庫的資訊 |
清單 |
|||
准許列出目的地的資訊 |
清單 |
|||
准許列出裝置探索的資訊 |
清單 |
|||
准許列出裝置探索中發現的裝置資訊 |
讀取 |
|||
准許列出事件日誌組態的資訊 |
讀取 |
|||
准許列出受管物件與帳戶關聯之間的關聯資訊 |
清單 |
|||
准許列出與受管物件相關聯的結構描述 |
讀取 |
|||
准許列出受管物件的資訊 |
清單 |
|||
准許列出通知組態的資訊 |
讀取 |
|||
准許列出 ota 任務組態的資訊 |
讀取 |
|||
准許列出 ota 任務執行的資訊 |
讀取 |
|||
准許列出 ota 任務的資訊 |
清單 |
|||
准許列出佈建設定檔的資訊 |
清單 |
|||
准許列出結構描述的資訊 |
清單 |
|||
准許列出特定資源的標籤 |
讀取 |
|||
准許更新加密組態的預設設定 |
寫入 |
|||
准許更新中樞組態 |
寫入 |
|||
准許更新執行時間日誌組態 |
寫入 |
|||
准許註冊與受管物件的帳戶關聯 |
寫入 |
|||
准許註冊自訂端點 |
寫入 |
|||
准許重設執行時間日誌組態 |
寫入 |
|||
准許傳送連接器事件 |
寫入 |
|||
准許將命令傳送至受管物件 |
寫入 |
|||
准許開始重新整理與帳戶關聯相關聯的存取字符 |
寫入 |
|||
准許啟動裝置探索 |
寫入 |
|||
准許為指定的資源新增標籤 |
標記、寫入 |
|||
准許移除指定資源的標籤 |
標記、寫入 |
|||
准許更新帳戶關聯 |
寫入 |
|||
准許更新雲端連接器 |
寫入 |
|||
准許更新連接器目的地 |
寫入 |
|||
准許更新目的地 |
寫入 |
|||
准許更新事件日誌組態 |
寫入 |
|||
准許更新受管物件 |
寫入 |
|||
准許更新通知組態 |
寫入 |
|||
准許更新 ota 任務 |
寫入 |
AWS IoT 受管整合定義的資源類型
此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。
| 資源類型 | ARN | 條件索引鍵 |
|---|---|---|
arn:${Partition}:iotmanagedintegrations:${Region}:${Account}:account-association/${AccountAssociationId} |
||
arn:${Partition}:iotmanagedintegrations:${Region}:${Account}:credential-locker/${Identifier} |
||
arn:${Partition}:iotmanagedintegrations:${Region}:${Account}:managed-thing/${Identifier} |
||
arn:${Partition}:iotmanagedintegrations:${Region}:${Account}:ota-task/${Identifier} |
||
arn:${Partition}:iotmanagedintegrations:${Region}:${Account}:provisioning-profile/${Identifier} |
AWS IoT 受管整合的條件索引鍵
AWS IoT 受管整合定義了下列條件索引鍵,可用於 IAM 政策的 Condition元素。
| 條件索引鍵 | 描述 | Type |
|---|---|---|
依在請求中允許的標籤索引鍵和值對篩選存取 |
String |
|
依資源的標籤索引鍵和值對篩選存取 |
String |
|
依要求中傳遞的標籤索引鍵來篩選存取權 |
ArrayOfString |
|
依 CloudConnectorId 篩選存取權 |
String |
|
依 ConnectorDestinationId 篩選存取權 |
String |