NetworkAclEntry

Describes a rule in a network ACL.

Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the network ACL, Amazon Web Services processes the entries in the network ACL according to the rule numbers, in ascending order.

When you manage an individual network ACL, you explicitly specify the rule numbers. When you specify the network ACL rules in a Firewall Manager policy, you provide the rules to run first, in the order that you want them to run, and the rules to run last, in the order that you want them to run. Firewall Manager assigns the rule numbers for you when you save the network ACL policy specification.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The IPv4 network range to allow or deny, in CIDR notation.

Link copied to clipboard

Indicates whether the rule is an egress, or outbound, rule (applied to traffic leaving the subnet). If it's not an egress rule, then it's an ingress, or inbound, rule.

Link copied to clipboard

ICMP protocol: The ICMP type and code.

Link copied to clipboard

The IPv6 network range to allow or deny, in CIDR notation.

Link copied to clipboard

TCP or UDP protocols: The range of ports the rule applies to.

Link copied to clipboard

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

Link copied to clipboard

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

Functions

Link copied to clipboard
inline fun copy(block: NetworkAclEntry.Builder.() -> Unit = {}): NetworkAclEntry
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String