Package com.pulumi.aws.ec2.inputs
Class NetworkAclRuleState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.ec2.inputs.NetworkAclRuleState
-
public final class NetworkAclRuleState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetworkAclRuleState.Builder
-
Field Summary
Fields Modifier and Type Field Description static NetworkAclRuleStateEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkAclRuleState.Builderbuilder()static NetworkAclRuleState.Builderbuilder(NetworkAclRuleState 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()java.util.Optional<com.pulumi.core.Output<java.lang.String>>networkAclId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>protocol()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.lang.String>>ruleAction()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>ruleNumber()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>toPort()
-
-
-
Field Detail
-
Empty
public static final NetworkAclRuleState Empty
-
-
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 java.util.Optional<com.pulumi.core.Output<java.lang.String>> networkAclId()
- Returns:
- The ID of the network ACL.
-
protocol
public java.util.Optional<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 java.util.Optional<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 java.util.Optional<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.
-
builder
public static NetworkAclRuleState.Builder builder()
-
builder
public static NetworkAclRuleState.Builder builder(NetworkAclRuleState defaults)
-
-