amazonka-network-firewall-2.0: Amazon Network Firewall SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.NetworkFirewall.Types.SubnetMapping

Description

 
Synopsis

Documentation

data SubnetMapping Source #

The ID for a subnet that you want to associate with the firewall. This is used with CreateFirewall and AssociateSubnets. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.

See: newSubnetMapping smart constructor.

Constructors

SubnetMapping' 

Fields

Instances

Instances details
FromJSON SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

ToJSON SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Generic SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Associated Types

type Rep SubnetMapping :: Type -> Type #

Read SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Show SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

NFData SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Methods

rnf :: SubnetMapping -> () #

Eq SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Hashable SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

type Rep SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

type Rep SubnetMapping = D1 ('MetaData "SubnetMapping" "Amazonka.NetworkFirewall.Types.SubnetMapping" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "SubnetMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSubnetMapping Source #

Create a value of SubnetMapping 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:subnetId:SubnetMapping', subnetMapping_subnetId - The unique identifier for the subnet.

subnetMapping_subnetId :: Lens' SubnetMapping Text Source #

The unique identifier for the subnet.