AWS CloudFormation
User Guide (Version )

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: