module Stratosphere.DMS.Endpoint.RedisSettingsProperty (
        RedisSettingsProperty(..), mkRedisSettingsProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data RedisSettingsProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html>
    RedisSettingsProperty {RedisSettingsProperty -> ()
haddock_workaround_ :: (),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-authpassword>
                           RedisSettingsProperty -> Maybe (Value Text)
authPassword :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-authtype>
                           RedisSettingsProperty -> Maybe (Value Text)
authType :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-authusername>
                           RedisSettingsProperty -> Maybe (Value Text)
authUserName :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-port>
                           RedisSettingsProperty -> Maybe (Value Double)
port :: (Prelude.Maybe (Value Prelude.Double)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-servername>
                           RedisSettingsProperty -> Maybe (Value Text)
serverName :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-sslcacertificatearn>
                           RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-sslsecurityprotocol>
                           RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (RedisSettingsProperty -> RedisSettingsProperty -> Bool
(RedisSettingsProperty -> RedisSettingsProperty -> Bool)
-> (RedisSettingsProperty -> RedisSettingsProperty -> Bool)
-> Eq RedisSettingsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RedisSettingsProperty -> RedisSettingsProperty -> Bool
== :: RedisSettingsProperty -> RedisSettingsProperty -> Bool
$c/= :: RedisSettingsProperty -> RedisSettingsProperty -> Bool
/= :: RedisSettingsProperty -> RedisSettingsProperty -> Bool
Prelude.Eq, Int -> RedisSettingsProperty -> ShowS
[RedisSettingsProperty] -> ShowS
RedisSettingsProperty -> String
(Int -> RedisSettingsProperty -> ShowS)
-> (RedisSettingsProperty -> String)
-> ([RedisSettingsProperty] -> ShowS)
-> Show RedisSettingsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RedisSettingsProperty -> ShowS
showsPrec :: Int -> RedisSettingsProperty -> ShowS
$cshow :: RedisSettingsProperty -> String
show :: RedisSettingsProperty -> String
$cshowList :: [RedisSettingsProperty] -> ShowS
showList :: [RedisSettingsProperty] -> ShowS
Prelude.Show)
mkRedisSettingsProperty :: RedisSettingsProperty
mkRedisSettingsProperty :: RedisSettingsProperty
mkRedisSettingsProperty
  = RedisSettingsProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), authPassword :: Maybe (Value Text)
authPassword = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       authType :: Maybe (Value Text)
authType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, authUserName :: Maybe (Value Text)
authUserName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       port :: Maybe (Value Double)
port = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing, serverName :: Maybe (Value Text)
serverName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       sslCaCertificateArn :: Maybe (Value Text)
sslCaCertificateArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       sslSecurityProtocol :: Maybe (Value Text)
sslSecurityProtocol = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RedisSettingsProperty where
  toResourceProperties :: RedisSettingsProperty -> ResourceProperties
toResourceProperties RedisSettingsProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: RedisSettingsProperty -> ()
authPassword :: RedisSettingsProperty -> Maybe (Value Text)
authType :: RedisSettingsProperty -> Maybe (Value Text)
authUserName :: RedisSettingsProperty -> Maybe (Value Text)
port :: RedisSettingsProperty -> Maybe (Value Double)
serverName :: RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: RedisSettingsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::DMS::Endpoint.RedisSettings",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [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..=) Key
"AuthPassword" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
authPassword,
                            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..=) Key
"AuthType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
authType,
                            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..=) Key
"AuthUserName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
authUserName,
                            Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Port" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
port,
                            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..=) Key
"ServerName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
serverName,
                            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..=) Key
"SslCaCertificateArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sslCaCertificateArn,
                            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..=) Key
"SslSecurityProtocol" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sslSecurityProtocol])}
instance JSON.ToJSON RedisSettingsProperty where
  toJSON :: RedisSettingsProperty -> Value
toJSON RedisSettingsProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: RedisSettingsProperty -> ()
authPassword :: RedisSettingsProperty -> Maybe (Value Text)
authType :: RedisSettingsProperty -> Maybe (Value Text)
authUserName :: RedisSettingsProperty -> Maybe (Value Text)
port :: RedisSettingsProperty -> Maybe (Value Double)
serverName :: RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: RedisSettingsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [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..=) Key
"AuthPassword" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
authPassword,
               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..=) Key
"AuthType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
authType,
               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..=) Key
"AuthUserName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
authUserName,
               Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Port" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
port,
               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..=) Key
"ServerName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
serverName,
               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..=) Key
"SslCaCertificateArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sslCaCertificateArn,
               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..=) Key
"SslSecurityProtocol" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sslSecurityProtocol]))
instance Property "AuthPassword" RedisSettingsProperty where
  type PropertyType "AuthPassword" RedisSettingsProperty = Value Prelude.Text
  set :: PropertyType "AuthPassword" RedisSettingsProperty
-> RedisSettingsProperty -> RedisSettingsProperty
set PropertyType "AuthPassword" RedisSettingsProperty
newValue RedisSettingsProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: RedisSettingsProperty -> ()
authPassword :: RedisSettingsProperty -> Maybe (Value Text)
authType :: RedisSettingsProperty -> Maybe (Value Text)
authUserName :: RedisSettingsProperty -> Maybe (Value Text)
port :: RedisSettingsProperty -> Maybe (Value Double)
serverName :: RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: RedisSettingsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
    = RedisSettingsProperty {authPassword :: Maybe (Value Text)
authPassword = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthPassword" RedisSettingsProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
instance Property "AuthType" RedisSettingsProperty where
  type PropertyType "AuthType" RedisSettingsProperty = Value Prelude.Text
  set :: PropertyType "AuthType" RedisSettingsProperty
-> RedisSettingsProperty -> RedisSettingsProperty
set PropertyType "AuthType" RedisSettingsProperty
newValue RedisSettingsProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: RedisSettingsProperty -> ()
authPassword :: RedisSettingsProperty -> Maybe (Value Text)
authType :: RedisSettingsProperty -> Maybe (Value Text)
authUserName :: RedisSettingsProperty -> Maybe (Value Text)
port :: RedisSettingsProperty -> Maybe (Value Double)
serverName :: RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: RedisSettingsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
    = RedisSettingsProperty {authType :: Maybe (Value Text)
authType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthType" RedisSettingsProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
instance Property "AuthUserName" RedisSettingsProperty where
  type PropertyType "AuthUserName" RedisSettingsProperty = Value Prelude.Text
  set :: PropertyType "AuthUserName" RedisSettingsProperty
-> RedisSettingsProperty -> RedisSettingsProperty
set PropertyType "AuthUserName" RedisSettingsProperty
newValue RedisSettingsProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: RedisSettingsProperty -> ()
authPassword :: RedisSettingsProperty -> Maybe (Value Text)
authType :: RedisSettingsProperty -> Maybe (Value Text)
authUserName :: RedisSettingsProperty -> Maybe (Value Text)
port :: RedisSettingsProperty -> Maybe (Value Double)
serverName :: RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: RedisSettingsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
    = RedisSettingsProperty {authUserName :: Maybe (Value Text)
authUserName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthUserName" RedisSettingsProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
instance Property "Port" RedisSettingsProperty where
  type PropertyType "Port" RedisSettingsProperty = Value Prelude.Double
  set :: PropertyType "Port" RedisSettingsProperty
-> RedisSettingsProperty -> RedisSettingsProperty
set PropertyType "Port" RedisSettingsProperty
newValue RedisSettingsProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: RedisSettingsProperty -> ()
authPassword :: RedisSettingsProperty -> Maybe (Value Text)
authType :: RedisSettingsProperty -> Maybe (Value Text)
authUserName :: RedisSettingsProperty -> Maybe (Value Text)
port :: RedisSettingsProperty -> Maybe (Value Double)
serverName :: RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: RedisSettingsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
    = RedisSettingsProperty {port :: Maybe (Value Double)
port = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Port" RedisSettingsProperty
Value Double
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
instance Property "ServerName" RedisSettingsProperty where
  type PropertyType "ServerName" RedisSettingsProperty = Value Prelude.Text
  set :: PropertyType "ServerName" RedisSettingsProperty
-> RedisSettingsProperty -> RedisSettingsProperty
set PropertyType "ServerName" RedisSettingsProperty
newValue RedisSettingsProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: RedisSettingsProperty -> ()
authPassword :: RedisSettingsProperty -> Maybe (Value Text)
authType :: RedisSettingsProperty -> Maybe (Value Text)
authUserName :: RedisSettingsProperty -> Maybe (Value Text)
port :: RedisSettingsProperty -> Maybe (Value Double)
serverName :: RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: RedisSettingsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
    = RedisSettingsProperty {serverName :: Maybe (Value Text)
serverName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ServerName" RedisSettingsProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
instance Property "SslCaCertificateArn" RedisSettingsProperty where
  type PropertyType "SslCaCertificateArn" RedisSettingsProperty = Value Prelude.Text
  set :: PropertyType "SslCaCertificateArn" RedisSettingsProperty
-> RedisSettingsProperty -> RedisSettingsProperty
set PropertyType "SslCaCertificateArn" RedisSettingsProperty
newValue RedisSettingsProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: RedisSettingsProperty -> ()
authPassword :: RedisSettingsProperty -> Maybe (Value Text)
authType :: RedisSettingsProperty -> Maybe (Value Text)
authUserName :: RedisSettingsProperty -> Maybe (Value Text)
port :: RedisSettingsProperty -> Maybe (Value Double)
serverName :: RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: RedisSettingsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
    = RedisSettingsProperty
        {sslCaCertificateArn :: Maybe (Value Text)
sslCaCertificateArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SslCaCertificateArn" RedisSettingsProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
instance Property "SslSecurityProtocol" RedisSettingsProperty where
  type PropertyType "SslSecurityProtocol" RedisSettingsProperty = Value Prelude.Text
  set :: PropertyType "SslSecurityProtocol" RedisSettingsProperty
-> RedisSettingsProperty -> RedisSettingsProperty
set PropertyType "SslSecurityProtocol" RedisSettingsProperty
newValue RedisSettingsProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: RedisSettingsProperty -> ()
authPassword :: RedisSettingsProperty -> Maybe (Value Text)
authType :: RedisSettingsProperty -> Maybe (Value Text)
authUserName :: RedisSettingsProperty -> Maybe (Value Text)
port :: RedisSettingsProperty -> Maybe (Value Double)
serverName :: RedisSettingsProperty -> Maybe (Value Text)
sslCaCertificateArn :: RedisSettingsProperty -> Maybe (Value Text)
sslSecurityProtocol :: RedisSettingsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
sslSecurityProtocol :: Maybe (Value Text)
..}
    = RedisSettingsProperty
        {sslSecurityProtocol :: Maybe (Value Text)
sslSecurityProtocol = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SslSecurityProtocol" RedisSettingsProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
haddock_workaround_ :: ()
authPassword :: Maybe (Value Text)
authType :: Maybe (Value Text)
authUserName :: Maybe (Value Text)
port :: Maybe (Value Double)
serverName :: Maybe (Value Text)
sslCaCertificateArn :: Maybe (Value Text)
..}