View a markdown version of this page

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

AWS Parallel Computing Service 的動作、資源和條件索引鍵

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

參考資料:

AWS Parallel Computing Service 定義的 API 操作

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

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

CreateCluster

pcs:CreateCluster

寫入

pcs:TagResource

標記、寫入

CreateComputeNodeGroup

pcs:CreateComputeNodeGroup

寫入

pcs:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

ec2.amazonaws.com

寫入

CreateQueue

pcs:CreateQueue

寫入

pcs:TagResource

標記、寫入

DeleteCluster

pcs:DeleteCluster

寫入

DeleteComputeNodeGroup

pcs:DeleteComputeNodeGroup

寫入

DeleteQueue

pcs:DeleteQueue

寫入

GetCluster

pcs:GetCluster

讀取

GetComputeNodeGroup

pcs:GetComputeNodeGroup

讀取

GetQueue

pcs:GetQueue

讀取

ListClusters

pcs:ListClusters

清單

ListComputeNodeGroups

pcs:ListComputeNodeGroups

清單

ListQueues

pcs:ListQueues

清單

ListTagsForResource

pcs:ListTagsForResource

讀取

RegisterComputeNodeGroupInstance

pcs:RegisterComputeNodeGroupInstance

寫入

TagResource

pcs:TagResource

標記、寫入

UntagResource

pcs:UntagResource

標記、寫入

UpdateCluster

pcs:UpdateCluster

寫入

UpdateComputeNodeGroup

pcs:UpdateComputeNodeGroup

寫入

iam:PassRole

iam:PassedToService

ec2.amazonaws.com

寫入

UpdateQueue

pcs:UpdateQueue

寫入

AWS Parallel Computing Service 定義的動作

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

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

CreateCluster

准許建立叢集

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateComputeNodeGroup

准許建立運算節點群組

叢集*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateQueue

准許建立佇列

叢集*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

DeleteCluster

准許刪除叢集

叢集*

aws:ResourceTag/${TagKey}

寫入

DeleteComputeNodeGroup

准許刪除運算節點群組

叢集*

aws:ResourceTag/${TagKey}

寫入

computingnodegroup*

aws:ResourceTag/${TagKey}

DeleteQueue

准許刪除佇列

叢集*

aws:ResourceTag/${TagKey}

寫入

佇列*

aws:ResourceTag/${TagKey}

GetCluster

准許取得叢集屬性

叢集*

aws:ResourceTag/${TagKey}

讀取

GetComputeNodeGroup

准許取得運算節點群組屬性

叢集*

aws:ResourceTag/${TagKey}

讀取

computingnodegroup*

aws:ResourceTag/${TagKey}

GetQueue

准許取得佇列屬性

叢集*

aws:ResourceTag/${TagKey}

讀取

佇列*

aws:ResourceTag/${TagKey}

ListClusters

准許列出叢集

清單

ListComputeNodeGroups

准許列出運算節點群組

叢集*

aws:ResourceTag/${TagKey}

清單

ListQueues

准許列出佇列

叢集*

aws:ResourceTag/${TagKey}

清單

ListTagsForResource

准許列出資源的標籤

讀取

RegisterComputeNodeGroupInstance

准許在運算節點群組中註冊運算執行個體

叢集*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許標記資源

叢集

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

computingnodegroup

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

佇列

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許取消標記資源

叢集

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

computingnodegroup

aws:ResourceTag/${TagKey}

aws:TagKeys

佇列

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateCluster

准許更新叢集屬性

叢集*

aws:ResourceTag/${TagKey}

寫入

UpdateComputeNodeGroup

准許更新運算節點群組屬性

叢集*

aws:ResourceTag/${TagKey}

寫入

computingnodegroup*

aws:ResourceTag/${TagKey}

UpdateQueue

准許更新佇列屬性

叢集*

aws:ResourceTag/${TagKey}

寫入

佇列*

aws:ResourceTag/${TagKey}

AWS 平行運算服務的僅限許可動作

下列動作是由 AWS Parallel Computing Service 定義,但無法透過任何 API 操作直接叫用。它們只能在 IAM 政策陳述式中使用,以授予或拒絕許可。

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

AllowVendedLogDeliveryForResource

准許設定 AWS PCS 叢集日誌的付費日誌交付

叢集*

aws:ResourceTag/${TagKey}

寫入

AWS Parallel Computing Service 定義的資源類型

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

資源類型 ARN 條件索引鍵

叢集

arn:${Partition}:pcs:${Region}:${Account}:cluster/${ClusterIdentifier}

aws:ResourceTag/${TagKey}

computingnodegroup

arn:${Partition}:pcs:${Region}:${Account}:cluster/${ClusterIdentifier}/computenodegroup/${ComputeNodeGroupIdentifier}

aws:ResourceTag/${TagKey}

佇列

arn:${Partition}:pcs:${Region}:${Account}:cluster/${ClusterIdentifier}/queue/${QueueIdentifier}

aws:ResourceTag/${TagKey}

AWS 平行運算服務的條件索引鍵

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

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

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

String

aws:ResourceTag/${TagKey}

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

String

aws:TagKeys

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

ArrayOfString