PortRange

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

FirewallIntrusion DetectionNetwork SecurityVPC

Properties

Name Type Description
FromPort object
ToPort object
View JSON Schema on GitHub

JSON Schema

openapi-port-range-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-network-firewall/refs/heads/main/json-schema/openapi-port-range-schema.json",
  "title": "PortRange",
  "description": "A single port range specification. This is used for source and destination port ranges in the stateless rule <a>MatchAttributes</a>, <code>SourcePorts</code>, and <code>DestinationPorts</code> settings. ",
  "type": "object",
  "properties": {
    "FromPort": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PortRangeBound"
        },
        {
          "description": "The lower limit of the port range. This must be less than or equal to the <code>ToPort</code> specification. "
        }
      ]
    },
    "ToPort": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PortRangeBound"
        },
        {
          "description": "The upper limit of the port range. This must be greater than or equal to the <code>FromPort</code> specification. "
        }
      ]
    }
  },
  "required": [
    "FromPort",
    "ToPort"
  ]
}