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.RuleVariables

Description

 
Synopsis

Documentation

data RuleVariables Source #

Settings that are available for use in the rules in the RuleGroup where this is defined.

See: newRuleVariables smart constructor.

Constructors

RuleVariables' 

Fields

Instances

Instances details
Eq RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Read RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Show RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Generic RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Associated Types

type Rep RuleVariables :: Type -> Type #

NFData RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Methods

rnf :: RuleVariables -> () #

Hashable RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

ToJSON RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

FromJSON RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

type Rep RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

type Rep RuleVariables = D1 ('MetaData "RuleVariables" "Amazonka.NetworkFirewall.Types.RuleVariables" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "RuleVariables'" 'PrefixI 'True) (S1 ('MetaSel ('Just "portSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text PortSet))) :*: S1 ('MetaSel ('Just "iPSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text IPSet)))))

newRuleVariables :: RuleVariables Source #

Create a value of RuleVariables 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:portSets:RuleVariables', ruleVariables_portSets - A list of port ranges.

$sel:iPSets:RuleVariables', ruleVariables_iPSets - A list of IP addresses and address ranges, in CIDR notation.

ruleVariables_iPSets :: Lens' RuleVariables (Maybe (HashMap Text IPSet)) Source #

A list of IP addresses and address ranges, in CIDR notation.