CreateTrafficMirrorSession
In this article:
CreateTrafficMirrorSession#
Description#
Creates a mirror session.
Request Parameters#
Required parameters#
networkInterfaceId — The ID of the traffic source network interface.
Type: String
Required: Yes
sessionNumber — The number of the mirror session.
Type: String
Required: Yes
Range: From 1 to 128
trafficMirrorFilterId — The mirror filter ID.
Type: String
Required: Yes
trafficMirrorTargetId — The ID of the mirror target.
Type: String
Required: Yes
Optional parameters#
description — The description of the mirror session.
Type: String
Required: No
Constraints: From 1 to 255 characters
TagSpecification.N — The tags assigned to the mirror session.
Type: List of TagSpecification objects
Required: No
Response Elements#
trafficMirrorSession — Information about the mirror session.
Type: TrafficMirrorSession object
Examples#
c2-ec2 CreateTrafficMirrorSession networkInterfaceId eni-A1BF7290 trafficMirrorTargetId tmt-060354BE trafficMirrorFilterId tmf-FA88E939 sessionNumber 10 description "text description"