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

Description

 
Synopsis

Documentation

data Address Source #

A single IP address specification. This is used in the MatchAttributes source and destination specifications.

See: newAddress smart constructor.

Constructors

Address' 

Fields

  • addressDefinition :: Text

    Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

    Examples:

    • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
    • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

    For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Instances

Instances details
Eq Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Methods

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

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

Read Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Show Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Generic Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Associated Types

type Rep Address :: Type -> Type #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

NFData Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Methods

rnf :: Address -> () #

Hashable Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Methods

hashWithSalt :: Int -> Address -> Int #

hash :: Address -> Int #

ToJSON Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

FromJSON Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

type Rep Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

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

newAddress Source #

Create a value of Address 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:addressDefinition:Address', address_addressDefinition - Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

address_addressDefinition :: Lens' Address Text Source #

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.