AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.NetworkFirewall.Model.MatchAttributes

Namespace: Amazon.NetworkFirewall.Model
Assembly: AWSSDK.NetworkFirewall.dll
Version: 3.x.y.z

Syntax

C#
public class MatchAttributes

The MatchAttributes type exposes the following members

Constructors

NameDescription
Public Method MatchAttributes()

Properties

NameTypeDescription
Public Property 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 1994 and you can specify port ranges, for example 1990:1994.

Public Property 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.

Public Property 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.

Public Property 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 1994 and you can specify port ranges, for example 1990:1994.

Public Property 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.

Public Property 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).

Version Information

.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