Module Values.CustomPolicyDetailsSource

Provides the runtime system, policy definition, and whether debug logging enabled. You can specify the following CustomPolicyDetails parameter values only for Config Custom Policy rules.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. policyText : PolicyText.t;
    (*

    The policy definition containing the logic for your Config Custom Policy rule.

    *)
  3. enableDebugLogDelivery : Boolean.t option;
    (*

    The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is false.

    *)
}
Sourceval context_ : string
Sourceval make : ?enableDebugLogDelivery:??? -> policyRuntime:PolicyRuntime.t -> policyText:PolicyText.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of PolicyRuntime.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