Amazon Elastic Compute Cloud
API Reference (API Version 2013-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

NetworkAclEntryType

Describes an entry in a network ACL.

Ancestors

  • NetworkAclEntrySetType

Contents

ruleNumber

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

Type: Integer

protocol

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

Type: Integer

Valid values: Any protocol number (see Protocol Numbers).

ruleAction

Whether to allow or deny the traffic that matches the rule.

Type: String

egress

Indicates an egress rule (rule is applied to traffic leaving the subnet). Value of true indicates egress.

Type: Boolean

cidrBlock

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

Type: String

icmpTypeCode

ICMP protocol: The ICMP type and code.

Type: IcmpTypeCodeType

portRange

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

Type: PortRangeType