Module Values.PutClusterPolicyInputSource

Attaches a resource-based policy to a cluster. This policy defines access permissions and conditions for the cluster, allowing you to control which principals can perform actions on the cluster.

Sourcetype nonrec t = {
  1. identifier : ClusterId.t;
  2. policy : PolicyDocument.t;
    (*

    The resource-based policy document to attach to the cluster. This should be a valid JSON policy document that defines permissions and conditions.

    *)
  3. bypassPolicyLockoutSafetyCheck : BypassPolicyLockoutSafetyCheck.t option;
    (*

    A flag that allows you to bypass the policy lockout safety check. When set to true, this parameter allows you to apply a policy that might lock you out of the cluster. Use with caution.

    *)
  4. expectedPolicyVersion : PolicyVersion.t option;
    (*

    The expected version of the current policy. This parameter ensures that you're updating the correct version of the policy and helps prevent concurrent modification conflicts.

    *)
  5. clientToken : ClientToken.t option;
}
Sourceval context_ : string
Sourceval make : ?bypassPolicyLockoutSafetyCheck:??? -> ?expectedPolicyVersion:??? -> ?clientToken:??? -> identifier:ClusterId.t -> policy:PolicyDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BypassPolicyLockoutSafetyCheck.t | `String of ClusterId.t ]) 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