Class AssociateAccessPolicyRequest

    • Method Detail

      • clusterName

        public final String clusterName()

        The name of your cluster.

        Returns:
        The name of your cluster.
      • principalArn

        public final String principalArn()

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

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

        public final String policyArn()

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

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

        public final AccessScope accessScope()

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

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

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object