AWS::EC2::NetworkAclEntry PortRange - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::EC2::NetworkAclEntry PortRange

Describes a range of ports.

Syntax

To declare this entity in your Amazon 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