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