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.
Container for the parameters to the ModifyTrafficMirrorSession operation. Modifies a Traffic Mirror session.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class ModifyTrafficMirrorSessionRequest : AmazonEC2Request IAmazonWebServiceRequest
The ModifyTrafficMirrorSessionRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
ModifyTrafficMirrorSessionRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
Description | System.String |
Gets and sets the property Description. The description to assign to the Traffic Mirror session. |
![]() |
PacketLength | System.Int32 |
Gets and sets the property PacketLength. The number of bytes in each packet to mirror. These are 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.
For sessions with Network Load Balancer (NLB) traffic mirror targets, the default
|
![]() |
RemoveFields | System.Collections.Generic.List<System.String> |
Gets and sets the property RemoveFields. The properties that you want to remove from the Traffic Mirror session. When you remove a property from a Traffic Mirror session, the property is set to the default. |
![]() |
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. |
![]() |
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 of the Traffic Mirror session. |
![]() |
TrafficMirrorTargetId | System.String |
Gets and sets the property TrafficMirrorTargetId. The Traffic Mirror target. The target must be in the same VPC as the source, or have a VPC peering connection with the source. |
![]() |
VirtualNetworkId | System.Int32 |
Gets and sets the property VirtualNetworkId. The virtual network ID of 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.5 and newer, 3.5