View a markdown version of this page

Amazon Timestream InfluxDB 的動作、資源和條件索引鍵 - 服務授權參考

Amazon Timestream InfluxDB 的動作、資源和條件索引鍵

Amazon Timestream InfluxDB (服務字首:timestream-influxdb) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

Amazon Timestream InfluxDB 定義的 API 操作

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

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

CreateDbBackup

timestream-influxdb:CreateDbBackup

寫入

timestream-influxdb:TagResource

標記、寫入

CreateDbCluster

timestream-influxdb:CreateDbCluster

寫入

timestream-influxdb:CreateDbInstance

寫入

timestream-influxdb:CreateDbParameterGroup

寫入

timestream-influxdb:TagResource

標記、寫入

CreateDbInstance

timestream-influxdb:CreateDbInstance

寫入

timestream-influxdb:TagResource

標記、寫入

CreateDbParameterGroup

timestream-influxdb:CreateDbParameterGroup

寫入

timestream-influxdb:TagResource

標記、寫入

DeleteDbBackup

timestream-influxdb:DeleteDbBackup

寫入

DeleteDbCluster

timestream-influxdb:DeleteDbCluster

寫入

timestream-influxdb:DeleteDbInstance

寫入

DeleteDbInstance

timestream-influxdb:DeleteDbInstance

寫入

GetDbBackup

timestream-influxdb:GetDbBackup

讀取

GetDbCluster

timestream-influxdb:GetDbCluster

讀取

GetDbInstance

timestream-influxdb:GetDbInstance

讀取

GetDbParameterGroup

timestream-influxdb:GetDbParameterGroup

讀取

ListDbBackups

timestream-influxdb:ListDbBackups

清單

ListDbClusters

timestream-influxdb:ListDbClusters

清單

ListDbInstances

timestream-influxdb:ListDbInstances

清單

ListDbInstancesForCluster

timestream-influxdb:ListDbInstancesForCluster

讀取

ListDbParameterGroups

timestream-influxdb:ListDbParameterGroups

清單

ListTagsForResource

timestream-influxdb:ListTagsForResource

讀取

RebootDbCluster

timestream-influxdb:RebootDbCluster

寫入

timestream-influxdb:RebootDbInstance

寫入

RebootDbInstance

timestream-influxdb:RebootDbInstance

寫入

RestoreFromDbBackup

timestream-influxdb:RestoreFromDbBackup

寫入

TagResource

timestream-influxdb:TagResource

標記、寫入

UntagResource

timestream-influxdb:UntagResource

標記、寫入

UpdateDbCluster

timestream-influxdb:UpdateDbCluster

寫入

timestream-influxdb:UpdateDbInstance

寫入

UpdateDbInstance

timestream-influxdb:UpdateDbInstance

寫入

Amazon Timestream InfluxDB 定義的動作

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

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

CreateDbBackup

准許為 DbInstance 或 DbCluster 建立 Timestream InfluxDB 備份

db-backup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateDbCluster

准許建立新的 Timestream InfluxDB 叢集

db-parameter-group

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateDbInstance

准許建立新的 Timestream InfluxDB 執行個體

db-parameter-group

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateDbParameterGroup

准許建立新的 Timestream InfluxDB 參數群組

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

DeleteDbBackup

准許刪除 Timestream InfluxDB 備份

db-backup*

aws:ResourceTag/${TagKey}

寫入

DeleteDbCluster

准許刪除 Timestream InfluxDB 叢集

db-cluster*

aws:ResourceTag/${TagKey}

寫入

DeleteDbInstance

准許刪除 Timestream InfluxDB 執行個體

db-instance*

aws:ResourceTag/${TagKey}

寫入

GetDbBackup

准許取得 Timestream InfluxDB 備份的相關資訊

db-backup*

aws:ResourceTag/${TagKey}

讀取

GetDbCluster

准許取得 Timestream InfluxDB 叢集的相關資訊

db-cluster*

aws:ResourceTag/${TagKey}

讀取

GetDbInstance

准許取得 Timestream InfluxDB 執行個體的相關資訊

db-instance*

aws:ResourceTag/${TagKey}

讀取

GetDbParameterGroup

准許取得 Timestream InfluxDB 參數群組的相關資訊

db-parameter-group*

aws:ResourceTag/${TagKey}

讀取

ListDbBackups

准許列出帳戶中所有 Timestream InfluxDB 備份的相關資訊

清單

ListDbClusters

准許列出帳戶中所有 Timestream InfluxDB 叢集的相關資訊

清單

ListDbInstances

准許列出帳戶中所有 Timestream InfluxDB 執行個體的相關資訊

清單

ListDbInstancesForCluster

准許列出屬於叢集之所有 Timestream InfluxDB 執行個體的相關資訊

db-cluster*

aws:ResourceTag/${TagKey}

讀取

ListDbParameterGroups

准許列出所有 Timestream InfluxDB 參數群組的相關資訊

清單

ListTagsForResource

准許列出 Timestream InfluxDB 資源的標籤

db-backup

aws:ResourceTag/${TagKey}

讀取

db-cluster

aws:ResourceTag/${TagKey}

db-instance

aws:ResourceTag/${TagKey}

db-parameter-group

aws:ResourceTag/${TagKey}

RebootDbCluster

准許重新啟動 Timestream InfluxDB 叢集

db-cluster*

aws:ResourceTag/${TagKey}

寫入

db-instance

aws:ResourceTag/${TagKey}

RebootDbInstance

准許重新啟動 Timestream InfluxDB 執行個體

db-instance*

aws:ResourceTag/${TagKey}

寫入

RestoreFromDbBackup

准許從 Timestream InfluxDB 備份還原

db-backup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

timestream-influxdb:RestoreMode

寫入

TagResource

准許標記 Timestream InfluxDB 資源

db-backup

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

db-cluster

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

db-instance

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

db-parameter-group

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許取消標記 Timestream InfluxDB 資源

db-backup

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

db-cluster

aws:ResourceTag/${TagKey}

aws:TagKeys

db-instance

aws:ResourceTag/${TagKey}

aws:TagKeys

db-parameter-group

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateDbCluster

准許更新 Timestream InfluxDB 叢集

db-cluster*

aws:ResourceTag/${TagKey}

寫入

db-parameter-group

aws:ResourceTag/${TagKey}

UpdateDbInstance

准許更新 Timestream InfluxDB 執行個體

db-instance*

aws:ResourceTag/${TagKey}

寫入

db-parameter-group

aws:ResourceTag/${TagKey}

Amazon Timestream InfluxDB 定義的資源類型

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

資源類型 ARN 條件索引鍵

db-backup

arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-backup/${DbBackupId}

aws:ResourceTag/${TagKey}

db-cluster

arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-cluster/${DbClusterId}

aws:ResourceTag/${TagKey}

db-instance

arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-instance/${DbInstanceIdentifier}

aws:ResourceTag/${TagKey}

db-parameter-group

arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-parameter-group/${DbParameterGroupIdentifier}

aws:ResourceTag/${TagKey}

Amazon Timestream InfluxDB 的條件索引鍵

Amazon Timestream InfluxDB 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依在請求中允許的標籤索引鍵和值對篩選存取

String

aws:ResourceTag/${TagKey}

依資源的標籤索引鍵和值對篩選存取

String

aws:TagKeys

依在請求中允許的標籤索引鍵清單篩選存取

ArrayOfString

timestream-influxdb:RestoreMode

依請求中指定的還原模式篩選存取權

String