Class DefaultNetworkAclIngress


  • public final class DefaultNetworkAclIngress
    extends java.lang.Object
    • Method Detail

      • action

        public java.lang.String action()
        Returns:
        The action to take.
      • cidrBlock

        public java.util.Optional<java.lang.String> cidrBlock()
        Returns:
        The CIDR block to match. This must be a valid network mask.
      • fromPort

        public java.lang.Integer fromPort()
        Returns:
        The from port to match.
      • icmpCode

        public java.util.Optional<java.lang.Integer> icmpCode()
        Returns:
        The ICMP type code to be used. Default 0.
      • icmpType

        public java.util.Optional<java.lang.Integer> icmpType()
        Returns:
        The ICMP type to be used. Default 0.
      • ipv6CidrBlock

        public java.util.Optional<java.lang.String> ipv6CidrBlock()
        Returns:
        The IPv6 CIDR block. > For more information on ICMP types and codes, see [Internet Control Message Protocol (ICMP) Parameters](https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml).
      • protocol

        public java.lang.String protocol()
        Returns:
        The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0.
      • ruleNo

        public java.lang.Integer ruleNo()
        Returns:
        The rule number. Used for ordering.
      • toPort

        public java.lang.Integer toPort()
        Returns:
        The to port to match. The following arguments are optional: