Skip to content

AssociateAccessPolicyRequest

Source code in docs_src/capo_eks/types/associate_access_policy_request.py
class AssociateAccessPolicyRequest(TypedDict, closed=True):
    cluster_name: "capo_eks.types.string.String"
    """<p>The name of your cluster.</p>"""
    principal_arn: "capo_eks.types.string.String"
    """<p>The Amazon Resource Name (ARN) of the IAM user or role for the <code>AccessEntry</code> that you're associating the access policy to. </p>"""
    policy_arn: "capo_eks.types.string.String"
    """<p>The ARN of the <code>AccessPolicy</code> that you're associating. For a list of ARNs, use <code>ListAccessPolicies</code>.</p>"""
    access_scope: "capo_eks.types.access_scope.AccessScope"
    """<p>The scope for the <code>AccessPolicy</code>. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.</p>"""

access_scope instance-attribute

access_scope: AccessScope

The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.

cluster_name instance-attribute

cluster_name: String

The name of your cluster.

policy_arn instance-attribute

policy_arn: String

The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.

principal_arn instance-attribute

principal_arn: String

The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry that you're associating the access policy to.