Values.AwsEc2NetworkAclEntrySourceA rule for the network ACL. Each rule allows or denies access based on the IP address, traffic direction, port, and protocol.
type nonrec t = {cidrBlock : NonEmptyString.t option;The IPV4 network range for which to deny or allow access.
*)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.
*)icmpTypeCode : IcmpTypeCode.t option;The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.
*)ipv6CidrBlock : NonEmptyString.t option;The IPV6 network range for which to deny or allow access.
*)portRange : PortRangeFromTo.t option;For TCP or UDP protocols, the range of ports that the rule applies to.
*)protocol : NonEmptyString.t option;The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.
*)ruleAction : NonEmptyString.t option;Whether the rule is used to allow access or deny access.
*)ruleNumber : Integer.t option;The rule number. The rules are processed in order by their number.
*)}val make :
?cidrBlock:NonEmptyString.t ->
?egress:Boolean.t ->
?icmpTypeCode:IcmpTypeCode.t ->
?ipv6CidrBlock:NonEmptyString.t ->
?portRange:PortRangeFromTo.t ->
?protocol:NonEmptyString.t ->
?ruleAction:NonEmptyString.t ->
?ruleNumber:Integer.t ->
unit ->
t