View a markdown version of this page

Amazon Elastic Kubernetes Service 的動作、資源與條件索引鍵 - 服務授權參考

Amazon Elastic Kubernetes Service 的動作、資源與條件索引鍵

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

參考資料:

Amazon Elastic Kubernetes Service 定義的 API 操作

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

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

ActivateCertificateAuthority

eks:ActivateCertificateAuthority

寫入

AssociateAccessPolicy

eks:AssociateAccessPolicy

寫入

AssociateEncryptionConfig

eks:AssociateEncryptionConfig

寫入

AssociateIdentityProviderConfig

eks:AssociateIdentityProviderConfig

寫入

eks:TagResource

標記、寫入

CancelUpdate

eks:CancelUpdate

寫入

CreateAccessEntry

eks:CreateAccessEntry

寫入

eks:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

ec2.amazonaws.com

寫入

CreateAddon

eks:CreateAddon

寫入

eks:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

eks.amazonaws.com

寫入

CreateCapability

eks:CreateCapability

寫入

eks:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

eks.amazonaws.com

寫入

CreateCertificateAuthority

eks:CreateCertificateAuthority

寫入

CreateCluster

eks:CreateAccessEntry

寫入

eks:CreateCluster

寫入

eks:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

ec2.amazonaws.com://、https://eks.amazonaws.com

寫入

CreateEksAnywhereSubscription

eks:CreateEksAnywhereSubscription

寫入

eks:TagResource

標記、寫入

CreateFargateProfile

eks:CreateFargateProfile

寫入

eks:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

eks.amazonaws.com

寫入

CreateNodegroup

eks:CreateNodegroup

寫入

eks:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

eks.amazonaws.com

寫入

CreatePodIdentityAssociation

eks:CreatePodIdentityAssociation

寫入

eks:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

pods.eks.amazonaws.com

寫入

DeleteAccessEntry

eks:DeleteAccessEntry

寫入

DeleteAddon

eks:DeleteAddon

寫入

DeleteCapability

eks:DeleteCapability

寫入

DeleteCertificateAuthority

eks:DeleteCertificateAuthority

寫入

DeleteCluster

eks:DeleteCluster

寫入

DeleteEksAnywhereSubscription

eks:DeleteEksAnywhereSubscription

寫入

DeleteFargateProfile

eks:DeleteFargateProfile

寫入

DeleteNodegroup

eks:DeleteNodegroup

寫入

DeletePodIdentityAssociation

eks:DeletePodIdentityAssociation

寫入

DeregisterCluster

eks:DeregisterCluster

寫入

DescribeAccessEntry

eks:DescribeAccessEntry

讀取

DescribeAddon

eks:DescribeAddon

讀取

DescribeAddonConfiguration

eks:DescribeAddonConfiguration

讀取

DescribeAddonVersions

eks:DescribeAddonVersions

讀取

DescribeCapability

eks:DescribeCapability

讀取

DescribeCertificateAuthority

eks:DescribeCertificateAuthority

讀取

DescribeCluster

eks:DescribeCluster

讀取

DescribeClusterVersions

eks:DescribeClusterVersions

讀取

DescribeEksAnywhereSubscription

eks:DescribeEksAnywhereSubscription

讀取

DescribeFargateProfile

eks:DescribeFargateProfile

讀取

DescribeIdentityProviderConfig

eks:DescribeIdentityProviderConfig

讀取

DescribeInsight

eks:DescribeInsight

讀取

DescribeInsightsRefresh

eks:DescribeInsightsRefresh

讀取

DescribeNodegroup

eks:DescribeNodegroup

讀取

DescribePodIdentityAssociation

eks:DescribePodIdentityAssociation

讀取

DescribeUpdate

eks:DescribeUpdate

讀取

DisassociateAccessPolicy

eks:DisassociateAccessPolicy

寫入

DisassociateIdentityProviderConfig

eks:DisassociateIdentityProviderConfig

寫入

ListAccessEntries

eks:ListAccessEntries

清單

ListAccessPolicies

eks:ListAccessPolicies

清單

ListAddons

eks:ListAddons

清單

ListAssociatedAccessPolicies

eks:ListAssociatedAccessPolicies

清單

ListCapabilities

eks:ListCapabilities

清單

ListCertificateAuthorities

eks:ListCertificateAuthorities

清單

ListClusters

eks:ListClusters

清單

ListEksAnywhereSubscriptions

eks:ListEksAnywhereSubscriptions

清單

ListFargateProfiles

eks:ListFargateProfiles

清單

ListIdentityProviderConfigs

eks:ListIdentityProviderConfigs

清單

ListInsights

eks:ListInsights

清單

ListNodegroups

eks:ListNodegroups

清單

ListPodIdentityAssociations

eks:ListPodIdentityAssociations

清單

ListTagsForResource

eks:ListTagsForResource

讀取

ListUpdates

eks:ListUpdates

清單

RegisterCluster

eks:RegisterCluster

寫入

eks:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

eks.amazonaws.com

寫入

StartInsightsRefresh

eks:StartInsightsRefresh

寫入

TagResource

eks:TagResource

標記、寫入

UntagResource

eks:UntagResource

標記、寫入

UpdateAccessEntry

eks:UpdateAccessEntry

寫入

UpdateAddon

eks:UpdateAddon

寫入

iam:PassRole

iam:PassedToService

eks.amazonaws.com

寫入

UpdateCapability

eks:UpdateCapability

寫入

iam:PassRole

iam:PassedToService

eks.amazonaws.com

寫入

UpdateClusterConfig

eks:CreateAccessEntry

寫入

eks:UpdateClusterConfig

寫入

iam:PassRole

iam:PassedToService

ec2.amazonaws.com://、https://eks.amazonaws.com

寫入

UpdateClusterVersion

eks:UpdateClusterVersion

寫入

UpdateEksAnywhereSubscription

eks:UpdateEksAnywhereSubscription

寫入

UpdateNodegroupConfig

eks:UpdateNodegroupConfig

寫入

UpdateNodegroupVersion

eks:UpdateNodegroupVersion

寫入

UpdatePodIdentityAssociation

eks:UpdatePodIdentityAssociation

寫入

iam:PassRole

iam:PassedToService

pods.eks.amazonaws.com

寫入

Amazon Elastic Kubernetes Service 定義的動作

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

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

ActivateCertificateAuthority

准許啟用 Amazon EKS 叢集的憑證授權機構

叢集*

aws:ResourceTag/${TagKey}

寫入

AssociateAccessPolicy

授予為 Amazon EKS 存取政策與 Amazon EKS 存取項目建立關聯

access-entry*

aws:ResourceTag/${TagKey}

eks:accessEntryType

eks:accessScope

eks:clusterName

eks:kubernetesGroups

eks:命名空間

eks:policyArn

eks:principalArn

eks:username

寫入

AssociateEncryptionConfig

准許將加密組態與叢集關聯

叢集*

aws:ResourceTag/${TagKey}

eks:encryptionConfigProviderKeyArns

寫入

AssociateIdentityProviderConfig

准許將身分提供者組態與叢集關聯

叢集*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

eks:clientId

eks:issuerUrl

寫入

CancelUpdate

准許取消 Amazon EKS 叢集正在進行的 Kubernetes 版本更新

叢集*

aws:ResourceTag/${TagKey}

寫入

CreateAccessEntry

准許建立 Amazon EKS 存取項目

叢集*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

eks:accessEntryType

eks:kubernetesGroups

eks:principalArn

eks:username

寫入

CreateAddon

准許建立 Amazon EKS 附加元件

叢集*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

podidentityassociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateCapability

准許為 Amazon EKS 叢集建立功能

叢集*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateCertificateAuthority

准許為 Amazon EKS 叢集建立憑證授權單位

叢集*

aws:ResourceTag/${TagKey}

寫入

CreateCluster

准許建立 Amazon EKS 叢集

aws:RequestTag/${TagKey}

aws:TagKeys

eks:authenticationMode

eks:blockStorageEnabled

eks:bootstrapClusterCreatorAdminPermissions

eks:bootstrapSelfManagedAddons

eks:computeConfigEnabled

eks:controlPlaneEgressMode

eks:controlPlaneScalingTier

eks:deletionProtection

eks:elasticLoadBalancingEnabled

eks:encryptionConfigProviderKeyArns

eks:endpointPrivateAccess

eks:endpointPublicAccess

eks:kubeApiServerConfig

eks:kubeControllerManagerConfig

eks:kubernetesVersion

eks:kubeSchedulerConfig

eks:loggingType/${type}

eks:supportType

eks:zonalShiftEnabled

寫入

CreateEksAnywhereSubscription

准許建立 EKS Anywhere 訂閱

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateFargateProfile

准許建立 AWS Fargate 設定檔

叢集*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateNodegroup

准許建立 Amazon EKS Nodegroup

叢集*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreatePodIdentityAssociation

准許建立 EKS Pod 身分識別關聯

叢集*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

DeleteAccessEntry

准許刪除 Amazon EKS 存取項目

access-entry*

aws:ResourceTag/${TagKey}

eks:accessEntryType

eks:clusterName

eks:kubernetesGroups

eks:principalArn

eks:username

寫入

DeleteAddon

准許刪除 Amazon EKS 附件元件

附加元件*

aws:ResourceTag/${TagKey}

寫入

podidentityassociation

aws:ResourceTag/${TagKey}

DeleteCapability

准許從 Amazon EKS 叢集刪除功能

功能*

aws:ResourceTag/${TagKey}

寫入

DeleteCertificateAuthority

准許從 Amazon EKS 叢集刪除憑證授權機構

叢集*

aws:ResourceTag/${TagKey}

寫入

DeleteCluster

准許刪除 Amazon EKS 叢集

叢集*

aws:ResourceTag/${TagKey}

寫入

DeleteEksAnywhereSubscription

准許描述 EKS Anywhere 訂閱

eks-anywhere-subscription*

aws:ResourceTag/${TagKey}

寫入

DeleteFargateProfile

准許刪除 AWS Fargate 設定檔

Fargate 設定檔*

aws:ResourceTag/${TagKey}

寫入

DeleteNodegroup

准許刪除 Amazon EKS Nodegroup

節點群組*

aws:ResourceTag/${TagKey}

寫入

DeletePodIdentityAssociation

准許刪除 EKS Pod 身分識別關聯

podidentityassociation*

aws:ResourceTag/${TagKey}

寫入

DeregisterCluster

准許取消註冊外部叢集

叢集*

aws:ResourceTag/${TagKey}

寫入

DescribeAccessEntry

准許描述 Amazon EKS 存取項目

access-entry*

aws:ResourceTag/${TagKey}

eks:accessEntryType

eks:clusterName

eks:kubernetesGroups

eks:principalArn

eks:username

讀取

DescribeAddon

准許擷取 Amazon EKS 附加元件的描述性資訊

附加元件*

aws:ResourceTag/${TagKey}

讀取

DescribeAddonConfiguration

准許列出 Amazon EKS 附加元件的組態選項

讀取

DescribeAddonVersions

准許擷取 Amazon EKS Add-ons 支援之附加元件的描述性版本資訊

讀取

DescribeCapability

准許描述 Amazon EKS 叢集的功能

功能*

aws:ResourceTag/${TagKey}

讀取

DescribeCertificateAuthority

准許擷取 Amazon EKS 叢集憑證授權單位的描述性資訊

叢集*

aws:ResourceTag/${TagKey}

讀取

DescribeCluster

准許擷取 Amazon EKS 叢集的描述性資訊

叢集*

aws:ResourceTag/${TagKey}

讀取

DescribeClusterVersions

准許擷取 Amazon EKS 叢集支援之 Kubernetes 版本的描述性資訊

讀取

DescribeEksAnywhereSubscription

准許描述 EKS Anywhere 訂閱

eks-anywhere-subscription*

aws:ResourceTag/${TagKey}

讀取

DescribeFargateProfile

准許擷取與叢集相關聯的 AWS Fargate 描述檔的描述性資訊

Fargate 設定檔*

aws:ResourceTag/${TagKey}

讀取

DescribeIdentityProviderConfig

准許擷取與叢集相關聯之 Idp 組態的描述性資訊

identityproviderconfig*

aws:ResourceTag/${TagKey}

讀取

DescribeInsight

准許擷取指定叢集的受偵測洞察結果的描述性資訊

叢集*

aws:ResourceTag/${TagKey}

讀取

DescribeInsightsRefresh

准許擷取最新隨需叢集洞見重新整理操作的狀態

叢集*

aws:ResourceTag/${TagKey}

讀取

DescribeNodegroup

准許擷取 Amazon EKS 節點群組的描述性資訊

節點群組*

aws:ResourceTag/${TagKey}

讀取

DescribePodIdentityAssociation

准許描述 EKS Pod 身分識別關聯

podidentityassociation*

aws:ResourceTag/${TagKey}

讀取

DescribeUpdate

准許擷取指定 Amazon EKS cluster/nodegroup/add-on (在指定或預設區域) 的指定更新

附加元件

aws:ResourceTag/${TagKey}

讀取

功能

aws:ResourceTag/${TagKey}

叢集*

aws:ResourceTag/${TagKey}

節點群組

aws:ResourceTag/${TagKey}

DisassociateAccessPolicy

授權取消 Amazon EKS 存取政策與 Amazon EKS 存取項目的關聯

access-entry*

aws:ResourceTag/${TagKey}

eks:accessEntryType

eks:accessScope

eks:clusterName

eks:kubernetesGroups

eks:命名空間

eks:policyArn

eks:principalArn

eks:username

寫入

DisassociateIdentityProviderConfig

准許刪除相關聯的 Idp 組態

identityproviderconfig*

aws:ResourceTag/${TagKey}

寫入

ListAccessEntries

准許列出所有的 Amazon EKS 存取項目

叢集*

aws:ResourceTag/${TagKey}

清單

ListAccessPolicies

准許列出 Amazon EKS 存取政策

清單

ListAddons

准許列出您 AWS 帳戶 (指定或預設區域中) 中指定叢集的 Amazon EKS 附加元件

叢集*

aws:ResourceTag/${TagKey}

清單

ListAssociatedAccessPolicies

授權列出相關聯的存取政策與 Amazon EKS 存取項目

access-entry*

aws:ResourceTag/${TagKey}

eks:accessEntryType

eks:clusterName

eks:kubernetesGroups

eks:principalArn

eks:username

清單

ListCapabilities

准許列出 Amazon EKS 叢集的功能

叢集*

aws:ResourceTag/${TagKey}

清單

ListCertificateAuthorities

准許列出 Amazon EKS 叢集的憑證授權單位

叢集*

aws:ResourceTag/${TagKey}

清單

ListClusters

准許列出您 AWS 帳戶 (指定或預設區域中) 中的 Amazon EKS 叢集

清單

ListDashboardData

准許列出儀表板資料。Amazon EKS 儀表板會彙總多個帳戶和區域的叢集資源相關資訊。儀表板包含 EC2 執行個體和 EKS 叢集版本的相關資訊

儀表板*

aws:ResourceTag/${TagKey}

讀取

ListDashboardResources

准許列出儀表板資源。Amazon EKS 儀表板會彙總多個帳戶和區域的叢集資源相關資訊。儀表板包含 EC2 執行個體和 EKS 叢集版本的相關資訊

儀表板*

aws:ResourceTag/${TagKey}

讀取

ListEksAnywhereSubscriptions

准許列出 EKS Anywhere 訂閱

清單

ListFargateProfiles

准許列出與指定叢集相關聯的 AWS 帳戶 (在指定或預設區域中) 中的 AWS Fargate 設定檔

叢集*

aws:ResourceTag/${TagKey}

清單

ListIdentityProviderConfigs

准許列出與指定叢集相關聯的 AWS 帳戶 (在指定或預設區域中) 中的 Idp 組態

叢集*

aws:ResourceTag/${TagKey}

清單

ListInsights

准權列出所有關於指定叢集的受偵測洞察結果

叢集*

aws:ResourceTag/${TagKey}

清單

ListNodegroups

准許列出連接至指定叢集之 AWS 帳戶 (指定或預設區域中) 中的 Amazon EKS 節點群組

叢集*

aws:ResourceTag/${TagKey}

清單

ListPodIdentityAssociations

准許列出 EKS Pod 身分識別關聯

叢集*

aws:ResourceTag/${TagKey}

清單

ListTagsForResource

准許列出特定資源的標籤

附加元件

aws:ResourceTag/${TagKey}

讀取

功能

aws:ResourceTag/${TagKey}

叢集

aws:ResourceTag/${TagKey}

儀表板

aws:ResourceTag/${TagKey}

eks-anywhere-subscription

aws:ResourceTag/${TagKey}

Fargate 設定檔

aws:ResourceTag/${TagKey}

identityproviderconfig

aws:ResourceTag/${TagKey}

節點群組

aws:ResourceTag/${TagKey}

ListUpdates

准許列出指定 Amazon EKS cluster/nodegroup/add-on (在指定或預設區域) 的更新

附加元件

aws:ResourceTag/${TagKey}

清單

功能

aws:ResourceTag/${TagKey}

叢集*

aws:ResourceTag/${TagKey}

節點群組

aws:ResourceTag/${TagKey}

RegisterCluster

准許註冊外部叢集

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

StartInsightsRefresh

准許啟動叢集洞察的隨需重新整理操作,在標準重新整理排程之外取得最新分析

叢集*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許標記指定資源

access-entry

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

eks:accessEntryType

eks:clusterName

eks:kubernetesGroups

eks:principalArn

eks:username

標記、寫入

附加元件

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

eks-anywhere-subscription

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Fargate 設定檔

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

identityproviderconfig

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

節點群組

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

podidentityassociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許取消標記指定資源

access-entry

aws:ResourceTag/${TagKey}

aws:TagKeys

eks:accessEntryType

eks:clusterName

eks:kubernetesGroups

eks:principalArn

eks:username

標記、寫入

附加元件

aws:ResourceTag/${TagKey}

aws:TagKeys

功能

aws:ResourceTag/${TagKey}

aws:TagKeys

叢集

aws:ResourceTag/${TagKey}

aws:TagKeys

儀表板

aws:ResourceTag/${TagKey}

aws:TagKeys

eks-anywhere-subscription

aws:ResourceTag/${TagKey}

aws:TagKeys

Fargate 設定檔

aws:ResourceTag/${TagKey}

aws:TagKeys

identityproviderconfig

aws:ResourceTag/${TagKey}

aws:TagKeys

節點群組

aws:ResourceTag/${TagKey}

aws:TagKeys

podidentityassociation

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateAccessEntry

准權更新 Amazon EKS 存取項目

access-entry*

aws:ResourceTag/${TagKey}

eks:accessEntryType

eks:clusterName

eks:kubernetesGroups

eks:principalArn

eks:username

寫入

UpdateAddon

准許更新 Amazon EKS 附加元件組態,例如 VPC-CNI 版本

附加元件*

aws:ResourceTag/${TagKey}

寫入

podidentityassociation

aws:ResourceTag/${TagKey}

UpdateCapability

准許更新 Amazon EKS 叢集的功能

功能*

aws:ResourceTag/${TagKey}

寫入

UpdateClusterConfig

准許更新 Amazon EKS 叢集組態 (例如:API 伺服器端點存取)

叢集*

aws:ResourceTag/${TagKey}

eks:authenticationMode

eks:blockStorageEnabled

eks:computeConfigEnabled

eks:controlPlaneEgressMode

eks:controlPlaneScalingTier

eks:deletionProtection

eks:elasticLoadBalancingEnabled

eks:endpointPrivateAccess

eks:endpointPublicAccess

eks:kubeApiServerConfig

eks:kubeControllerManagerConfig

eks:kubeSchedulerConfig

eks:loggingType/${type}

eks:supportType

eks:zonalShiftEnabled

寫入

UpdateClusterVersion

准許更新 Amazon EKS 叢集的 Kubernetes 版本

叢集*

aws:ResourceTag/${TagKey}

eks:kubernetesVersion

寫入

UpdateEksAnywhereSubscription

准許更新 EKS Anywhere 訂閱

eks-anywhere-subscription*

aws:ResourceTag/${TagKey}

寫入

UpdateNodegroupConfig

准許更新 Amazon EKS 節點群組組態 (例如:最小/最大/所需容量或標籤)

節點群組*

aws:ResourceTag/${TagKey}

寫入

UpdateNodegroupVersion

准許更新 Amazon EKS 節點群組的 Kubernetes 版本

節點群組*

aws:ResourceTag/${TagKey}

寫入

UpdatePodIdentityAssociation

准許更新 EKS Pod 身分識別關聯

podidentityassociation*

aws:ResourceTag/${TagKey}

寫入

Amazon Elastic Kubernetes Service 的僅限許可動作

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

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

AccessKubernetesApi

准許透過 EKS 主控台檢視 AWS Kubernetes 物件

叢集*

aws:ResourceTag/${TagKey}

讀取

MutateViaKubernetesApi

准許透過 AWS 主控台修改 Kubernetes 物件

叢集*

aws:ResourceTag/${TagKey}

寫入

Amazon Elastic Kubernetes Service 定義的資源類型

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

資源類型 ARN 條件索引鍵

access-entry

arn:${Partition}:eks:${Region}:${Account}:access-entry/${ClusterName}/${IamIdentityType}/${IamIdentityAccountID}/${IamIdentityName}/${UID}

aws:ResourceTag/${TagKey}

eks:accessEntryType

eks:clusterName

eks:kubernetesGroups

eks:principalArn

eks:username

access-policy

arn:${Partition}:eks::aws:cluster-access-policy/${AccessPolicyName}

附加元件

arn:${Partition}:eks:${Region}:${Account}:addon/${ClusterName}/${AddonName}/${UUID}

aws:ResourceTag/${TagKey}

功能

arn:${Partition}:eks:${Region}:${Account}:capability/${ClusterName}/${CapabilityType}/${CapabilityName}/${UUID}

aws:ResourceTag/${TagKey}

叢集

arn:${Partition}:eks:${Region}:${Account}:cluster/${ClusterName}

aws:ResourceTag/${TagKey}

儀表板

arn:${Partition}:eks:${Region}:${Account}:dashboard/${DashboardName}

aws:ResourceTag/${TagKey}

eks-anywhere-subscription

arn:${Partition}:eks:${Region}:${Account}:eks-anywhere-subscription/${UUID}

aws:ResourceTag/${TagKey}

Fargate 設定檔

arn:${Partition}:eks:${Region}:${Account}:fargateprofile/${ClusterName}/${FargateProfileName}/${UUID}

aws:ResourceTag/${TagKey}

identityproviderconfig

arn:${Partition}:eks:${Region}:${Account}:identityproviderconfig/${ClusterName}/${IdentityProviderType}/${IdentityProviderConfigName}/${UUID}

aws:ResourceTag/${TagKey}

節點群組

arn:${Partition}:eks:${Region}:${Account}:nodegroup/${ClusterName}/${NodegroupName}/${UUID}

aws:ResourceTag/${TagKey}

podidentityassociation

arn:${Partition}:eks:${Region}:${Account}:podidentityassociation/${ClusterName}/${UID}

aws:ResourceTag/${TagKey}

Amazon Elastic Kubernetes Service 的條件索引鍵

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

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依出現在使用者向 EKS 服務提出之請求中的索引鍵,篩選存取

String

aws:ResourceTag/${TagKey}

依標籤鍵值組來篩選存取

String

aws:TagKeys

依出現在使用者向 EKS 提出之請求中所有標籤索引鍵名稱的清單,篩選存取

ArrayOfString

eks:accessEntryType

依使用者向 EKS 服務提出之存取項目請求中顯示的存取項目類型來篩選存取權

String

eks:accessScope

依出現在使用者向 EKS 服務提出之建立關聯/取消關聯存取政策請求的 accessScope,篩選存取權

String

eks:authenticationMode

依建立/更新叢集請求中存在的 authenticationMode 篩選存取權

String

eks:blockStorageEnabled

依建立/更新叢集請求中已啟用區塊儲存體的參數篩選存取權

Bool

eks:bootstrapClusterCreatorAdminPermissions

依建立叢集請求中顯示的「bootstrapClusterCreatorAdminPermissions」篩選存取權

Bool

eks:bootstrapSelfManagedAddons

依建立叢集請求中存在的 bootstrapSelfManagedAddons 篩選存取權

Bool

eks:clientId

依出現在使用者向 EKS 服務提出之 associateIdentityProviderConfig 請求的用戶端 ID,篩選存取

String

eks:clusterName

依出現在使用者向 EKS 服務提出之存取項目請求中的 clusterName,篩選存取權

String

eks:computeConfigEnabled

依建立/更新叢集請求中的運算組態啟用參數篩選存取權

Bool

eks:controlPlaneEgressMode

依建立/更新叢集請求中指定的控制平面輸出模式篩選存取權

String

eks:controlPlaneScalingTier

依建立/更新叢集請求中的控制平面擴展層篩選存取權

String

eks:deletionProtection

依建立/更新叢集請求中的刪除保護設定篩選存取權

Bool

eks:elasticLoadBalancingEnabled

依建立/更新叢集請求中已啟用彈性負載平衡的參數篩選存取權

Bool

eks:encryptionConfigProviderKeyArns

依建立叢集/關聯加密組態請求中的 KMS 金鑰 ARNs 篩選存取權

ArrayOfARN

eks:endpointPrivateAccess

依建立/更新叢集請求中的端點私有存取設定篩選存取權

Bool

eks:endpointPublicAccess

依建立/更新叢集請求中的端點公開存取設定篩選存取權

Bool

eks:issuerUrl

依出現在使用者向 EKS 服務提出之 associateIdentityProviderConfig 請求的發行者 URL,篩選存取

String

eks:kubeApiServerConfig

依建立/更新叢集請求中是否存在 kube-api-server 組態來篩選存取權

Bool

eks:kubeControllerManagerConfig

依建立/更新叢集請求中是否存在 kube-controller-manager 組態來篩選存取權

Bool

eks:kubeSchedulerConfig

依建立/更新叢集請求中是否存在 kube-scheduler 組態來篩選存取權

Bool

eks:kubernetesGroups

依使用者向 EKS 服務提出之存取項目請求中顯示的 kubernetesGroups 來篩選存取權

ArrayOfString

eks:kubernetesVersion

在建立叢集/更新叢集版本請求中,依 Kubernetes 版本篩選存取權

String

eks:loggingType/${type}

依啟用的叢集記錄和建立/更新叢集請求中的類型參數篩選存取權

Bool

eks:命名空間

依出現在使用者向 EKS 服務提出之建立關聯/取消關聯存取政策請求的命名空間,篩選存取權

ArrayOfString

eks:policyArn

依出現在使用者向 EKS 服務提出之存取項目請求中的 policyArn,篩選存取權

ARN

eks:principalArn

依使用者向 EKS 服務提出之存取項目請求中顯示的 principalArn 來篩選存取權

ARN

eks:supportType

依建立/更新叢集請求中存在的 supportType 篩選存取權

String

eks:username

依使用者向 EKS 服務提出之存取項目請求中顯示的 Kubernetes 用戶名稱來篩選存取權

String

eks:zonalShiftEnabled

依建立/更新叢集請求中啟用區域轉移的設定篩選存取權

Bool