pub struct TrafficMirrorSessionArgs {
pub description: Output<Option<String>>,
pub network_interface_id: Output<String>,
pub packet_length: Output<Option<i32>>,
pub session_number: Output<i32>,
pub tags: Output<Option<HashMap<String, String>>>,
pub traffic_mirror_filter_id: Output<String>,
pub traffic_mirror_target_id: Output<String>,
pub virtual_network_id: Output<Option<i32>>,
}
Fields§
§description: Output<Option<String>>
A description of the traffic mirror session.
network_interface_id: Output<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.
packet_length: Output<Option<i32>>
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.
session_number: Output<i32>
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.
Key-value map of resource tags. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
traffic_mirror_filter_id: Output<String>
ID of the traffic mirror filter to be used
traffic_mirror_target_id: Output<String>
ID of the traffic mirror target to be used
virtual_network_id: Output<Option<i32>>
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.
Implementations§
source§impl TrafficMirrorSessionArgs
impl TrafficMirrorSessionArgs
sourcepub fn builder() -> TrafficMirrorSessionArgsBuilder
pub fn builder() -> TrafficMirrorSessionArgsBuilder
Create an instance of TrafficMirrorSessionArgs
using the builder syntax
Trait Implementations§
source§impl Clone for TrafficMirrorSessionArgs
impl Clone for TrafficMirrorSessionArgs
source§fn clone(&self) -> TrafficMirrorSessionArgs
fn clone(&self) -> TrafficMirrorSessionArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for TrafficMirrorSessionArgs
impl RefUnwindSafe for TrafficMirrorSessionArgs
impl Send for TrafficMirrorSessionArgs
impl Sync for TrafficMirrorSessionArgs
impl Unpin for TrafficMirrorSessionArgs
impl UnwindSafe for TrafficMirrorSessionArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)