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 a Traffic Mirror session.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.TrafficMirrorSession

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

Syntax

C#
public class TrafficMirrorSession

The TrafficMirrorSession type exposes the following members

Constructors

NameDescription
Public Method TrafficMirrorSession()

Properties

NameTypeDescription
Public Property Description System.String

Gets and sets the property Description.

The description of the Traffic Mirror session.

Public Property NetworkInterfaceId System.String

Gets and sets the property NetworkInterfaceId.

The ID of the Traffic Mirror session's network interface.

Public Property OwnerId System.String

Gets and sets the property OwnerId.

The ID of the account that owns the Traffic Mirror session.

Public Property PacketLength System.Int32

Gets and sets the property PacketLength.

The number of bytes in each packet to mirror. These are the bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet

Public Property SessionNumber System.Int32

Gets and sets the property SessionNumber.

The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

Valid values are 1-32766.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

The tags assigned to the Traffic Mirror session.

Public Property TrafficMirrorFilterId System.String

Gets and sets the property TrafficMirrorFilterId.

The ID of the Traffic Mirror filter.

Public Property TrafficMirrorSessionId System.String

Gets and sets the property TrafficMirrorSessionId.

The ID for the Traffic Mirror session.

Public Property TrafficMirrorTargetId System.String

Gets and sets the property TrafficMirrorTargetId.

The ID of the Traffic Mirror target.

Public Property VirtualNetworkId System.Int32

Gets and sets the property VirtualNetworkId.

The virtual network ID associated with the Traffic Mirror session.

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