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.TrafficMirrorPortRange

Description

 
Synopsis

Documentation

data TrafficMirrorPortRange Source #

Describes the Traffic Mirror port range.

See: newTrafficMirrorPortRange smart constructor.

Constructors

TrafficMirrorPortRange' 

Fields

  • fromPort :: Maybe Int

    The start of the Traffic Mirror port range. This applies to the TCP and UDP protocols.

  • toPort :: Maybe Int

    The end of the Traffic Mirror port range. This applies to the TCP and UDP protocols.

Instances

Instances details
FromXML TrafficMirrorPortRange Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRange

Generic TrafficMirrorPortRange Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRange

Associated Types

type Rep TrafficMirrorPortRange :: Type -> Type #

Read TrafficMirrorPortRange Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRange

Show TrafficMirrorPortRange Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRange

NFData TrafficMirrorPortRange Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRange

Methods

rnf :: TrafficMirrorPortRange -> () #

Eq TrafficMirrorPortRange Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRange

Hashable TrafficMirrorPortRange Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRange

type Rep TrafficMirrorPortRange Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRange

type Rep TrafficMirrorPortRange = D1 ('MetaData "TrafficMirrorPortRange" "Amazonka.EC2.Types.TrafficMirrorPortRange" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TrafficMirrorPortRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "toPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newTrafficMirrorPortRange :: TrafficMirrorPortRange Source #

Create a value of TrafficMirrorPortRange 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:fromPort:TrafficMirrorPortRange', trafficMirrorPortRange_fromPort - The start of the Traffic Mirror port range. This applies to the TCP and UDP protocols.

$sel:toPort:TrafficMirrorPortRange', trafficMirrorPortRange_toPort - The end of the Traffic Mirror port range. This applies to the TCP and UDP protocols.

trafficMirrorPortRange_fromPort :: Lens' TrafficMirrorPortRange (Maybe Int) Source #

The start of the Traffic Mirror port range. This applies to the TCP and UDP protocols.

trafficMirrorPortRange_toPort :: Lens' TrafficMirrorPortRange (Maybe Int) Source #

The end of the Traffic Mirror port range. This applies to the TCP and UDP protocols.