AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
Namespace: Amazon.NetworkFirewall.Model
Assembly: AWSSDK.NetworkFirewall.dll
Version: 3.x.y.z
public class MatchAttributes
The MatchAttributes type exposes the following members
Name | Description | |
---|---|---|
![]() |
MatchAttributes() |
Name | Type | Description | |
---|---|---|---|
![]() |
DestinationPorts | System.Collections.Generic.List<Amazon.NetworkFirewall.Model.PortRange> |
Gets and sets the property DestinationPorts. 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 |
![]() |
Destinations | System.Collections.Generic.List<Amazon.NetworkFirewall.Model.Address> |
Gets and sets the property Destinations. The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. |
![]() |
Protocols | System.Collections.Generic.List<System.Int32> |
Gets and sets the property Protocols. The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. |
![]() |
SourcePorts | System.Collections.Generic.List<Amazon.NetworkFirewall.Model.PortRange> |
Gets and sets the property SourcePorts. 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 |
![]() |
Sources | System.Collections.Generic.List<Amazon.NetworkFirewall.Model.Address> |
Gets and sets the property Sources. The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. |
![]() |
TCPFlags | System.Collections.Generic.List<Amazon.NetworkFirewall.Model.TCPFlagField> |
Gets and sets the property TCPFlags. The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP). |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5