Associates an access policy and its scope to an access entry. For more information about associating access policies, see Associating and disassociating access policies to and from access entries in the Amazon EKS User Guide.
See https://www.paws-r-sdk.com/docs/eks_associate_access_policy/ for full documentation.
eks_associate_access_policy(clusterName, principalArn, policyArn, accessScope)
[required] The name of your cluster.
[required] The Amazon Resource Name (ARN) of the IAM user or role for the
AccessEntry
that you're associating the access policy to.
[required] The ARN of the AccessPolicy
that you're associating. For a list of
ARNs, use list_access_policies
.
[required] The scope for the AccessPolicy
. You can scope access policies to an
entire cluster or to specific Kubernetes namespaces.