module Stratosphere.NetworkFirewall.Firewall (
module Exports, Firewall(..), mkFirewall
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.NetworkFirewall.Firewall.AvailabilityZoneMappingProperty as Exports
import {-# SOURCE #-} Stratosphere.NetworkFirewall.Firewall.SubnetMappingProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Firewall
=
Firewall {Firewall -> ()
haddock_workaround_ :: (),
Firewall -> Maybe (Value Bool)
availabilityZoneChangeProtection :: (Prelude.Maybe (Value Prelude.Bool)),
Firewall -> Maybe [AvailabilityZoneMappingProperty]
availabilityZoneMappings :: (Prelude.Maybe [AvailabilityZoneMappingProperty]),
Firewall -> Maybe (Value Bool)
deleteProtection :: (Prelude.Maybe (Value Prelude.Bool)),
Firewall -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
Firewall -> Maybe (ValueList Text)
enabledAnalysisTypes :: (Prelude.Maybe (ValueList Prelude.Text)),
Firewall -> Value Text
firewallName :: (Value Prelude.Text),
Firewall -> Value Text
firewallPolicyArn :: (Value Prelude.Text),
Firewall -> Maybe (Value Bool)
firewallPolicyChangeProtection :: (Prelude.Maybe (Value Prelude.Bool)),
Firewall -> Maybe (Value Bool)
subnetChangeProtection :: (Prelude.Maybe (Value Prelude.Bool)),
Firewall -> Maybe [SubnetMappingProperty]
subnetMappings :: (Prelude.Maybe [SubnetMappingProperty]),
Firewall -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
Firewall -> Maybe (Value Text)
transitGatewayId :: (Prelude.Maybe (Value Prelude.Text)),
Firewall -> Maybe (Value Text)
vpcId :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (Firewall -> Firewall -> Bool
(Firewall -> Firewall -> Bool)
-> (Firewall -> Firewall -> Bool) -> Eq Firewall
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Firewall -> Firewall -> Bool
== :: Firewall -> Firewall -> Bool
$c/= :: Firewall -> Firewall -> Bool
/= :: Firewall -> Firewall -> Bool
Prelude.Eq, Int -> Firewall -> ShowS
[Firewall] -> ShowS
Firewall -> String
(Int -> Firewall -> ShowS)
-> (Firewall -> String) -> ([Firewall] -> ShowS) -> Show Firewall
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Firewall -> ShowS
showsPrec :: Int -> Firewall -> ShowS
$cshow :: Firewall -> String
show :: Firewall -> String
$cshowList :: [Firewall] -> ShowS
showList :: [Firewall] -> ShowS
Prelude.Show)
mkFirewall :: Value Prelude.Text -> Value Prelude.Text -> Firewall
mkFirewall :: Value Text -> Value Text -> Firewall
mkFirewall Value Text
firewallName Value Text
firewallPolicyArn
= Firewall
{haddock_workaround_ :: ()
haddock_workaround_ = (), firewallName :: Value Text
firewallName = Value Text
firewallName,
firewallPolicyArn :: Value Text
firewallPolicyArn = Value Text
firewallPolicyArn,
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneChangeProtection = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
availabilityZoneMappings = Maybe [AvailabilityZoneMappingProperty]
forall a. Maybe a
Prelude.Nothing,
deleteProtection :: Maybe (Value Bool)
deleteProtection = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
enabledAnalysisTypes :: Maybe (ValueList Text)
enabledAnalysisTypes = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
firewallPolicyChangeProtection :: Maybe (Value Bool)
firewallPolicyChangeProtection = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
subnetChangeProtection :: Maybe (Value Bool)
subnetChangeProtection = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
subnetMappings :: Maybe [SubnetMappingProperty]
subnetMappings = Maybe [SubnetMappingProperty]
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
transitGatewayId :: Maybe (Value Text)
transitGatewayId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, vpcId :: Maybe (Value Text)
vpcId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Firewall where
toResourceProperties :: Firewall -> ResourceProperties
toResourceProperties Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::NetworkFirewall::Firewall",
supportsTags :: Bool
supportsTags = Bool
Prelude.True,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"FirewallName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
firewallName,
Key
"FirewallPolicyArn" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
firewallPolicyArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AvailabilityZoneChangeProtection"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
availabilityZoneChangeProtection,
Key -> [AvailabilityZoneMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AvailabilityZoneMappings"
([AvailabilityZoneMappingProperty] -> (Key, Value))
-> Maybe [AvailabilityZoneMappingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AvailabilityZoneMappingProperty]
availabilityZoneMappings,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeleteProtection" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deleteProtection,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnabledAnalysisTypes" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
enabledAnalysisTypes,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FirewallPolicyChangeProtection"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
firewallPolicyChangeProtection,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubnetChangeProtection"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
subnetChangeProtection,
Key -> [SubnetMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubnetMappings" ([SubnetMappingProperty] -> (Key, Value))
-> Maybe [SubnetMappingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SubnetMappingProperty]
subnetMappings,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TransitGatewayId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
transitGatewayId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
vpcId]))}
instance JSON.ToJSON Firewall where
toJSON :: Firewall -> Value
toJSON Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"FirewallName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
firewallName,
Key
"FirewallPolicyArn" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
firewallPolicyArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AvailabilityZoneChangeProtection"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
availabilityZoneChangeProtection,
Key -> [AvailabilityZoneMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AvailabilityZoneMappings"
([AvailabilityZoneMappingProperty] -> (Key, Value))
-> Maybe [AvailabilityZoneMappingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AvailabilityZoneMappingProperty]
availabilityZoneMappings,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeleteProtection" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deleteProtection,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnabledAnalysisTypes" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
enabledAnalysisTypes,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FirewallPolicyChangeProtection"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
firewallPolicyChangeProtection,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubnetChangeProtection"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
subnetChangeProtection,
Key -> [SubnetMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubnetMappings" ([SubnetMappingProperty] -> (Key, Value))
-> Maybe [SubnetMappingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SubnetMappingProperty]
subnetMappings,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TransitGatewayId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
transitGatewayId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
vpcId])))
instance Property "AvailabilityZoneChangeProtection" Firewall where
type PropertyType "AvailabilityZoneChangeProtection" Firewall = Value Prelude.Bool
set :: PropertyType "AvailabilityZoneChangeProtection" Firewall
-> Firewall -> Firewall
set PropertyType "AvailabilityZoneChangeProtection" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall
{availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneChangeProtection = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AvailabilityZoneChangeProtection" Firewall
Value Bool
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "AvailabilityZoneMappings" Firewall where
type PropertyType "AvailabilityZoneMappings" Firewall = [AvailabilityZoneMappingProperty]
set :: PropertyType "AvailabilityZoneMappings" Firewall
-> Firewall -> Firewall
set PropertyType "AvailabilityZoneMappings" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
availabilityZoneMappings = [AvailabilityZoneMappingProperty]
-> Maybe [AvailabilityZoneMappingProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [AvailabilityZoneMappingProperty]
PropertyType "AvailabilityZoneMappings" Firewall
newValue, Maybe [Tag]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "DeleteProtection" Firewall where
type PropertyType "DeleteProtection" Firewall = Value Prelude.Bool
set :: PropertyType "DeleteProtection" Firewall -> Firewall -> Firewall
set PropertyType "DeleteProtection" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {deleteProtection :: Maybe (Value Bool)
deleteProtection = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeleteProtection" Firewall
Value Bool
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "Description" Firewall where
type PropertyType "Description" Firewall = Value Prelude.Text
set :: PropertyType "Description" Firewall -> Firewall -> Firewall
set PropertyType "Description" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" Firewall
Value Text
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "EnabledAnalysisTypes" Firewall where
type PropertyType "EnabledAnalysisTypes" Firewall = ValueList Prelude.Text
set :: PropertyType "EnabledAnalysisTypes" Firewall
-> Firewall -> Firewall
set PropertyType "EnabledAnalysisTypes" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {enabledAnalysisTypes :: Maybe (ValueList Text)
enabledAnalysisTypes = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnabledAnalysisTypes" Firewall
ValueList Text
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "FirewallName" Firewall where
type PropertyType "FirewallName" Firewall = Value Prelude.Text
set :: PropertyType "FirewallName" Firewall -> Firewall -> Firewall
set PropertyType "FirewallName" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..} = Firewall {firewallName :: Value Text
firewallName = PropertyType "FirewallName" Firewall
Value Text
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "FirewallPolicyArn" Firewall where
type PropertyType "FirewallPolicyArn" Firewall = Value Prelude.Text
set :: PropertyType "FirewallPolicyArn" Firewall -> Firewall -> Firewall
set PropertyType "FirewallPolicyArn" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {firewallPolicyArn :: Value Text
firewallPolicyArn = PropertyType "FirewallPolicyArn" Firewall
Value Text
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "FirewallPolicyChangeProtection" Firewall where
type PropertyType "FirewallPolicyChangeProtection" Firewall = Value Prelude.Bool
set :: PropertyType "FirewallPolicyChangeProtection" Firewall
-> Firewall -> Firewall
set PropertyType "FirewallPolicyChangeProtection" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall
{firewallPolicyChangeProtection :: Maybe (Value Bool)
firewallPolicyChangeProtection = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FirewallPolicyChangeProtection" Firewall
Value Bool
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "SubnetChangeProtection" Firewall where
type PropertyType "SubnetChangeProtection" Firewall = Value Prelude.Bool
set :: PropertyType "SubnetChangeProtection" Firewall
-> Firewall -> Firewall
set PropertyType "SubnetChangeProtection" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {subnetChangeProtection :: Maybe (Value Bool)
subnetChangeProtection = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SubnetChangeProtection" Firewall
Value Bool
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "SubnetMappings" Firewall where
type PropertyType "SubnetMappings" Firewall = [SubnetMappingProperty]
set :: PropertyType "SubnetMappings" Firewall -> Firewall -> Firewall
set PropertyType "SubnetMappings" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {subnetMappings :: Maybe [SubnetMappingProperty]
subnetMappings = [SubnetMappingProperty] -> Maybe [SubnetMappingProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [SubnetMappingProperty]
PropertyType "SubnetMappings" Firewall
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "Tags" Firewall where
type PropertyType "Tags" Firewall = [Tag]
set :: PropertyType "Tags" Firewall -> Firewall -> Firewall
set PropertyType "Tags" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Firewall
newValue, Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "TransitGatewayId" Firewall where
type PropertyType "TransitGatewayId" Firewall = Value Prelude.Text
set :: PropertyType "TransitGatewayId" Firewall -> Firewall -> Firewall
set PropertyType "TransitGatewayId" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {transitGatewayId :: Maybe (Value Text)
transitGatewayId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TransitGatewayId" Firewall
Value Text
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "VpcId" Firewall where
type PropertyType "VpcId" Firewall = Value Prelude.Text
set :: PropertyType "VpcId" Firewall -> Firewall -> Firewall
set PropertyType "VpcId" Firewall
newValue Firewall {Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Firewall -> ()
availabilityZoneChangeProtection :: Firewall -> Maybe (Value Bool)
availabilityZoneMappings :: Firewall -> Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Firewall -> Maybe (Value Bool)
description :: Firewall -> Maybe (Value Text)
enabledAnalysisTypes :: Firewall -> Maybe (ValueList Text)
firewallName :: Firewall -> Value Text
firewallPolicyArn :: Firewall -> Value Text
firewallPolicyChangeProtection :: Firewall -> Maybe (Value Bool)
subnetChangeProtection :: Firewall -> Maybe (Value Bool)
subnetMappings :: Firewall -> Maybe [SubnetMappingProperty]
tags :: Firewall -> Maybe [Tag]
transitGatewayId :: Firewall -> Maybe (Value Text)
vpcId :: Firewall -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
= Firewall {vpcId :: Maybe (Value Text)
vpcId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VpcId" Firewall
Value Text
newValue, Maybe [Tag]
Maybe [AvailabilityZoneMappingProperty]
Maybe [SubnetMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneChangeProtection :: Maybe (Value Bool)
availabilityZoneMappings :: Maybe [AvailabilityZoneMappingProperty]
deleteProtection :: Maybe (Value Bool)
description :: Maybe (Value Text)
enabledAnalysisTypes :: Maybe (ValueList Text)
firewallName :: Value Text
firewallPolicyArn :: Value Text
firewallPolicyChangeProtection :: Maybe (Value Bool)
subnetChangeProtection :: Maybe (Value Bool)
subnetMappings :: Maybe [SubnetMappingProperty]
tags :: Maybe [Tag]
transitGatewayId :: Maybe (Value Text)
..}