libZSservicesZSamazonka-emrZSamazonka-emr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

Read PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

Show 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 #

NFData PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

Methods

rnf :: PortRange -> () #

Hashable PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

ToJSON PortRange Source # 
Instance details

Defined in Amazonka.EMR.Types.PortRange

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

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.