Module Values.NetworkACLEntrySource

The network access control list (ACL) is an optional layer of security for your VPC that acts as a firewall for controlling traffic in and out of one or more subnets. The entry is a set of numbered ingress and egress rules that determine whether a packet should be allowed in or out of a subnet associated with the ACL. We process the entries in the ACL according to the rule numbers, in ascending order.

Sourcetype nonrec t = {
  1. ruleNumber : RuleNumber.t;
    (*

    The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.

    *)
  2. protocol : Protocol.t;
    (*

    The protocol number. A value of -1 means all the protocols.

    *)
  3. ruleAction : RuleAction.t;
    (*

    Indicates whether to allow or deny the traffic that matches the rule.

    *)
  4. portRange : PortRange.t option;
    (*

    The range of ports the rule applies to.

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

    Defines the ICMP protocol that consists of the ICMP type and code.

    *)
  6. cidrBlock : ValidCIDRBlock.t;
    (*

    The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We modify the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

    *)
}
Sourceval context_ : string
Sourceval make : ?portRange:??? -> ?icmpTypeCode:??? -> ruleNumber:RuleNumber.t -> protocol:Protocol.t -> ruleAction:RuleAction.t -> cidrBlock:ValidCIDRBlock.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of RuleNumber.t | `String of Protocol.t | `Structure of (string * [> `Integer of Port.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