AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::EC2::NetworkAclEntry PortRange

Describes a range of ports.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "From" : Integer, "To" : Integer }

YAML

From: Integer To: Integer

Properties

From

The first port in the range. Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

Required: No

Type: Integer

Update requires: No interruption

To

The last port in the range. Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

Required: No

Type: Integer

Update requires: No interruption

On this page: