Skip to main content

NetworkAclEntrySchema

Defines the schema for a network acl entry. These values are mapped from the official EC2 create network acl entry document. Please refer to the AWS documentation for more information.

@group

Resources/NetworkAcl

Index

Properties

CidrBlock

CidrBlock: string

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

Egress

Egress: boolean

Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).

PortRange

PortRange: { From: number; To: number }

The range of ports the rule applies to.


Type declaration

  • From: number
  • To: number

Protocol

Protocol: string

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

RuleAction

RuleAction: allow | deny

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

RuleNumber

RuleNumber: number

The rule number for the entry. ACL entries are processed in ascending order by rule number.