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