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

Description

 
Synopsis

Documentation

data Firewall Source #

The firewall defines the configuration settings for an AWS Network Firewall firewall. These settings include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource.

The status of the firewall, for example whether it's ready to filter network traffic, is provided in the corresponding FirewallStatus. You can retrieve both objects by calling DescribeFirewall.

See: newFirewall smart constructor.

Constructors

Firewall' 

Fields

  • firewallArn :: Maybe Text

    The Amazon Resource Name (ARN) of the firewall.

  • firewallPolicyChangeProtection :: Maybe Bool

    A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

  • subnetChangeProtection :: Maybe Bool

    A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

  • deleteProtection :: Maybe Bool

    A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

  • description :: Maybe Text

    A description of the firewall.

  • tags :: Maybe (NonEmpty Tag)
     
  • firewallName :: Maybe Text

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

  • firewallPolicyArn :: Text

    The Amazon Resource Name (ARN) of the firewall policy.

    The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

  • vpcId :: Text

    The unique identifier of the VPC where the firewall is in use.

  • subnetMappings :: [SubnetMapping]

    The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

  • firewallId :: Text

    The unique identifier for the firewall.

Instances

Instances details
Eq Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Read Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Show Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Generic Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Associated Types

type Rep Firewall :: Type -> Type #

Methods

from :: Firewall -> Rep Firewall x #

to :: Rep Firewall x -> Firewall #

NFData Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Methods

rnf :: Firewall -> () #

Hashable Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Methods

hashWithSalt :: Int -> Firewall -> Int #

hash :: Firewall -> Int #

FromJSON Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

type Rep Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

type Rep Firewall = D1 ('MetaData "Firewall" "Amazonka.NetworkFirewall.Types.Firewall" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "Firewall'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "firewallArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firewallPolicyChangeProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "subnetChangeProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "deleteProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))) :*: (S1 ('MetaSel ('Just "firewallName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firewallPolicyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "subnetMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SubnetMapping]) :*: S1 ('MetaSel ('Just "firewallId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newFirewall Source #

Create a value of Firewall 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:firewallArn:Firewall', firewall_firewallArn - The Amazon Resource Name (ARN) of the firewall.

$sel:firewallPolicyChangeProtection:Firewall', firewall_firewallPolicyChangeProtection - A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

$sel:subnetChangeProtection:Firewall', firewall_subnetChangeProtection - A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

$sel:deleteProtection:Firewall', firewall_deleteProtection - A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

$sel:description:Firewall', firewall_description - A description of the firewall.

$sel:tags:Firewall', firewall_tags -

$sel:firewallName:Firewall', firewall_firewallName - The descriptive name of the firewall. You can't change the name of a firewall after you create it.

$sel:firewallPolicyArn:Firewall', firewall_firewallPolicyArn - The Amazon Resource Name (ARN) of the firewall policy.

The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

$sel:vpcId:Firewall', firewall_vpcId - The unique identifier of the VPC where the firewall is in use.

$sel:subnetMappings:Firewall', firewall_subnetMappings - The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

$sel:firewallId:Firewall', firewall_firewallId - The unique identifier for the firewall.

firewall_firewallArn :: Lens' Firewall (Maybe Text) Source #

The Amazon Resource Name (ARN) of the firewall.

firewall_firewallPolicyChangeProtection :: Lens' Firewall (Maybe Bool) Source #

A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

firewall_subnetChangeProtection :: Lens' Firewall (Maybe Bool) Source #

A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

firewall_deleteProtection :: Lens' Firewall (Maybe Bool) Source #

A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

firewall_description :: Lens' Firewall (Maybe Text) Source #

A description of the firewall.

firewall_firewallName :: Lens' Firewall (Maybe Text) Source #

The descriptive name of the firewall. You can't change the name of a firewall after you create it.

firewall_firewallPolicyArn :: Lens' Firewall Text Source #

The Amazon Resource Name (ARN) of the firewall policy.

The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

firewall_vpcId :: Lens' Firewall Text Source #

The unique identifier of the VPC where the firewall is in use.

firewall_subnetMappings :: Lens' Firewall [SubnetMapping] Source #

The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

firewall_firewallId :: Lens' Firewall Text Source #

The unique identifier for the firewall.