{ "$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-match-attributes-schema.json", "title": "MatchAttributes", "description": "Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags. ", "type": "object", "properties": { "Sources": { "allOf": [ { "$ref": "#/components/schemas/Addresses" }, { "description": "The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. " } ] }, "Destinations": { "allOf": [ { "$ref": "#/components/schemas/Addresses" }, { "description": "The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. " } ] }, "SourcePorts": { "allOf": [ { "$ref": "#/components/schemas/PortRanges" }, { "description": "
The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.
The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.