Module Values_0.FirewallStatefulRuleSource

Describes a stateful rule.

Sourcetype nonrec t = {
  1. ruleGroupArn : ResourceArn.t option;
    (*

    The ARN of the stateful rule group.

    *)
  2. sources : ValueStringList.t option;
    (*

    The source IP addresses, in CIDR notation.

    *)
  3. destinations : ValueStringList.t option;
    (*

    The destination IP addresses, in CIDR notation.

    *)
  4. sourcePorts : PortRangeList.t option;
    (*

    The source ports.

    *)
  5. destinationPorts : PortRangeList.t option;
    (*

    The destination ports.

    *)
  6. protocol : String_.t option;
    (*

    The protocol.

    *)
  7. ruleAction : String_.t option;
    (*

    The rule action. The possible values are pass, drop, and alert.

    *)
  8. direction : String_.t option;
    (*

    The direction. The possible values are FORWARD and ANY.

    *)
}
Sourceval make : ?ruleGroupArn:ResourceArn.t -> ?sources:ValueStringList.t -> ?destinations:ValueStringList.t -> ?sourcePorts:PortRangeList.t -> ?destinationPorts:PortRangeList.t -> ?protocol:String_.t -> ?ruleAction:String_.t -> ?direction:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t | `Structure of (string * [> `Integer of Integer.t ]) list ] list | `String of ResourceArn.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