| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EMR.Types.PortRange
Description
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.
Constructors
| PortRange' | |
Instances
| FromJSON PortRange Source # | |
| ToJSON PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange | |
| Generic PortRange Source # | |
| Read PortRange Source # | |
| Show PortRange Source # | |
| NFData PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange | |
| Eq PortRange Source # | |
| Hashable PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange | |
| type Rep PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange type Rep PortRange = D1 ('MetaData "PortRange" "Amazonka.EMR.Types.PortRange" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" '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.