module Stratosphere.WAFv2.WebACL.JA4FingerprintProperty (
JA4FingerprintProperty(..), mkJA4FingerprintProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data JA4FingerprintProperty
=
JA4FingerprintProperty {JA4FingerprintProperty -> ()
haddock_workaround_ :: (),
JA4FingerprintProperty -> Value Text
fallbackBehavior :: (Value Prelude.Text)}
deriving stock (JA4FingerprintProperty -> JA4FingerprintProperty -> Bool
(JA4FingerprintProperty -> JA4FingerprintProperty -> Bool)
-> (JA4FingerprintProperty -> JA4FingerprintProperty -> Bool)
-> Eq JA4FingerprintProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: JA4FingerprintProperty -> JA4FingerprintProperty -> Bool
== :: JA4FingerprintProperty -> JA4FingerprintProperty -> Bool
$c/= :: JA4FingerprintProperty -> JA4FingerprintProperty -> Bool
/= :: JA4FingerprintProperty -> JA4FingerprintProperty -> Bool
Prelude.Eq, Int -> JA4FingerprintProperty -> ShowS
[JA4FingerprintProperty] -> ShowS
JA4FingerprintProperty -> String
(Int -> JA4FingerprintProperty -> ShowS)
-> (JA4FingerprintProperty -> String)
-> ([JA4FingerprintProperty] -> ShowS)
-> Show JA4FingerprintProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> JA4FingerprintProperty -> ShowS
showsPrec :: Int -> JA4FingerprintProperty -> ShowS
$cshow :: JA4FingerprintProperty -> String
show :: JA4FingerprintProperty -> String
$cshowList :: [JA4FingerprintProperty] -> ShowS
showList :: [JA4FingerprintProperty] -> ShowS
Prelude.Show)
mkJA4FingerprintProperty ::
Value Prelude.Text -> JA4FingerprintProperty
mkJA4FingerprintProperty :: Value Text -> JA4FingerprintProperty
mkJA4FingerprintProperty Value Text
fallbackBehavior
= JA4FingerprintProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), fallbackBehavior :: Value Text
fallbackBehavior = Value Text
fallbackBehavior}
instance ToResourceProperties JA4FingerprintProperty where
toResourceProperties :: JA4FingerprintProperty -> ResourceProperties
toResourceProperties JA4FingerprintProperty {()
Value Text
haddock_workaround_ :: JA4FingerprintProperty -> ()
fallbackBehavior :: JA4FingerprintProperty -> Value Text
haddock_workaround_ :: ()
fallbackBehavior :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::WAFv2::WebACL.JA4Fingerprint",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"FallbackBehavior" 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
fallbackBehavior]}
instance JSON.ToJSON JA4FingerprintProperty where
toJSON :: JA4FingerprintProperty -> Value
toJSON JA4FingerprintProperty {()
Value Text
haddock_workaround_ :: JA4FingerprintProperty -> ()
fallbackBehavior :: JA4FingerprintProperty -> Value Text
haddock_workaround_ :: ()
fallbackBehavior :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object [Key
"FallbackBehavior" 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
fallbackBehavior]
instance Property "FallbackBehavior" JA4FingerprintProperty where
type PropertyType "FallbackBehavior" JA4FingerprintProperty = Value Prelude.Text
set :: PropertyType "FallbackBehavior" JA4FingerprintProperty
-> JA4FingerprintProperty -> JA4FingerprintProperty
set PropertyType "FallbackBehavior" JA4FingerprintProperty
newValue JA4FingerprintProperty {()
Value Text
haddock_workaround_ :: JA4FingerprintProperty -> ()
fallbackBehavior :: JA4FingerprintProperty -> Value Text
haddock_workaround_ :: ()
fallbackBehavior :: Value Text
..}
= JA4FingerprintProperty {fallbackBehavior :: Value Text
fallbackBehavior = PropertyType "FallbackBehavior" JA4FingerprintProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}