amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.TrafficMirrorSession

Description

 
Synopsis

Documentation

data TrafficMirrorSession Source #

Describes a Traffic Mirror session.

See: newTrafficMirrorSession smart constructor.

Constructors

TrafficMirrorSession' 

Fields

  • description :: Maybe Text

    The description of the Traffic Mirror session.

  • networkInterfaceId :: Maybe Text

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

  • ownerId :: Maybe Text

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

  • packetLength :: Maybe Int

    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

  • sessionNumber :: Maybe 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.

    Valid values are 1-32766.

  • tags :: Maybe [Tag]

    The tags assigned to the Traffic Mirror session.

  • trafficMirrorFilterId :: Maybe Text

    The ID of the Traffic Mirror filter.

  • trafficMirrorSessionId :: Maybe Text

    The ID for the Traffic Mirror session.

  • trafficMirrorTargetId :: Maybe Text

    The ID of the Traffic Mirror target.

  • virtualNetworkId :: Maybe Int

    The virtual network ID associated with the Traffic Mirror session.

Instances

Instances details
FromXML TrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorSession

Generic TrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorSession

Associated Types

type Rep TrafficMirrorSession :: Type -> Type #

Read TrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorSession

Show TrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorSession

NFData TrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorSession

Methods

rnf :: TrafficMirrorSession -> () #

Eq TrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorSession

Hashable TrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorSession

type Rep TrafficMirrorSession Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorSession

type Rep TrafficMirrorSession = D1 ('MetaData "TrafficMirrorSession" "Amazonka.EC2.Types.TrafficMirrorSession" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TrafficMirrorSession'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ownerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "packetLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "sessionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "trafficMirrorFilterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "trafficMirrorSessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "trafficMirrorTargetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "virtualNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))))

newTrafficMirrorSession :: TrafficMirrorSession Source #

Create a value of TrafficMirrorSession with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:description:TrafficMirrorSession', trafficMirrorSession_description - The description of the Traffic Mirror session.

$sel:networkInterfaceId:TrafficMirrorSession', trafficMirrorSession_networkInterfaceId - The ID of the Traffic Mirror session's network interface.

$sel:ownerId:TrafficMirrorSession', trafficMirrorSession_ownerId - The ID of the account that owns the Traffic Mirror session.

$sel:packetLength:TrafficMirrorSession', trafficMirrorSession_packetLength - 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

$sel:sessionNumber:TrafficMirrorSession', trafficMirrorSession_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.

Valid values are 1-32766.

$sel:tags:TrafficMirrorSession', trafficMirrorSession_tags - The tags assigned to the Traffic Mirror session.

$sel:trafficMirrorFilterId:TrafficMirrorSession', trafficMirrorSession_trafficMirrorFilterId - The ID of the Traffic Mirror filter.

$sel:trafficMirrorSessionId:TrafficMirrorSession', trafficMirrorSession_trafficMirrorSessionId - The ID for the Traffic Mirror session.

$sel:trafficMirrorTargetId:TrafficMirrorSession', trafficMirrorSession_trafficMirrorTargetId - The ID of the Traffic Mirror target.

$sel:virtualNetworkId:TrafficMirrorSession', trafficMirrorSession_virtualNetworkId - The virtual network ID associated with the Traffic Mirror session.

trafficMirrorSession_description :: Lens' TrafficMirrorSession (Maybe Text) Source #

The description of the Traffic Mirror session.

trafficMirrorSession_networkInterfaceId :: Lens' TrafficMirrorSession (Maybe Text) Source #

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

trafficMirrorSession_ownerId :: Lens' TrafficMirrorSession (Maybe Text) Source #

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

trafficMirrorSession_packetLength :: Lens' TrafficMirrorSession (Maybe Int) Source #

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

trafficMirrorSession_sessionNumber :: Lens' TrafficMirrorSession (Maybe Int) Source #

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.

trafficMirrorSession_tags :: Lens' TrafficMirrorSession (Maybe [Tag]) Source #

The tags assigned to the Traffic Mirror session.

trafficMirrorSession_virtualNetworkId :: Lens' TrafficMirrorSession (Maybe Int) Source #

The virtual network ID associated with the Traffic Mirror session.