Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PortRange = PortRange' {}
- newPortRange :: Int -> PortRange
- portRange_maxRange :: Lens' PortRange (Maybe Int)
- portRange_minRange :: Lens' PortRange Int
Documentation
A list of port ranges that are permitted to allow inbound traffic from
all public IP addresses. To specify a single port, use the same value
for MinRange
and MaxRange
.
See: newPortRange
smart constructor.
Instances
Eq PortRange Source # | |
Read PortRange Source # | |
Show PortRange Source # | |
Generic PortRange Source # | |
NFData PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange | |
Hashable PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange | |
ToJSON PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange | |
FromJSON PortRange Source # | |
type Rep PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange type Rep PortRange = D1 ('MetaData "PortRange" "Amazonka.EMR.Types.PortRange" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "PortRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "minRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
Create a value of PortRange
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:maxRange:PortRange'
, portRange_maxRange
- The smallest port number in a specified range of port numbers.
$sel:minRange:PortRange'
, portRange_minRange
- The smallest port number in a specified range of port numbers.