amazonka-emr-2.0: Amazon EMR 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.EMR.Types.PortRange

Description

 
Synopsis

Documentation

data PortRange Source #

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' 

Fields

  • maxRange :: Maybe Int

    The smallest port number in a specified range of port numbers.

  • minRange :: Int

    The smallest port number in a specified range of port numbers.

Instances

Instances details
FromJSON PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

ToJSON PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

Generic PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

Associated Types

type Rep PortRange :: Type -> Type #

Read PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

Show PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

NFData PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

Methods

rnf :: PortRange -> () #

Eq PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

Hashable PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

type Rep PortRange Source # 
Instance details

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)))

newPortRange Source #

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.

portRange_maxRange :: Lens' PortRange (Maybe Int) Source #

The smallest port number in a specified range of port numbers.

portRange_minRange :: Lens' PortRange Int Source #

The smallest port number in a specified range of port numbers.