TrafficMirrorSessionArgs class

The set of arguments for TrafficMirrorSession. The set of arguments for TrafficMirrorSession.

Constructors

TrafficMirrorSessionArgs({Input<String?>? description, required Input<String> networkInterfaceId, Input<int?>? packetLength, Input<String?>? region, required Input<int> sessionNumber, Input<Map<String, String>?>? tags, required Input<String> trafficMirrorFilterId, required Input<String> trafficMirrorTargetId, Input<int?>? virtualNetworkId})
Creates a new TrafficMirrorSessionArgs. description A description of the traffic mirror session. networkInterfaceId ID of the source network interface. Not all network interfaces are eligible as mirror sources. On EC2 instances only nitro based instances support mirroring. packetLength The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. 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. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. trafficMirrorFilterId ID of the traffic mirror filter to be used trafficMirrorTargetId ID of the traffic mirror target to be used virtualNetworkId The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique id is chosen at random.
const
TrafficMirrorSessionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

description → Input<String?>?
A description of the traffic mirror session.
final
hashCode int
The hash code for this object.
no setterinherited
networkInterfaceId → Input<String>
ID of the source network interface. Not all network interfaces are eligible as mirror sources. On EC2 instances only nitro based instances support mirroring.
final
packetLength → Input<int?>?
The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionNumber → Input<int>
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.
final
tags → Input<Map<String, String>?>?
Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
trafficMirrorFilterId → Input<String>
ID of the traffic mirror filter to be used
final
trafficMirrorTargetId → Input<String>
ID of the traffic mirror target to be used
final
virtualNetworkId → Input<int?>?
The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique id is chosen at random.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited