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. |
![]() |
DryRun | System.Nullable<System.Boolean> |
Gets and sets the property DryRun.
Checks whether you have the required permissions for the action, without actually
making the request, and provides an error response. If you have the required permissions,
the error response is |
![]() |
PacketLength | System.Nullable<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. 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. |
![]() |
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. |
![]() |
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.Nullable<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.7.2 and newer