Module Values.AwsEc2NetworkAclEntrySource

A rule for the network ACL. Each rule allows or denies access based on the IP address, traffic direction, port, and protocol.

Sourcetype nonrec t = {
  1. cidrBlock : NonEmptyString.t option;
    (*

    The IPV4 network range for which to deny or allow access.

    *)
  2. egress : Boolean.t option;
    (*

    Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.

    *)
  3. icmpTypeCode : IcmpTypeCode.t option;
    (*

    The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.

    *)
  4. ipv6CidrBlock : NonEmptyString.t option;
    (*

    The IPV6 network range for which to deny or allow access.

    *)
  5. portRange : PortRangeFromTo.t option;
    (*

    For TCP or UDP protocols, the range of ports that the rule applies to.

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

    The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

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

    Whether the rule is used to allow access or deny access.

    *)
  8. ruleNumber : Integer.t option;
    (*

    The rule number. The rules are processed in order by their number.

    *)
}
Sourceval make : ?cidrBlock:??? -> ?egress:??? -> ?icmpTypeCode:??? -> ?ipv6CidrBlock:??? -> ?portRange:??? -> ?protocol:??? -> ?ruleAction:??? -> ?ruleNumber:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `String of NonEmptyString.t | `Structure of (string * [> `Integer of Integer.t ]) 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