module Stratosphere.KinesisFirehose.DeliveryStream.DatabaseSourceAuthenticationConfigurationProperty (
module Exports,
DatabaseSourceAuthenticationConfigurationProperty(..),
mkDatabaseSourceAuthenticationConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.KinesisFirehose.DeliveryStream.SecretsManagerConfigurationProperty as Exports
import Stratosphere.ResourceProperties
data DatabaseSourceAuthenticationConfigurationProperty
=
DatabaseSourceAuthenticationConfigurationProperty {DatabaseSourceAuthenticationConfigurationProperty -> ()
haddock_workaround_ :: (),
DatabaseSourceAuthenticationConfigurationProperty
-> SecretsManagerConfigurationProperty
secretsManagerConfiguration :: SecretsManagerConfigurationProperty}
deriving stock (DatabaseSourceAuthenticationConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty -> Bool
(DatabaseSourceAuthenticationConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty -> Bool)
-> (DatabaseSourceAuthenticationConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty -> Bool)
-> Eq DatabaseSourceAuthenticationConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DatabaseSourceAuthenticationConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty -> Bool
== :: DatabaseSourceAuthenticationConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty -> Bool
$c/= :: DatabaseSourceAuthenticationConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty -> Bool
/= :: DatabaseSourceAuthenticationConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty -> Bool
Prelude.Eq, Int -> DatabaseSourceAuthenticationConfigurationProperty -> ShowS
[DatabaseSourceAuthenticationConfigurationProperty] -> ShowS
DatabaseSourceAuthenticationConfigurationProperty -> String
(Int -> DatabaseSourceAuthenticationConfigurationProperty -> ShowS)
-> (DatabaseSourceAuthenticationConfigurationProperty -> String)
-> ([DatabaseSourceAuthenticationConfigurationProperty] -> ShowS)
-> Show DatabaseSourceAuthenticationConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DatabaseSourceAuthenticationConfigurationProperty -> ShowS
showsPrec :: Int -> DatabaseSourceAuthenticationConfigurationProperty -> ShowS
$cshow :: DatabaseSourceAuthenticationConfigurationProperty -> String
show :: DatabaseSourceAuthenticationConfigurationProperty -> String
$cshowList :: [DatabaseSourceAuthenticationConfigurationProperty] -> ShowS
showList :: [DatabaseSourceAuthenticationConfigurationProperty] -> ShowS
Prelude.Show)
mkDatabaseSourceAuthenticationConfigurationProperty ::
SecretsManagerConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty
mkDatabaseSourceAuthenticationConfigurationProperty :: SecretsManagerConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty
mkDatabaseSourceAuthenticationConfigurationProperty
SecretsManagerConfigurationProperty
secretsManagerConfiguration
= DatabaseSourceAuthenticationConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
secretsManagerConfiguration :: SecretsManagerConfigurationProperty
secretsManagerConfiguration = SecretsManagerConfigurationProperty
secretsManagerConfiguration}
instance ToResourceProperties DatabaseSourceAuthenticationConfigurationProperty where
toResourceProperties :: DatabaseSourceAuthenticationConfigurationProperty
-> ResourceProperties
toResourceProperties
DatabaseSourceAuthenticationConfigurationProperty {()
SecretsManagerConfigurationProperty
haddock_workaround_ :: DatabaseSourceAuthenticationConfigurationProperty -> ()
secretsManagerConfiguration :: DatabaseSourceAuthenticationConfigurationProperty
-> SecretsManagerConfigurationProperty
haddock_workaround_ :: ()
secretsManagerConfiguration :: SecretsManagerConfigurationProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::KinesisFirehose::DeliveryStream.DatabaseSourceAuthenticationConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"SecretsManagerConfiguration"
Key -> SecretsManagerConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= SecretsManagerConfigurationProperty
secretsManagerConfiguration]}
instance JSON.ToJSON DatabaseSourceAuthenticationConfigurationProperty where
toJSON :: DatabaseSourceAuthenticationConfigurationProperty -> Value
toJSON DatabaseSourceAuthenticationConfigurationProperty {()
SecretsManagerConfigurationProperty
haddock_workaround_ :: DatabaseSourceAuthenticationConfigurationProperty -> ()
secretsManagerConfiguration :: DatabaseSourceAuthenticationConfigurationProperty
-> SecretsManagerConfigurationProperty
haddock_workaround_ :: ()
secretsManagerConfiguration :: SecretsManagerConfigurationProperty
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"SecretsManagerConfiguration" Key -> SecretsManagerConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= SecretsManagerConfigurationProperty
secretsManagerConfiguration]
instance Property "SecretsManagerConfiguration" DatabaseSourceAuthenticationConfigurationProperty where
type PropertyType "SecretsManagerConfiguration" DatabaseSourceAuthenticationConfigurationProperty = SecretsManagerConfigurationProperty
set :: PropertyType
"SecretsManagerConfiguration"
DatabaseSourceAuthenticationConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty
-> DatabaseSourceAuthenticationConfigurationProperty
set PropertyType
"SecretsManagerConfiguration"
DatabaseSourceAuthenticationConfigurationProperty
newValue DatabaseSourceAuthenticationConfigurationProperty {()
SecretsManagerConfigurationProperty
haddock_workaround_ :: DatabaseSourceAuthenticationConfigurationProperty -> ()
secretsManagerConfiguration :: DatabaseSourceAuthenticationConfigurationProperty
-> SecretsManagerConfigurationProperty
haddock_workaround_ :: ()
secretsManagerConfiguration :: SecretsManagerConfigurationProperty
..}
= DatabaseSourceAuthenticationConfigurationProperty
{secretsManagerConfiguration :: SecretsManagerConfigurationProperty
secretsManagerConfiguration = PropertyType
"SecretsManagerConfiguration"
DatabaseSourceAuthenticationConfigurationProperty
SecretsManagerConfigurationProperty
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}