Skip to content

TrafficMirrorSession

Source code in docs_src/capo_ec2/types/traffic_mirror_session.py
class TrafficMirrorSession(TypedDict, closed=True):
    traffic_mirror_session_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID for the Traffic Mirror session.</p>"""
    traffic_mirror_target_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Traffic Mirror target.</p>"""
    traffic_mirror_filter_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Traffic Mirror filter.</p>"""
    network_interface_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Traffic Mirror session's network interface.</p>"""
    owner_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the account that owns the Traffic Mirror session.</p>"""
    packet_length: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of bytes in each packet to mirror. These are the 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</p>"""
    session_number: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>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.</p> <p>Valid values are 1-32766.</p>"""
    virtual_network_id: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The virtual network ID associated with the Traffic Mirror session.</p>"""
    description: NotRequired["capo_ec2.types.string.String"]
    """<p>The description of the Traffic Mirror session.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>The tags assigned to the Traffic Mirror session.</p>"""

description instance-attribute

description: NotRequired[String]

The description of the Traffic Mirror session.

network_interface_id instance-attribute

network_interface_id: NotRequired[String]

The ID of the Traffic Mirror session's network interface.

owner_id instance-attribute

owner_id: NotRequired[String]

The ID of the account that owns the Traffic Mirror session.

packet_length instance-attribute

packet_length: NotRequired[Integer]

The number of bytes in each packet to mirror. These are the 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

session_number instance-attribute

session_number: NotRequired[Integer]

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.

tags instance-attribute

tags: NotRequired[TagList]

The tags assigned to the Traffic Mirror session.

traffic_mirror_filter_id instance-attribute

traffic_mirror_filter_id: NotRequired[String]

The ID of the Traffic Mirror filter.

traffic_mirror_session_id instance-attribute

traffic_mirror_session_id: NotRequired[String]

The ID for the Traffic Mirror session.

traffic_mirror_target_id instance-attribute

traffic_mirror_target_id: NotRequired[String]

The ID of the Traffic Mirror target.

virtual_network_id instance-attribute

virtual_network_id: NotRequired[Integer]

The virtual network ID associated with the Traffic Mirror session.