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

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

AWS Clean Rooms 的動作、資源和條件索引鍵

AWS Clean Rooms (服務前置詞:cleanrooms) 提供下列服務特定的資源、動作和條件內容金鑰,以便在IAM權限原則中使用。

參考資料:

AWS Clean Rooms 定義的動作

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

「動作」資料表的資源類型欄會指出每個動作是否支援資源層級的許可。如果此欄沒有值,您必須在政策陳述式的 Resource 元素中指定政策適用的所有資源 ("*")。如果資料行包含資源類型,則您可以使用該動作在陳述式中指定該類型ARN的類型。如果動作具有一或多個必要資源,呼叫者必須具有對這些資源使用動作的許可。表格中的必要資源會以星號 (*) 表示。如果您使用策略中的Resource元素限制資源存取,IAM則必須針對每個所需資源類型包含ARN或模式。某些動作支援多種資源類型。如果資源類型是選用 (未顯示為必要),則您可以選擇使用其中一種選用資源類型。

「動作」資料表的條件索引鍵欄包含您可以在政策陳述式的 Condition 元素中指定的索引鍵。如需有關與服務資源相關聯之條件索引鍵的詳細資訊,請參閱「資源類型」資料表的條件索引鍵欄。

注意

資源條件索引鍵會列在資源類型資料表中。您可以在「動作」資料表的資源類型 (*必填) 欄中找到適用於動作的資源類型連結。「資源類型」資料表中的資源類型包括條件索引鍵欄,其中包含套用至「動作」資料表中動作的資源條件索引鍵。

如需下表各欄的詳細資訊,請參閱動作資料表

動作 描述 存取層級 資源類型 (*必填項目) 條件索引鍵 相依動作
BatchGetCollaborationAnalysisTemplate 授與檢視共同作業 analysisTemplates 相關詳細資訊的權限 讀取

analysistemplate*

cleanrooms:GetCollaborationAnalysisTemplate

collaboration*

BatchGetSchema 准許檢視結構描述的詳細資訊 讀取

collaboration*

cleanrooms:GetSchema

configuredtableassociation

idmappingtable

BatchGetSchemaAnalysisRule 授予檢視與結構描述關聯之分析規則的權限 讀取

collaboration*

cleanrooms:GetSchema

configuredtableassociation

idmappingtable

CreateAnalysisTemplate 准許建立新分析範本 寫入

analysistemplate*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

membership*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateCollaboration 准許建立新的協作,即共用資料協作環境 寫入

collaboration*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateConfiguredAudienceModelAssociation 准許建立新的關聯以連結 Cleanrooms ML 設定受眾模型與協同合作 寫入

configuredaudiencemodelassociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

cleanrooms-ml:GetConfiguredAudienceModel

cleanrooms-ml:GetConfiguredAudienceModelPolicy

cleanrooms-ml:PutConfiguredAudienceModelPolicy

membership*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateConfiguredTable 准許建立新的設定資料表 寫入

configuredtable*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

glue:BatchGetPartition

glue:GetDatabase

glue:GetDatabases

glue:GetPartition

glue:GetPartitions

glue:GetSchemaVersion

glue:GetTable

glue:GetTables

CreateConfiguredTableAnalysisRule 准許建立設定資料表的分析規則 寫入

configuredtable*

CreateConfiguredTableAssociation 准許建立新的關聯以連結設定資料表與協作 寫入

configuredtable*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

iam:PassRole

configuredtableassociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

membership*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateConfiguredTableAssociationAnalysisRule 授與建立已設定資料表關聯之分析規則的權限 寫入

configuredtableassociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateIdMappingTable 透過建立新的 ID 對應表,授予將 ID 對應工作流程與協同作業連結的權限 寫入

idmappingtable*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

entityresolution:AddPolicyStatement

entityresolution:GetIdMappingWorkflow

membership*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateIdNamespaceAssociation 授予透過建立新關聯來連結 AWS 實體解析識別碼命名空間與協同作業的權限 寫入

idnamespaceassociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

entityresolution:AddPolicyStatement

entityresolution:GetIdNamespace

membership*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateMembership 准許建立成員資格以聯結協作 寫入

collaboration*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

iam:PassRole

logs:CreateLogDelivery

logs:CreateLogGroup

logs:DeleteLogDelivery

logs:DescribeLogGroups

logs:DescribeResourcePolicies

logs:GetLogDelivery

logs:ListLogDeliveries

logs:PutResourcePolicy

logs:UpdateLogDelivery

s3:GetBucketLocation

membership*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreatePrivacyBudgetTemplate 准許建立新的隱私權預算範本 寫入

membership*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

privacybudgettemplate*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

DeleteAnalysisTemplate 准許刪除現有的分析範本 寫入

analysistemplate*

DeleteCollaboration 准許刪除現有協作 寫入

collaboration*

cleanrooms-ml:DeleteConfiguredAudienceModelPolicy

cleanrooms-ml:GetConfiguredAudienceModelPolicy

cleanrooms-ml:PutConfiguredAudienceModelPolicy

DeleteConfiguredAudienceModelAssociation 准許刪除現有的設定受眾模型關聯 寫入

configuredaudiencemodelassociation*

cleanrooms-ml:DeleteConfiguredAudienceModelPolicy

cleanrooms-ml:GetConfiguredAudienceModelPolicy

cleanrooms-ml:PutConfiguredAudienceModelPolicy

DeleteConfiguredTable 准許刪除設定資料表 寫入

configuredtable*

DeleteConfiguredTableAnalysisRule 准許刪除現有的分析規則 寫入

configuredtable*

DeleteConfiguredTableAssociation 准許移除協作與設定資料表的關聯 寫入

configuredtableassociation*

DeleteConfiguredTableAssociationAnalysisRule 授與刪除現有已設定資料表關聯分析規則的權限 寫入

configuredtableassociation*

DeleteIdMappingTable 授與從協同作業中移除 ID 對應表格的權限 寫入

idmappingtable*

entityresolution:DeletePolicyStatement

membership*

DeleteIdNamespaceAssociation 授與從協同作業中移除 Id 命名空間關聯的權限 寫入

idnamespaceassociation*

entityresolution:DeletePolicyStatement

membership*

DeleteMember 准許從協作中刪除成員資格 寫入

collaboration*

cleanrooms-ml:DeleteConfiguredAudienceModelPolicy

cleanrooms-ml:GetConfiguredAudienceModelPolicy

cleanrooms-ml:PutConfiguredAudienceModelPolicy

DeleteMembership 准許刪除成員資格以離開協作 寫入

membership*

DeletePrivacyBudgetTemplate 准許刪除現有的隱私權預算範本 寫入

privacybudgettemplate*

GetAnalysisTemplate 准許檢視分析範本的詳細資訊 讀取

analysistemplate*

GetCollaboration 准許檢視協作的詳細資訊 讀取

collaboration*

GetCollaborationAnalysisTemplate 准許檢視協同合作內分析範本的詳細資訊 讀取

analysistemplate*

collaboration*

GetCollaborationConfiguredAudienceModelAssociation 准許檢視協同合作中設定受眾模型關聯的詳細資訊 讀取

collaboration*

configuredaudiencemodelassociation*

GetCollaborationIdNamespaceAssociation 授予在協同作業中取得 id 命名空間關聯的權限 讀取

collaboration*

idnamespaceassociation*

GetCollaborationPrivacyBudgetTemplate 准許檢視協同合作中隱私權預算範本的詳細資訊 讀取

collaboration*

privacybudgettemplate*

GetConfiguredAudienceModelAssociation 准許檢視設定受眾模型關聯的詳細資訊 讀取

configuredaudiencemodelassociation*

GetConfiguredTable 准許檢視設定資料表的詳細資訊 讀取

configuredtable*

GetConfiguredTableAnalysisRule 准許檢視設定資料表的分析規則 讀取

configuredtable*

GetConfiguredTableAssociation 准許檢視設定資料表關聯的詳細資訊 讀取

configuredtableassociation*

GetConfiguredTableAssociationAnalysisRule 授與檢視已設定資料表關聯之分析規則的權限 讀取

configuredtableassociation*

GetIdMappingTable 授予檢視 ID 對應表詳細資訊的權限 讀取

idmappingtable*

membership*

GetIdNamespaceAssociation 授予查看 id 命名空間關聯詳細信息的權限 讀取

idnamespaceassociation*

entityresolution:GetIdNamespace

membership*

GetMembership 准許檢視成員資格的詳細資訊 讀取

membership*

GetPrivacyBudgetTemplate 准許檢視隱私權預算範本的詳細資訊 讀取

privacybudgettemplate*

GetProtectedQuery 准許檢視受保護查詢 讀取

membership*

GetSchema 准許檢視結構描述的詳細資訊 讀取

collaboration*

configuredtableassociation*

GetSchemaAnalysisRule 准許檢視與結構描述關聯的分析規則 讀取

collaboration*

cleanrooms:GetSchema

configuredtableassociation*

ListAnalysisTemplates 准許列出可用的分析範本 清單

analysistemplate*

membership*

ListCollaborationAnalysisTemplates 准許列出協同合作中的可用分析範本 清單

collaboration*

ListCollaborationConfiguredAudienceModelAssociations 准許列出協同合作中的可用設定受眾模型關聯 清單

collaboration*

ListCollaborationIdNamespaceAssociations 授予協作中列出 id 命名空間的權限 清單

collaboration*

ListCollaborationPrivacyBudgetTemplates 准許列出協同合作中的可用隱私權預算範本 清單

collaboration*

ListCollaborationPrivacyBudgets 准許列出協同合作中的隱私權預算 清單

collaboration*

ListCollaborations 准許列出可用的協作 清單
ListConfiguredAudienceModelAssociations 准許列出成員資格的可用設定受眾模型關聯 清單

configuredaudiencemodelassociation*

membership*

ListConfiguredTableAssociations 准許列出成員資格的可用設定資料表關聯 清單

configuredtableassociation*

membership*

ListConfiguredTables 准許列出可用的設定資料表 清單
ListIdMappingTables 授與列出成員資格之可用 ID 對應表的權限 清單

idmappingtable*

membership*

ListIdNamespaceAssociations 授與列出成員資格之實體解析度資料關聯的權限 清單

idnamespaceassociation*

membership*

ListMembers 准許列出協作的成員資格 清單

collaboration*

ListMemberships 准許列出可用的成員資格 清單
ListPrivacyBudgetTemplates 准許列出可用的隱私權預算範本 清單

membership*

privacybudgettemplate*

ListPrivacyBudgets 准許列出可用的隱私權預算 清單

membership*

ListProtectedQueries 准許列出受保護查詢 清單

membership*

ListSchemas 准許檢視協作的可用結構描述 清單

collaboration*

ListTagsForResource 准許列出資源的標籤 清單

analysistemplate

collaboration

configuredaudiencemodelassociation

configuredtable

configuredtableassociation

membership

privacybudgettemplate

PopulateIdMappingTable 授予在 AWS 實體解析中啟動 ID 映射 Job 的權限,以便在潔淨室協作中生成 id 映射結果。 寫入

idmappingtable*

entityresolution:GetIdMappingWorkflow

membership*

PreviewPrivacyImpact 准許預覽隱私權預算範本設定 讀取

membership*

StartProtectedQuery 准許啟動受保護查詢 寫入

membership*

cleanrooms:GetCollaborationAnalysisTemplate

cleanrooms:GetSchema

s3:GetBucketLocation

s3:ListBucket

s3:PutObject

analysistemplate

configuredtableassociation

idmappingtable

TagResource 准許標記資源 標記

analysistemplate

collaboration

configuredaudiencemodelassociation

configuredtable

configuredtableassociation

idmappingtable

idnamespaceassociation

membership

privacybudgettemplate

aws:TagKeys

aws:RequestTag/${TagKey}

UntagResource 准許取消標記資源 標記

analysistemplate

collaboration

configuredaudiencemodelassociation

configuredtable

configuredtableassociation

idmappingtable

idnamespaceassociation

membership

privacybudgettemplate

aws:TagKeys

UpdateAnalysisTemplate 准許更新分析範本的詳細資訊 寫入

analysistemplate*

UpdateCollaboration 准許更新協作的詳細資訊 寫入

collaboration*

UpdateConfiguredAudienceModelAssociation 准許更新設定受眾模型關聯 寫入

configuredaudiencemodelassociation*

UpdateConfiguredTable 准許更新現有的設定資料表 寫入

configuredtable*

UpdateConfiguredTableAnalysisRule 准許更新設定資料表的分析規則 寫入

configuredtable*

UpdateConfiguredTableAssociation 准許更新設定資料表關聯 寫入

configuredtableassociation*

iam:PassRole

UpdateConfiguredTableAssociationAnalysisRule 授與更新已設定資料表關聯之分析規則的權限 寫入

configuredtableassociation*

UpdateIdMappingTable 授予更新 ID 對應表的權限 寫入

idmappingtable*

membership*

UpdateIdNamespaceAssociation 授予更新實體解決方案輸入關聯的權限 寫入

idnamespaceassociation*

entityresolution:GetIdNamespace

membership*

UpdateMembership 准許更新成員資格的詳細資訊 寫入

membership*

iam:PassRole

logs:CreateLogDelivery

logs:CreateLogGroup

logs:DeleteLogDelivery

logs:DescribeLogGroups

logs:DescribeResourcePolicies

logs:GetLogDelivery

logs:ListLogDeliveries

logs:PutResourcePolicy

logs:UpdateLogDelivery

s3:GetBucketLocation

UpdatePrivacyBudgetTemplate 准許更新隱私權預算範本的詳細資訊 寫入

privacybudgettemplate*

UpdateProtectedQuery 准許更新受保護查詢 寫入

membership*

AWS Clean Rooms 定義的資源類型

下列資源類型由此服務定義,可用於IAM權限原則陳述式的Resource元素中。動作資料表中的每個動作都會指明可使用該動作指定的資源類型。資源類型也能定義您可以在政策中包含哪些條件索引鍵。這些索引鍵都會顯示在「資源類型」資料表的最後一欄。如需下表各欄的詳細資訊,請參閱資源類型資料表

資源類型 ARN 條件索引鍵
analysistemplate arn:${Partition}:cleanrooms:${Region}:${Account}:membership/${MembershipId}/analysistemplate/${AnalysisTemplateId}

aws:ResourceTag/${TagKey}

collaboration arn:${Partition}:cleanrooms:${Region}:${Account}:collaboration/${CollaborationId}

aws:ResourceTag/${TagKey}

configuredaudiencemodelassociation arn:${Partition}:cleanrooms:${Region}:${Account}:membership/${MembershipId}/configuredaudiencemodelassociation/${ConfiguredAudienceModelAssociationId}

aws:ResourceTag/${TagKey}

configuredtable arn:${Partition}:cleanrooms:${Region}:${Account}:configuredtable/${ConfiguredTableId}

aws:ResourceTag/${TagKey}

configuredtableassociation arn:${Partition}:cleanrooms:${Region}:${Account}:membership/${MembershipId}/configuredtableassociation/${ConfiguredTableAssociationId}

aws:ResourceTag/${TagKey}

idmappingtable arn:${Partition}:cleanrooms:${Region}:${Account}:membership/${MembershipId}/idmappingtable/${IdMappingTableId}

aws:ResourceTag/${TagKey}

idnamespaceassociation arn:${Partition}:cleanrooms:${Region}:${Account}:membership/${MembershipId}/idnamespaceassociation/${IdNamespaceAssociationId}

aws:ResourceTag/${TagKey}

membership arn:${Partition}:cleanrooms:${Region}:${Account}:membership/${MembershipId}

aws:ResourceTag/${TagKey}

privacybudgettemplate arn:${Partition}:cleanrooms:${Region}:${Account}:membership/${MembershipId}/privacybudgettemplate/${PrivacyBudgetTemplateId}

aws:ResourceTag/${TagKey}

AWS Clean Rooms 的條件索引鍵

AWS 無塵室定義下列可在IAM策略Condition元素中使用的條件鍵。您可以使用這些索引鍵來縮小套用政策陳述式的條件。如需下表各欄的詳細資訊,請參閱條件索引鍵資料表

若要檢視所有服務都可使用的全域條件索引鍵,請參閱可用全域條件索引鍵

條件索引鍵 描述 類型
aws:RequestTag/${TagKey} 依要求中傳遞的標籤來篩選存取權 字串
aws:ResourceTag/${TagKey} 依與資源關聯的標籤來篩選存取權 字串
aws:TagKeys 依要求中傳遞的標籤索引鍵來篩選存取權 ArrayOfString