module Stratosphere.WAFv2.WebACL.JA3FingerprintProperty (
        JA3FingerprintProperty(..), mkJA3FingerprintProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data JA3FingerprintProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ja3fingerprint.html>
    JA3FingerprintProperty {JA3FingerprintProperty -> ()
haddock_workaround_ :: (),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ja3fingerprint.html#cfn-wafv2-webacl-ja3fingerprint-fallbackbehavior>
                            JA3FingerprintProperty -> Value Text
fallbackBehavior :: (Value Prelude.Text)}
  deriving stock (JA3FingerprintProperty -> JA3FingerprintProperty -> Bool
(JA3FingerprintProperty -> JA3FingerprintProperty -> Bool)
-> (JA3FingerprintProperty -> JA3FingerprintProperty -> Bool)
-> Eq JA3FingerprintProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: JA3FingerprintProperty -> JA3FingerprintProperty -> Bool
== :: JA3FingerprintProperty -> JA3FingerprintProperty -> Bool
$c/= :: JA3FingerprintProperty -> JA3FingerprintProperty -> Bool
/= :: JA3FingerprintProperty -> JA3FingerprintProperty -> Bool
Prelude.Eq, Int -> JA3FingerprintProperty -> ShowS
[JA3FingerprintProperty] -> ShowS
JA3FingerprintProperty -> String
(Int -> JA3FingerprintProperty -> ShowS)
-> (JA3FingerprintProperty -> String)
-> ([JA3FingerprintProperty] -> ShowS)
-> Show JA3FingerprintProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> JA3FingerprintProperty -> ShowS
showsPrec :: Int -> JA3FingerprintProperty -> ShowS
$cshow :: JA3FingerprintProperty -> String
show :: JA3FingerprintProperty -> String
$cshowList :: [JA3FingerprintProperty] -> ShowS
showList :: [JA3FingerprintProperty] -> ShowS
Prelude.Show)
mkJA3FingerprintProperty ::
  Value Prelude.Text -> JA3FingerprintProperty
mkJA3FingerprintProperty :: Value Text -> JA3FingerprintProperty
mkJA3FingerprintProperty Value Text
fallbackBehavior
  = JA3FingerprintProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), fallbackBehavior :: Value Text
fallbackBehavior = Value Text
fallbackBehavior}
instance ToResourceProperties JA3FingerprintProperty where
  toResourceProperties :: JA3FingerprintProperty -> ResourceProperties
toResourceProperties JA3FingerprintProperty {()
Value Text
haddock_workaround_ :: JA3FingerprintProperty -> ()
fallbackBehavior :: JA3FingerprintProperty -> Value Text
haddock_workaround_ :: ()
fallbackBehavior :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::WAFv2::WebACL.JA3Fingerprint",
         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 JA3FingerprintProperty where
  toJSON :: JA3FingerprintProperty -> Value
toJSON JA3FingerprintProperty {()
Value Text
haddock_workaround_ :: JA3FingerprintProperty -> ()
fallbackBehavior :: JA3FingerprintProperty -> 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" JA3FingerprintProperty where
  type PropertyType "FallbackBehavior" JA3FingerprintProperty = Value Prelude.Text
  set :: PropertyType "FallbackBehavior" JA3FingerprintProperty
-> JA3FingerprintProperty -> JA3FingerprintProperty
set PropertyType "FallbackBehavior" JA3FingerprintProperty
newValue JA3FingerprintProperty {()
Value Text
haddock_workaround_ :: JA3FingerprintProperty -> ()
fallbackBehavior :: JA3FingerprintProperty -> Value Text
haddock_workaround_ :: ()
fallbackBehavior :: Value Text
..}
    = JA3FingerprintProperty {fallbackBehavior :: Value Text
fallbackBehavior = PropertyType "FallbackBehavior" JA3FingerprintProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}