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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class TrafficMirrorSession
The TrafficMirrorSession type exposes the following members
Name | Description | |
---|---|---|
![]() |
TrafficMirrorSession() |
Name | Type | Description | |
---|---|---|---|
![]() |
Description | System.String |
Gets and sets the property Description. The description of the Traffic Mirror session. |
![]() |
NetworkInterfaceId | System.String |
Gets and sets the property NetworkInterfaceId. The ID of the Traffic Mirror session's network interface. |
![]() |
OwnerId | System.String |
Gets and sets the property OwnerId. The ID of the account that owns the Traffic Mirror session. |
![]() |
PacketLength | System.Nullable<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 |
![]() |
SessionNumber | System.Nullable<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. |
![]() |
Tags | System.Collections.Generic.List<Amazon.EC2.Model.Tag> |
Gets and sets the property Tags. The tags assigned to the Traffic Mirror session. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
TrafficMirrorFilterId | System.String |
Gets and sets the property TrafficMirrorFilterId. The ID of the Traffic Mirror filter. |
![]() |
TrafficMirrorSessionId | System.String |
Gets and sets the property TrafficMirrorSessionId. The ID for the Traffic Mirror session. |
![]() |
TrafficMirrorTargetId | System.String |
Gets and sets the property TrafficMirrorTargetId. The ID of the Traffic Mirror target. |
![]() |
VirtualNetworkId | System.Nullable<System.Int32> |
Gets and sets the property VirtualNetworkId. The virtual network ID associated with the Traffic Mirror session. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer