Values.CustomPolicyDetailsSourceProvides the runtime system, policy definition, and whether debug logging enabled. You can specify the following CustomPolicyDetails parameter values only for Config Custom Policy rules.
type nonrec t = {policyRuntime : PolicyRuntime.t;The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
*)policyText : PolicyText.t;The policy definition containing the logic for your Config Custom Policy rule.
*)enableDebugLogDelivery : Boolean.t option;The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is false.
*)}val make :
?enableDebugLogDelivery:??? ->
policyRuntime:PolicyRuntime.t ->
policyText:PolicyText.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Boolean of Boolean.t | `String of PolicyRuntime.t ]) list ]