Module Values.PolicyStatementSource

The structure containing traffic policy conditions and actions.

Sourcetype nonrec t = {
  1. conditions : PolicyConditions.t;
    (*

    The list of conditions to apply to incoming messages for filtering email traffic.

    *)
  2. action : AcceptAction.t;
    (*

    The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.

    *)
}
Sourceval context_ : string
Sourceval make : conditions:PolicyConditions.t -> action:AcceptAction.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `String of AddressListArn.t ] list | `String of AnalyzerArn.t ]) list ]) list ]) list ]) 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