NetworkAclEntry

The network access control list (ACL) is an optional layer of security for your VPC that acts as a firewall for controlling traffic in and out of one or more subnets. The entry is a set of numbered ingress and egress rules that determine whether a packet should be allowed in or out of a subnet associated with the ACL. We process the entries in the ACL according to the rule numbers, in ascending order.

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. For example, 172.16.0.0/24. We modify the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

Link copied to clipboard

Defines the ICMP protocol that consists of the ICMP type and code.

Link copied to clipboard

The range of ports the rule applies to.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.

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