Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PortRange

import type { PortRange } from "https://aws-api.deno.dev/v0.4/services/networkfirewall.ts?docs=full";

A single port range specification. This is used for source and destination port ranges in the stateless rule "MatchAttributes", SourcePorts, and DestinationPorts settings.

interface PortRange {
FromPort: number;
ToPort: number;
}

§Properties

§
FromPort: number
[src]

The lower limit of the port range. This must be less than or equal to the ToPort specification.

§
ToPort: number
[src]

The upper limit of the port range. This must be greater than or equal to the FromPort specification.