View a markdown version of this page

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

Glue DataBrew AWS 的動作、資源和條件索引鍵

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

參考資料:

Glue DataBrew AWS 定義的 API 操作

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

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

BatchDeleteRecipeVersion

databrew:BatchDeleteRecipeVersion

寫入

CreateDataset

databrew:CreateDataset

寫入

databrew:TagResource

標記、寫入

CreateProfileJob

databrew:CreateProfileJob

寫入

databrew:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

databrew.amazonaws.com

寫入

CreateProject

databrew:CreateProject

寫入

databrew:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

databrew.amazonaws.com

寫入

CreateRecipe

databrew:CreateRecipe

寫入

databrew:TagResource

標記、寫入

CreateRecipeJob

databrew:CreateRecipeJob

寫入

databrew:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

databrew.amazonaws.com

寫入

CreateRuleset

databrew:CreateRuleset

寫入

databrew:TagResource

標記、寫入

CreateSchedule

databrew:CreateSchedule

寫入

databrew:TagResource

標記、寫入

DeleteDataset

databrew:DeleteDataset

寫入

DeleteJob

databrew:DeleteJob

寫入

DeleteProject

databrew:DeleteProject

寫入

DeleteRecipeVersion

databrew:DeleteRecipeVersion

寫入

DeleteRuleset

databrew:DeleteRuleset

寫入

DeleteSchedule

databrew:DeleteSchedule

寫入

DescribeDataset

databrew:DescribeDataset

讀取

DescribeJob

databrew:DescribeJob

讀取

DescribeJobRun

databrew:DescribeJobRun

讀取

DescribeProject

databrew:DescribeProject

讀取

DescribeRecipe

databrew:DescribeRecipe

讀取

DescribeRuleset

databrew:DescribeRuleset

讀取

DescribeSchedule

databrew:DescribeSchedule

讀取

ListDatasets

databrew:ListDatasets

讀取

ListJobRuns

databrew:ListJobRuns

讀取

ListJobs

databrew:ListJobs

讀取

ListProjects

databrew:ListProjects

讀取

ListRecipeVersions

databrew:ListRecipeVersions

讀取

ListRecipes

databrew:ListRecipes

讀取

ListRulesets

databrew:ListRulesets

讀取

ListSchedules

databrew:ListSchedules

讀取

ListTagsForResource

databrew:ListTagsForResource

讀取

PublishRecipe

databrew:PublishRecipe

寫入

SendProjectSessionAction

databrew:SendProjectSessionAction

寫入

StartJobRun

databrew:StartJobRun

寫入

StartProjectSession

databrew:StartProjectSession

寫入

StopJobRun

databrew:StopJobRun

寫入

TagResource

databrew:TagResource

標記、寫入

UntagResource

databrew:UntagResource

標記、寫入

UpdateDataset

databrew:UpdateDataset

寫入

UpdateProfileJob

databrew:UpdateProfileJob

寫入

iam:PassRole

iam:PassedToService

databrew.amazonaws.com

寫入

UpdateProject

databrew:UpdateProject

寫入

iam:PassRole

iam:PassedToService

databrew.amazonaws.com

寫入

UpdateRecipe

databrew:UpdateRecipe

寫入

UpdateRecipeJob

databrew:UpdateRecipeJob

寫入

iam:PassRole

iam:PassedToService

databrew.amazonaws.com

寫入

UpdateRuleset

databrew:UpdateRuleset

寫入

UpdateSchedule

databrew:UpdateSchedule

寫入

Glue DataBrew AWS 定義的動作

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

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

BatchDeleteRecipeVersion

准許刪除一個或多個配方版本

配方*

aws:ResourceTag/${TagKey}

寫入

CreateDataset

准許建立資料集

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateProfileJob

准許建立描述檔任務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateProject

准許建立專案

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateRecipe

准許建立配方

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateRecipeJob

准許建立配方任務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateRuleset

准許建立規則集

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateSchedule

准許建立排程

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

DeleteDataset

准許刪除資料集

資料集*

aws:ResourceTag/${TagKey}

寫入

DeleteJob

准許刪除任務

任務*

aws:ResourceTag/${TagKey}

寫入

DeleteProject

授予許可來刪除專案

專案*

aws:ResourceTag/${TagKey}

寫入

DeleteRecipeVersion

准許刪除配方版本

配方*

aws:ResourceTag/${TagKey}

寫入

DeleteRuleset

准許刪除規則集

規則集*

aws:ResourceTag/${TagKey}

寫入

DeleteSchedule

准許刪除排程

排程*

aws:ResourceTag/${TagKey}

寫入

DescribeDataset

准許檢視資料集的詳細資訊

資料集*

aws:ResourceTag/${TagKey}

讀取

DescribeJob

准許檢視任務的詳細資訊

任務*

aws:ResourceTag/${TagKey}

讀取

DescribeJobRun

准許檢視指定任務的工作執行相關詳細資訊

任務*

aws:ResourceTag/${TagKey}

讀取

DescribeProject

准許檢視專案的詳細資訊

專案*

aws:ResourceTag/${TagKey}

讀取

DescribeRecipe

准許檢視配方的詳細資訊

配方*

aws:ResourceTag/${TagKey}

讀取

DescribeRuleset

准許檢視規則集的詳細資訊

規則集*

aws:ResourceTag/${TagKey}

讀取

DescribeSchedule

准許檢視排程的詳細資訊

排程*

aws:ResourceTag/${TagKey}

讀取

ListDatasets

准許列出帳戶中的資料集

讀取

ListJobRuns

准許列出指定任務的任務執行

任務*

aws:ResourceTag/${TagKey}

讀取

ListJobs

准許列出帳戶中的任務

讀取

ListProjects

准許列出帳戶中的專案

讀取

ListRecipeVersions

准許列出配方中的版本

配方*

aws:ResourceTag/${TagKey}

讀取

ListRecipes

准許列出帳戶中的配方

讀取

ListRulesets

准許列出帳戶中的規則集

讀取

ListSchedules

准許列出帳戶中的排程

讀取

ListTagsForResource

准許擷取與資源關聯的標籤

資料集

aws:ResourceTag/${TagKey}

讀取

任務

aws:ResourceTag/${TagKey}

專案

aws:ResourceTag/${TagKey}

配方

aws:ResourceTag/${TagKey}

規則集

aws:ResourceTag/${TagKey}

排程

aws:ResourceTag/${TagKey}

PublishRecipe

准許發佈配方的主要版本

配方*

aws:ResourceTag/${TagKey}

寫入

SendProjectSessionAction

准許將動作提交至專案的互動式工作階段

專案*

aws:ResourceTag/${TagKey}

寫入

StartJobRun

准許開始執行任務

任務*

aws:ResourceTag/${TagKey}

寫入

StartProjectSession

准許啟動專案的互動式工作階段

專案*

aws:ResourceTag/${TagKey}

寫入

StopJobRun

准許停止任務的任務執行

任務*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許將 標籤新增至資源

資料集

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

任務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

專案

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

配方

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

規則集

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

排程

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許移除與資源相關聯的標籤

資料集

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

任務

aws:ResourceTag/${TagKey}

aws:TagKeys

專案

aws:ResourceTag/${TagKey}

aws:TagKeys

配方

aws:ResourceTag/${TagKey}

aws:TagKeys

規則集

aws:ResourceTag/${TagKey}

aws:TagKeys

排程

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateDataset

准許修改資料集

資料集*

aws:ResourceTag/${TagKey}

寫入

UpdateProfileJob

准許修改描述檔任務

任務*

aws:ResourceTag/${TagKey}

寫入

UpdateProject

准許修改專案

專案*

aws:ResourceTag/${TagKey}

寫入

UpdateRecipe

准許修改配方

配方*

aws:ResourceTag/${TagKey}

寫入

UpdateRecipeJob

准許修改配方任務

任務*

aws:ResourceTag/${TagKey}

寫入

UpdateRuleset

准許修改規則集

規則集*

aws:ResourceTag/${TagKey}

寫入

UpdateSchedule

准許修改排程

排程*

aws:ResourceTag/${TagKey}

寫入

Glue DataBrew AWS 定義的資源類型

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

資源類型 ARN 條件索引鍵

資料集

arn:${Partition}:databrew:${Region}:${Account}:dataset/${ResourceId}

aws:ResourceTag/${TagKey}

任務

arn:${Partition}:databrew:${Region}:${Account}:job/${ResourceId}

aws:ResourceTag/${TagKey}

專案

arn:${Partition}:databrew:${Region}:${Account}:project/${ResourceId}

aws:ResourceTag/${TagKey}

配方

arn:${Partition}:databrew:${Region}:${Account}:recipe/${ResourceId}

aws:ResourceTag/${TagKey}

規則集

arn:${Partition}:databrew:${Region}:${Account}:ruleset/${ResourceId}

aws:ResourceTag/${TagKey}

排程

arn:${Partition}:databrew:${Region}:${Account}:schedule/${ResourceId}

aws:ResourceTag/${TagKey}

Glue DataBrew AWS 的條件索引鍵

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

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依要求中傳遞的標籤來篩選存取權

String

aws:ResourceTag/${TagKey}

依與資源關聯的標籤來篩選存取權

String

aws:TagKeys

依要求中傳遞的標籤索引鍵來篩選存取權

ArrayOfString