Values.PutClusterPolicyInputSourceAttaches 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.
type nonrec t = {identifier : ClusterId.t;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.
*)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.
*)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.
*)clientToken : ClientToken.t option;}val make :
?bypassPolicyLockoutSafetyCheck:??? ->
?expectedPolicyVersion:??? ->
?clientToken:??? ->
identifier:ClusterId.t ->
policy:PolicyDocument.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of BypassPolicyLockoutSafetyCheck.t
| `String of ClusterId.t ])
list ]