module Stratosphere.KinesisAnalyticsV2.Application.InputLambdaProcessorProperty (
        InputLambdaProcessorProperty(..), mkInputLambdaProcessorProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data InputLambdaProcessorProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputlambdaprocessor.html>
    InputLambdaProcessorProperty {InputLambdaProcessorProperty -> ()
haddock_workaround_ :: (),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputlambdaprocessor.html#cfn-kinesisanalyticsv2-application-inputlambdaprocessor-resourcearn>
                                  InputLambdaProcessorProperty -> Value Text
resourceARN :: (Value Prelude.Text)}
  deriving stock (InputLambdaProcessorProperty
-> InputLambdaProcessorProperty -> Bool
(InputLambdaProcessorProperty
 -> InputLambdaProcessorProperty -> Bool)
-> (InputLambdaProcessorProperty
    -> InputLambdaProcessorProperty -> Bool)
-> Eq InputLambdaProcessorProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InputLambdaProcessorProperty
-> InputLambdaProcessorProperty -> Bool
== :: InputLambdaProcessorProperty
-> InputLambdaProcessorProperty -> Bool
$c/= :: InputLambdaProcessorProperty
-> InputLambdaProcessorProperty -> Bool
/= :: InputLambdaProcessorProperty
-> InputLambdaProcessorProperty -> Bool
Prelude.Eq, Int -> InputLambdaProcessorProperty -> ShowS
[InputLambdaProcessorProperty] -> ShowS
InputLambdaProcessorProperty -> String
(Int -> InputLambdaProcessorProperty -> ShowS)
-> (InputLambdaProcessorProperty -> String)
-> ([InputLambdaProcessorProperty] -> ShowS)
-> Show InputLambdaProcessorProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InputLambdaProcessorProperty -> ShowS
showsPrec :: Int -> InputLambdaProcessorProperty -> ShowS
$cshow :: InputLambdaProcessorProperty -> String
show :: InputLambdaProcessorProperty -> String
$cshowList :: [InputLambdaProcessorProperty] -> ShowS
showList :: [InputLambdaProcessorProperty] -> ShowS
Prelude.Show)
mkInputLambdaProcessorProperty ::
  Value Prelude.Text -> InputLambdaProcessorProperty
mkInputLambdaProcessorProperty :: Value Text -> InputLambdaProcessorProperty
mkInputLambdaProcessorProperty Value Text
resourceARN
  = InputLambdaProcessorProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), resourceARN :: Value Text
resourceARN = Value Text
resourceARN}
instance ToResourceProperties InputLambdaProcessorProperty where
  toResourceProperties :: InputLambdaProcessorProperty -> ResourceProperties
toResourceProperties InputLambdaProcessorProperty {()
Value Text
haddock_workaround_ :: InputLambdaProcessorProperty -> ()
resourceARN :: InputLambdaProcessorProperty -> Value Text
haddock_workaround_ :: ()
resourceARN :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"ResourceARN" 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
resourceARN]}
instance JSON.ToJSON InputLambdaProcessorProperty where
  toJSON :: InputLambdaProcessorProperty -> Value
toJSON InputLambdaProcessorProperty {()
Value Text
haddock_workaround_ :: InputLambdaProcessorProperty -> ()
resourceARN :: InputLambdaProcessorProperty -> Value Text
haddock_workaround_ :: ()
resourceARN :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"ResourceARN" 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
resourceARN]
instance Property "ResourceARN" InputLambdaProcessorProperty where
  type PropertyType "ResourceARN" InputLambdaProcessorProperty = Value Prelude.Text
  set :: PropertyType "ResourceARN" InputLambdaProcessorProperty
-> InputLambdaProcessorProperty -> InputLambdaProcessorProperty
set PropertyType "ResourceARN" InputLambdaProcessorProperty
newValue InputLambdaProcessorProperty {()
Value Text
haddock_workaround_ :: InputLambdaProcessorProperty -> ()
resourceARN :: InputLambdaProcessorProperty -> Value Text
haddock_workaround_ :: ()
resourceARN :: Value Text
..}
    = InputLambdaProcessorProperty {resourceARN :: Value Text
resourceARN = PropertyType "ResourceARN" InputLambdaProcessorProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}