pub struct TrafficMirrorSessionResult {
pub arn: Output<String>,
pub description: Output<Option<String>>,
pub network_interface_id: Output<String>,
pub owner_id: Output<String>,
pub packet_length: Output<i32>,
pub session_number: Output<i32>,
pub tags: Output<Option<HashMap<String, String>>>,
pub tags_all: Output<HashMap<String, String>>,
pub traffic_mirror_filter_id: Output<String>,
pub traffic_mirror_target_id: Output<String>,
pub virtual_network_id: Output<i32>,
}
Fields§
§arn: Output<String>
The ARN of the traffic mirror session.
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.
owner_id: Output<String>
The AWS account ID of the session owner.
packet_length: Output<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.
A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.
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<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.