View a markdown version of this page

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

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

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

參考資料:

Amazon Timestream 定義的 API 操作

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

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

CancelQuery

timestream-query

timestream:CancelQuery

寫入

CreateScheduledQuery

timestream-query

timestream:CreateScheduledQuery

寫入

timestream:TagResource

標記、寫入

iam:PassRole

寫入

DeleteScheduledQuery

timestream-query

timestream:DeleteScheduledQuery

寫入

DescribeAccountSettings

timestream-query

timestream:DescribeAccountSettings

讀取

DescribeEndpoints

timestream-query

timestream:DescribeEndpoints

清單

DescribeScheduledQuery

timestream-query

timestream:DescribeScheduledQuery

讀取

ExecuteScheduledQuery

timestream-query

timestream:ExecuteScheduledQuery

寫入

ListScheduledQueries

timestream-query

timestream:ListScheduledQueries

清單

ListTagsForResource

timestream-query

timestream:ListTagsForResource

讀取

PrepareQuery

timestream-query

timestream:選取

讀取

查詢

timestream-query

timestream:DescribeTable

讀取

timestream:ListDatabases

清單

timestream:ListMeasures

清單

timestream:ListTables

清單

timestream:選取

讀取

timestream:SelectValues

讀取

timestream:卸載

寫入

TagResource

timestream-query

timestream:TagResource

標記、寫入

UntagResource

timestream-query

timestream:UntagResource

標記、寫入

UpdateAccountSettings

timestream-query

timestream:UpdateAccountSettings

寫入

iam:PassRole

寫入

UpdateScheduledQuery

timestream-query

timestream:UpdateScheduledQuery

寫入

CreateBatchLoadTask

timestream-write

timestream:CreateBatchLoadTask

寫入

timestream:WriteRecords

寫入

CreateDatabase

timestream-write

timestream:CreateDatabase

寫入

timestream:TagResource

標記、寫入

CreateTable

timestream-write

timestream:CreateTable

寫入

timestream:TagResource

標記、寫入

DeleteDatabase

timestream-write

timestream:DeleteDatabase

寫入

DeleteTable

timestream-write

timestream:DeleteTable

寫入

DescribeBatchLoadTask

timestream-write

timestream:DescribeBatchLoadTask

讀取

DescribeDatabase

timestream-write

timestream:DescribeDatabase

讀取

DescribeEndpoints

timestream-write

timestream:DescribeEndpoints

清單

DescribeTable

timestream-write

timestream:DescribeTable

讀取

ListBatchLoadTasks

timestream-write

timestream:ListBatchLoadTasks

清單

ListDatabases

timestream-write

timestream:ListDatabases

清單

ListTables

timestream-write

timestream:ListTables

清單

ListTagsForResource

timestream-write

timestream:ListTagsForResource

讀取

TagResource

timestream-write

timestream:TagResource

標記、寫入

UntagResource

timestream-write

timestream:UntagResource

標記、寫入

UpdateDatabase

timestream-write

timestream:UpdateDatabase

寫入

UpdateTable

timestream-write

timestream:UpdateTable

寫入

WriteRecords

timestream-write

timestream:WriteRecords

寫入

Amazon Timestream 定義的動作

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

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

CancelQuery

准許取消帳戶中的查詢

寫入

CreateBatchLoadTask

准許在帳戶中建立批次載入任務

資料表*

aws:ResourceTag/${TagKey}

寫入

CreateDatabase

准許在帳戶中建立資料庫

資料庫*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateScheduledQuery

准許在帳戶中建立排程查詢

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateTable

准許在帳戶中建立資料表

資料表*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

DeleteDatabase

准許刪除帳戶中的資料庫

資料庫*

aws:ResourceTag/${TagKey}

寫入

DeleteScheduledQuery

准許刪除帳戶中的排程查詢

scheduled-query*

aws:ResourceTag/${TagKey}

寫入

DeleteTable

准許刪除帳戶中的資料表

資料表*

aws:ResourceTag/${TagKey}

寫入

DescribeAccountSettings

准許描述您的帳戶設定

讀取

DescribeBatchLoadTask

准許在帳戶中描述批次載入任務

讀取

DescribeDatabase

准許描述帳戶中的資料庫

資料庫*

aws:ResourceTag/${TagKey}

讀取

DescribeEndpoints

准許描述 Timestream 端點

清單

DescribeScheduledQuery

准許描述帳戶中的排程查詢

scheduled-query*

aws:ResourceTag/${TagKey}

讀取

DescribeTable

准許描述帳戶中的資料表

資料表*

aws:ResourceTag/${TagKey}

讀取

ExecuteScheduledQuery

准許執行帳戶中的排程查詢

scheduled-query*

aws:ResourceTag/${TagKey}

寫入

GetAwsBackupStatus

准許取得 Timestream 資料表備份的狀態

讀取

GetAwsRestoreStatus

准許取得 Timestream 資料表還原的狀態

讀取

ListBatchLoadTasks

准許列出帳戶中的批次載入任務

清單

ListDatabases

准許列出帳戶中的資料庫

清單

ListMeasures

准許列出帳戶中資料表的量值

資料表*

aws:ResourceTag/${TagKey}

清單

ListScheduledQueries

准許列出帳戶中的排程查詢

清單

ListTables

准許列出帳戶中的資料表

資料庫*

aws:ResourceTag/${TagKey}

清單

ListTagsForResource

准許列出帳戶中資源的標籤

資料庫*

aws:ResourceTag/${TagKey}

讀取

scheduled-query*

aws:ResourceTag/${TagKey}

資料表*

aws:ResourceTag/${TagKey}

PrepareQuery

准許發出準備查詢

資料表*

aws:ResourceTag/${TagKey}

讀取

ResumeBatchLoadTask

准許在帳戶中恢復批次載入任務

寫入

選取

准許發出「從資料表中選取」查詢

資料表*

aws:ResourceTag/${TagKey}

讀取

SelectValues

准許發出「選取 1」查詢

讀取

StartAwsBackupJob

准許啟動 Timestream 資料表的備份作業

資料表*

aws:ResourceTag/${TagKey}

寫入

StartAwsRestoreJob

准許啟動 Timestream 資料表備份的還原作業

資料表*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許將 標籤新增至資源

資料庫*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

scheduled-query*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

資料表*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

卸載

准許發出卸載查詢

資料表*

aws:ResourceTag/${TagKey}

寫入

UntagResource

准許從資源移除標籤

資料庫*

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

scheduled-query*

aws:ResourceTag/${TagKey}

aws:TagKeys

資料表*

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateAccountSettings

准許更新您的帳戶設定

寫入

UpdateDatabase

准許更新帳戶中的資料庫

資料庫*

aws:ResourceTag/${TagKey}

寫入

UpdateScheduledQuery

准許更新帳戶中的排程查詢

scheduled-query*

aws:ResourceTag/${TagKey}

寫入

UpdateTable

准許更新帳戶中的資料表

資料表*

aws:ResourceTag/${TagKey}

寫入

WriteRecords

准許將資料擷取至帳戶中的資料表

資料表*

aws:ResourceTag/${TagKey}

寫入

Amazon Timestream 定義的資源類型

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

資源類型 ARN 條件索引鍵

資料庫

arn:${Partition}:timestream:${Region}:${Account}:database/${DatabaseName}

aws:ResourceTag/${TagKey}

scheduled-query

arn:${Partition}:timestream:${Region}:${Account}:scheduled-query/${ScheduledQueryName}

aws:ResourceTag/${TagKey}

資料表

arn:${Partition}:timestream:${Region}:${Account}:database/${DatabaseName}/table/${TableName}

aws:ResourceTag/${TagKey}

Amazon Timestream 的條件索引鍵

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

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依請求中的標籤鍵值對是否存在篩選存取權

String

aws:ResourceTag/${TagKey}

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

String

aws:TagKeys

依請求中是否存在標籤索引鍵來篩選存取

ArrayOfString