Module Values.AssociateAccessPolicyRequestSource

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.

Sourcetype nonrec t = {
  1. clusterName : String_.t;
    (*

    The name of your cluster.

    *)
  2. principalArn : String_.t;
    (*

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

    *)
  3. policyArn : String_.t;
    (*

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

    *)
  4. accessScope : AccessScope.t;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : clusterName:String_.t -> principalArn:String_.t -> policyArn:String_.t -> accessScope:AccessScope.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t