Class NetworkAclRuleArgs


  • public final class NetworkAclRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NetworkAclRuleArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static NetworkAclRuleArgs.Builder builder()  
      static NetworkAclRuleArgs.Builder builder​(NetworkAclRuleArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidrBlock()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> egress()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> fromPort()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> icmpCode()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> icmpType()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6CidrBlock()  
      com.pulumi.core.Output<java.lang.String> networkAclId()  
      com.pulumi.core.Output<java.lang.String> protocol()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      com.pulumi.core.Output<java.lang.String> ruleAction()  
      com.pulumi.core.Output<java.lang.Integer> ruleNumber()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> toPort()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • cidrBlock

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidrBlock()
        Returns:
        The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).
      • egress

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> egress()
        Returns:
        Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet). Default `false`.
      • fromPort

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> fromPort()
        Returns:
        The from port to match.
      • icmpCode

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> icmpCode()
        Returns:
        ICMP protocol: The ICMP code. Required if specifying ICMP for the protocolE.g., -1 > **NOTE:** If the value of `protocol` is `-1` or `all`, the `fromPort` and `toPort` values will be ignored and the rule will apply to all ports. > **NOTE:** If the value of `icmpType` is `-1` (which results in a wildcard ICMP type), the `icmpCode` must also be set to `-1` (wildcard ICMP code). > Note: For more information on ICMP types and codes, see here: https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml
      • icmpType

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> icmpType()
        Returns:
        ICMP protocol: The ICMP type. Required if specifying ICMP for the protocolE.g., -1
      • ipv6CidrBlock

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6CidrBlock()
        Returns:
        The IPv6 CIDR block to allow or deny.
      • networkAclId

        public com.pulumi.core.Output<java.lang.String> networkAclId()
        Returns:
        The ID of the network ACL.
      • protocol

        public com.pulumi.core.Output<java.lang.String> protocol()
        Returns:
        The protocol. A value of -1 means all protocols.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • ruleAction

        public com.pulumi.core.Output<java.lang.String> ruleAction()
        Returns:
        Indicates whether to allow or deny the traffic that matches the rule. Accepted values: `allow` | `deny`
      • ruleNumber

        public com.pulumi.core.Output<java.lang.Integer> ruleNumber()
        Returns:
        The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.
      • toPort

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> toPort()
        Returns:
        The to port to match.