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.

Describes the Traffic Mirror rule.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.TrafficMirrorFilterRule

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

Syntax

C#
public class TrafficMirrorFilterRule

The TrafficMirrorFilterRule type exposes the following members

Constructors

NameDescription
Public Method TrafficMirrorFilterRule()

Properties

NameTypeDescription
Public Property Description System.String

Gets and sets the property Description.

The description of the Traffic Mirror rule.

Public Property DestinationCidrBlock System.String

Gets and sets the property DestinationCidrBlock.

The destination CIDR block assigned to the Traffic Mirror rule.

Public Property DestinationPortRange Amazon.EC2.Model.TrafficMirrorPortRange

Gets and sets the property DestinationPortRange.

The destination port range assigned to the Traffic Mirror rule.

Public Property Protocol System.Int32

Gets and sets the property Protocol.

The protocol assigned to the Traffic Mirror rule.

Public Property RuleAction Amazon.EC2.TrafficMirrorRuleAction

Gets and sets the property RuleAction.

The action assigned to the Traffic Mirror rule.

Public Property RuleNumber System.Int32

Gets and sets the property RuleNumber.

The rule number of the Traffic Mirror rule.

Public Property SourceCidrBlock System.String

Gets and sets the property SourceCidrBlock.

The source CIDR block assigned to the Traffic Mirror rule.

Public Property SourcePortRange Amazon.EC2.Model.TrafficMirrorPortRange

Gets and sets the property SourcePortRange.

The source port range assigned to the Traffic Mirror rule.

Public Property TrafficDirection Amazon.EC2.TrafficDirection

Gets and sets the property TrafficDirection.

The traffic direction assigned to the Traffic Mirror rule.

Public Property TrafficMirrorFilterId System.String

Gets and sets the property TrafficMirrorFilterId.

The ID of the Traffic Mirror filter that the rule is associated with.

Public Property TrafficMirrorFilterRuleId System.String

Gets and sets the property TrafficMirrorFilterRuleId.

The ID of the Traffic Mirror rule.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5