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 PortSet = PortSet' {
- definition :: Maybe [Text]
- newPortSet :: PortSet
- portSet_definition :: Lens' PortSet (Maybe [Text])
Documentation
A set of port ranges for use in the rules in a rule group.
See: newPortSet
smart constructor.
PortSet' | |
|
Instances
Eq PortSet Source # | |
Read PortSet Source # | |
Show PortSet Source # | |
Generic PortSet Source # | |
NFData PortSet Source # | |
Defined in Amazonka.NetworkFirewall.Types.PortSet | |
Hashable PortSet Source # | |
Defined in Amazonka.NetworkFirewall.Types.PortSet | |
ToJSON PortSet Source # | |
Defined in Amazonka.NetworkFirewall.Types.PortSet | |
FromJSON PortSet Source # | |
type Rep PortSet Source # | |
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.