class NetworkAclEntry (construct)
Define an entry in a Network ACL table.
new NetworkAclEntry(scope: Construct, id: string, props: NetworkAclEntryProps)
|cidr||The CIDR range to allow or deny.|
|network||The network ACL this entry applies to.|
|rule||Rule number to assign to the entry, such as 100.|
|traffic||What kind of traffic this ACL rule applies to.|
|direction?||Traffic direction, with respect to the subnet, this rule applies to.|
|network||The name of the NetworkAclEntry.|
|rule||Whether to allow or deny traffic that matches the rule; valid values are "allow" or "deny".|
The CIDR range to allow or deny.
The network ACL this entry applies to.
Rule number to assign to the entry, such as 100.
ACL entries are processed in ascending order by rule number. Entries can't use the same rule number unless one is an egress rule and the other is an ingress rule.
What kind of traffic this ACL rule applies to.
(optional, default: TrafficDirection.INGRESS)
Traffic direction, with respect to the subnet, this rule applies to.
(optional, default: If you don't specify a NetworkAclName, AWS CloudFormation generates a
unique physical ID and uses that ID for the group name.)
The name of the NetworkAclEntry.
It is not recommended to use an explicit group name.
(optional, default: ALLOW)
Whether to allow or deny traffic that matches the rule; valid values are "allow" or "deny".
Any traffic that is not explicitly allowed is automatically denied in a custom ACL, all traffic is automatically allowed in a default ACL.
|network||The network ACL.|
|node||The construct tree node associated with this construct.|
|stack||The stack in which this resource is defined.|
The network ACL.
The construct tree node associated with this construct.
The stack in which this resource is defined.
|to||Returns a string representation of this construct.|
public toString(): string
Returns a string representation of this construct.