libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall
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.NetworkFirewall.Types.PortSet

Description

 
Synopsis

Documentation

data PortSet Source #

A set of port ranges for use in the rules in a rule group.

See: newPortSet smart constructor.

Constructors

PortSet' 

Fields

Instances

Instances details
Eq PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Methods

(==) :: PortSet -> PortSet -> Bool #

(/=) :: PortSet -> PortSet -> Bool #

Read PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Show PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Generic PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Associated Types

type Rep PortSet :: Type -> Type #

Methods

from :: PortSet -> Rep PortSet x #

to :: Rep PortSet x -> PortSet #

NFData PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Methods

rnf :: PortSet -> () #

Hashable PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Methods

hashWithSalt :: Int -> PortSet -> Int #

hash :: PortSet -> Int #

ToJSON PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

FromJSON PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

type Rep PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

type Rep PortSet = D1 ('MetaData "PortSet" "Amazonka.NetworkFirewall.Types.PortSet" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "PortSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newPortSet :: PortSet Source #

Create a value of PortSet 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:definition:PortSet', portSet_definition - The set of port ranges.

portSet_definition :: Lens' PortSet (Maybe [Text]) Source #

The set of port ranges.