module Stratosphere.RDS.DBProxyEndpoint (
        module Exports, DBProxyEndpoint(..), mkDBProxyEndpoint
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.RDS.DBProxyEndpoint.TagFormatProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DBProxyEndpoint
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html>
    DBProxyEndpoint {DBProxyEndpoint -> ()
haddock_workaround_ :: (),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html#cfn-rds-dbproxyendpoint-dbproxyendpointname>
                     DBProxyEndpoint -> Value Text
dBProxyEndpointName :: (Value Prelude.Text),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html#cfn-rds-dbproxyendpoint-dbproxyname>
                     DBProxyEndpoint -> Value Text
dBProxyName :: (Value Prelude.Text),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html#cfn-rds-dbproxyendpoint-endpointnetworktype>
                     DBProxyEndpoint -> Maybe (Value Text)
endpointNetworkType :: (Prelude.Maybe (Value Prelude.Text)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html#cfn-rds-dbproxyendpoint-tags>
                     DBProxyEndpoint -> Maybe [TagFormatProperty]
tags :: (Prelude.Maybe [TagFormatProperty]),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html#cfn-rds-dbproxyendpoint-targetrole>
                     DBProxyEndpoint -> Maybe (Value Text)
targetRole :: (Prelude.Maybe (Value Prelude.Text)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html#cfn-rds-dbproxyendpoint-vpcsecuritygroupids>
                     DBProxyEndpoint -> Maybe (ValueList Text)
vpcSecurityGroupIds :: (Prelude.Maybe (ValueList Prelude.Text)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html#cfn-rds-dbproxyendpoint-vpcsubnetids>
                     DBProxyEndpoint -> ValueList Text
vpcSubnetIds :: (ValueList Prelude.Text)}
  deriving stock (DBProxyEndpoint -> DBProxyEndpoint -> Bool
(DBProxyEndpoint -> DBProxyEndpoint -> Bool)
-> (DBProxyEndpoint -> DBProxyEndpoint -> Bool)
-> Eq DBProxyEndpoint
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DBProxyEndpoint -> DBProxyEndpoint -> Bool
== :: DBProxyEndpoint -> DBProxyEndpoint -> Bool
$c/= :: DBProxyEndpoint -> DBProxyEndpoint -> Bool
/= :: DBProxyEndpoint -> DBProxyEndpoint -> Bool
Prelude.Eq, Int -> DBProxyEndpoint -> ShowS
[DBProxyEndpoint] -> ShowS
DBProxyEndpoint -> String
(Int -> DBProxyEndpoint -> ShowS)
-> (DBProxyEndpoint -> String)
-> ([DBProxyEndpoint] -> ShowS)
-> Show DBProxyEndpoint
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DBProxyEndpoint -> ShowS
showsPrec :: Int -> DBProxyEndpoint -> ShowS
$cshow :: DBProxyEndpoint -> String
show :: DBProxyEndpoint -> String
$cshowList :: [DBProxyEndpoint] -> ShowS
showList :: [DBProxyEndpoint] -> ShowS
Prelude.Show)
mkDBProxyEndpoint ::
  Value Prelude.Text
  -> Value Prelude.Text -> ValueList Prelude.Text -> DBProxyEndpoint
mkDBProxyEndpoint :: Value Text -> Value Text -> ValueList Text -> DBProxyEndpoint
mkDBProxyEndpoint Value Text
dBProxyEndpointName Value Text
dBProxyName ValueList Text
vpcSubnetIds
  = DBProxyEndpoint
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       dBProxyEndpointName :: Value Text
dBProxyEndpointName = Value Text
dBProxyEndpointName,
       dBProxyName :: Value Text
dBProxyName = Value Text
dBProxyName, vpcSubnetIds :: ValueList Text
vpcSubnetIds = ValueList Text
vpcSubnetIds,
       endpointNetworkType :: Maybe (Value Text)
endpointNetworkType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [TagFormatProperty]
tags = Maybe [TagFormatProperty]
forall a. Maybe a
Prelude.Nothing,
       targetRole :: Maybe (Value Text)
targetRole = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSecurityGroupIds = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DBProxyEndpoint where
  toResourceProperties :: DBProxyEndpoint -> ResourceProperties
toResourceProperties DBProxyEndpoint {Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: DBProxyEndpoint -> ()
dBProxyEndpointName :: DBProxyEndpoint -> Value Text
dBProxyName :: DBProxyEndpoint -> Value Text
endpointNetworkType :: DBProxyEndpoint -> Maybe (Value Text)
tags :: DBProxyEndpoint -> Maybe [TagFormatProperty]
targetRole :: DBProxyEndpoint -> Maybe (Value Text)
vpcSecurityGroupIds :: DBProxyEndpoint -> Maybe (ValueList Text)
vpcSubnetIds :: DBProxyEndpoint -> ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::RDS::DBProxyEndpoint",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"DBProxyEndpointName" 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
dBProxyEndpointName,
                            Key
"DBProxyName" 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
dBProxyName,
                            Key
"VpcSubnetIds" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
vpcSubnetIds]
                           ([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
"EndpointNetworkType" (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)
endpointNetworkType,
                               Key -> [TagFormatProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([TagFormatProperty] -> (Key, Value))
-> Maybe [TagFormatProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagFormatProperty]
tags,
                               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
"TargetRole" (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)
targetRole,
                               Key -> ValueList 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
"VpcSecurityGroupIds" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
vpcSecurityGroupIds]))}
instance JSON.ToJSON DBProxyEndpoint where
  toJSON :: DBProxyEndpoint -> Value
toJSON DBProxyEndpoint {Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: DBProxyEndpoint -> ()
dBProxyEndpointName :: DBProxyEndpoint -> Value Text
dBProxyName :: DBProxyEndpoint -> Value Text
endpointNetworkType :: DBProxyEndpoint -> Maybe (Value Text)
tags :: DBProxyEndpoint -> Maybe [TagFormatProperty]
targetRole :: DBProxyEndpoint -> Maybe (Value Text)
vpcSecurityGroupIds :: DBProxyEndpoint -> Maybe (ValueList Text)
vpcSubnetIds :: DBProxyEndpoint -> ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"DBProxyEndpointName" 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
dBProxyEndpointName,
               Key
"DBProxyName" 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
dBProxyName,
               Key
"VpcSubnetIds" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
vpcSubnetIds]
              ([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
"EndpointNetworkType" (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)
endpointNetworkType,
                  Key -> [TagFormatProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([TagFormatProperty] -> (Key, Value))
-> Maybe [TagFormatProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagFormatProperty]
tags,
                  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
"TargetRole" (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)
targetRole,
                  Key -> ValueList 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
"VpcSecurityGroupIds" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
vpcSecurityGroupIds])))
instance Property "DBProxyEndpointName" DBProxyEndpoint where
  type PropertyType "DBProxyEndpointName" DBProxyEndpoint = Value Prelude.Text
  set :: PropertyType "DBProxyEndpointName" DBProxyEndpoint
-> DBProxyEndpoint -> DBProxyEndpoint
set PropertyType "DBProxyEndpointName" DBProxyEndpoint
newValue DBProxyEndpoint {Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: DBProxyEndpoint -> ()
dBProxyEndpointName :: DBProxyEndpoint -> Value Text
dBProxyName :: DBProxyEndpoint -> Value Text
endpointNetworkType :: DBProxyEndpoint -> Maybe (Value Text)
tags :: DBProxyEndpoint -> Maybe [TagFormatProperty]
targetRole :: DBProxyEndpoint -> Maybe (Value Text)
vpcSecurityGroupIds :: DBProxyEndpoint -> Maybe (ValueList Text)
vpcSubnetIds :: DBProxyEndpoint -> ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
    = DBProxyEndpoint {dBProxyEndpointName :: Value Text
dBProxyEndpointName = PropertyType "DBProxyEndpointName" DBProxyEndpoint
Value Text
newValue, Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
haddock_workaround_ :: ()
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
instance Property "DBProxyName" DBProxyEndpoint where
  type PropertyType "DBProxyName" DBProxyEndpoint = Value Prelude.Text
  set :: PropertyType "DBProxyName" DBProxyEndpoint
-> DBProxyEndpoint -> DBProxyEndpoint
set PropertyType "DBProxyName" DBProxyEndpoint
newValue DBProxyEndpoint {Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: DBProxyEndpoint -> ()
dBProxyEndpointName :: DBProxyEndpoint -> Value Text
dBProxyName :: DBProxyEndpoint -> Value Text
endpointNetworkType :: DBProxyEndpoint -> Maybe (Value Text)
tags :: DBProxyEndpoint -> Maybe [TagFormatProperty]
targetRole :: DBProxyEndpoint -> Maybe (Value Text)
vpcSecurityGroupIds :: DBProxyEndpoint -> Maybe (ValueList Text)
vpcSubnetIds :: DBProxyEndpoint -> ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
    = DBProxyEndpoint {dBProxyName :: Value Text
dBProxyName = PropertyType "DBProxyName" DBProxyEndpoint
Value Text
newValue, Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
instance Property "EndpointNetworkType" DBProxyEndpoint where
  type PropertyType "EndpointNetworkType" DBProxyEndpoint = Value Prelude.Text
  set :: PropertyType "EndpointNetworkType" DBProxyEndpoint
-> DBProxyEndpoint -> DBProxyEndpoint
set PropertyType "EndpointNetworkType" DBProxyEndpoint
newValue DBProxyEndpoint {Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: DBProxyEndpoint -> ()
dBProxyEndpointName :: DBProxyEndpoint -> Value Text
dBProxyName :: DBProxyEndpoint -> Value Text
endpointNetworkType :: DBProxyEndpoint -> Maybe (Value Text)
tags :: DBProxyEndpoint -> Maybe [TagFormatProperty]
targetRole :: DBProxyEndpoint -> Maybe (Value Text)
vpcSecurityGroupIds :: DBProxyEndpoint -> Maybe (ValueList Text)
vpcSubnetIds :: DBProxyEndpoint -> ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
    = DBProxyEndpoint {endpointNetworkType :: Maybe (Value Text)
endpointNetworkType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EndpointNetworkType" DBProxyEndpoint
Value Text
newValue, Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
instance Property "Tags" DBProxyEndpoint where
  type PropertyType "Tags" DBProxyEndpoint = [TagFormatProperty]
  set :: PropertyType "Tags" DBProxyEndpoint
-> DBProxyEndpoint -> DBProxyEndpoint
set PropertyType "Tags" DBProxyEndpoint
newValue DBProxyEndpoint {Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: DBProxyEndpoint -> ()
dBProxyEndpointName :: DBProxyEndpoint -> Value Text
dBProxyName :: DBProxyEndpoint -> Value Text
endpointNetworkType :: DBProxyEndpoint -> Maybe (Value Text)
tags :: DBProxyEndpoint -> Maybe [TagFormatProperty]
targetRole :: DBProxyEndpoint -> Maybe (Value Text)
vpcSecurityGroupIds :: DBProxyEndpoint -> Maybe (ValueList Text)
vpcSubnetIds :: DBProxyEndpoint -> ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
    = DBProxyEndpoint {tags :: Maybe [TagFormatProperty]
tags = [TagFormatProperty] -> Maybe [TagFormatProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TagFormatProperty]
PropertyType "Tags" DBProxyEndpoint
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
instance Property "TargetRole" DBProxyEndpoint where
  type PropertyType "TargetRole" DBProxyEndpoint = Value Prelude.Text
  set :: PropertyType "TargetRole" DBProxyEndpoint
-> DBProxyEndpoint -> DBProxyEndpoint
set PropertyType "TargetRole" DBProxyEndpoint
newValue DBProxyEndpoint {Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: DBProxyEndpoint -> ()
dBProxyEndpointName :: DBProxyEndpoint -> Value Text
dBProxyName :: DBProxyEndpoint -> Value Text
endpointNetworkType :: DBProxyEndpoint -> Maybe (Value Text)
tags :: DBProxyEndpoint -> Maybe [TagFormatProperty]
targetRole :: DBProxyEndpoint -> Maybe (Value Text)
vpcSecurityGroupIds :: DBProxyEndpoint -> Maybe (ValueList Text)
vpcSubnetIds :: DBProxyEndpoint -> ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
    = DBProxyEndpoint {targetRole :: Maybe (Value Text)
targetRole = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TargetRole" DBProxyEndpoint
Value Text
newValue, Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
instance Property "VpcSecurityGroupIds" DBProxyEndpoint where
  type PropertyType "VpcSecurityGroupIds" DBProxyEndpoint = ValueList Prelude.Text
  set :: PropertyType "VpcSecurityGroupIds" DBProxyEndpoint
-> DBProxyEndpoint -> DBProxyEndpoint
set PropertyType "VpcSecurityGroupIds" DBProxyEndpoint
newValue DBProxyEndpoint {Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: DBProxyEndpoint -> ()
dBProxyEndpointName :: DBProxyEndpoint -> Value Text
dBProxyName :: DBProxyEndpoint -> Value Text
endpointNetworkType :: DBProxyEndpoint -> Maybe (Value Text)
tags :: DBProxyEndpoint -> Maybe [TagFormatProperty]
targetRole :: DBProxyEndpoint -> Maybe (Value Text)
vpcSecurityGroupIds :: DBProxyEndpoint -> Maybe (ValueList Text)
vpcSubnetIds :: DBProxyEndpoint -> ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
    = DBProxyEndpoint {vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSecurityGroupIds = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VpcSecurityGroupIds" DBProxyEndpoint
ValueList Text
newValue, Maybe [TagFormatProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSubnetIds :: ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSubnetIds :: ValueList Text
..}
instance Property "VpcSubnetIds" DBProxyEndpoint where
  type PropertyType "VpcSubnetIds" DBProxyEndpoint = ValueList Prelude.Text
  set :: PropertyType "VpcSubnetIds" DBProxyEndpoint
-> DBProxyEndpoint -> DBProxyEndpoint
set PropertyType "VpcSubnetIds" DBProxyEndpoint
newValue DBProxyEndpoint {Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: DBProxyEndpoint -> ()
dBProxyEndpointName :: DBProxyEndpoint -> Value Text
dBProxyName :: DBProxyEndpoint -> Value Text
endpointNetworkType :: DBProxyEndpoint -> Maybe (Value Text)
tags :: DBProxyEndpoint -> Maybe [TagFormatProperty]
targetRole :: DBProxyEndpoint -> Maybe (Value Text)
vpcSecurityGroupIds :: DBProxyEndpoint -> Maybe (ValueList Text)
vpcSubnetIds :: DBProxyEndpoint -> ValueList Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
vpcSubnetIds :: ValueList Text
..}
    = DBProxyEndpoint {vpcSubnetIds :: ValueList Text
vpcSubnetIds = PropertyType "VpcSubnetIds" DBProxyEndpoint
ValueList Text
newValue, Maybe [TagFormatProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
haddock_workaround_ :: ()
dBProxyEndpointName :: Value Text
dBProxyName :: Value Text
endpointNetworkType :: Maybe (Value Text)
tags :: Maybe [TagFormatProperty]
targetRole :: Maybe (Value Text)
vpcSecurityGroupIds :: Maybe (ValueList Text)
..}