module Stratosphere.AppRunner.Service.CodeConfigurationValuesProperty (
        module Exports, CodeConfigurationValuesProperty(..),
        mkCodeConfigurationValuesProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AppRunner.Service.KeyValuePairProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data CodeConfigurationValuesProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html>
    CodeConfigurationValuesProperty {CodeConfigurationValuesProperty -> ()
haddock_workaround_ :: (),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-buildcommand>
                                     CodeConfigurationValuesProperty -> Maybe (Value Text)
buildCommand :: (Prelude.Maybe (Value Prelude.Text)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-port>
                                     CodeConfigurationValuesProperty -> Maybe (Value Text)
port :: (Prelude.Maybe (Value Prelude.Text)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-runtime>
                                     CodeConfigurationValuesProperty -> Value Text
runtime :: (Value Prelude.Text),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-runtimeenvironmentsecrets>
                                     CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentSecrets :: (Prelude.Maybe [KeyValuePairProperty]),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-runtimeenvironmentvariables>
                                     CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: (Prelude.Maybe [KeyValuePairProperty]),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-startcommand>
                                     CodeConfigurationValuesProperty -> Maybe (Value Text)
startCommand :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty -> Bool
(CodeConfigurationValuesProperty
 -> CodeConfigurationValuesProperty -> Bool)
-> (CodeConfigurationValuesProperty
    -> CodeConfigurationValuesProperty -> Bool)
-> Eq CodeConfigurationValuesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty -> Bool
== :: CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty -> Bool
$c/= :: CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty -> Bool
/= :: CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty -> Bool
Prelude.Eq, Int -> CodeConfigurationValuesProperty -> ShowS
[CodeConfigurationValuesProperty] -> ShowS
CodeConfigurationValuesProperty -> String
(Int -> CodeConfigurationValuesProperty -> ShowS)
-> (CodeConfigurationValuesProperty -> String)
-> ([CodeConfigurationValuesProperty] -> ShowS)
-> Show CodeConfigurationValuesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CodeConfigurationValuesProperty -> ShowS
showsPrec :: Int -> CodeConfigurationValuesProperty -> ShowS
$cshow :: CodeConfigurationValuesProperty -> String
show :: CodeConfigurationValuesProperty -> String
$cshowList :: [CodeConfigurationValuesProperty] -> ShowS
showList :: [CodeConfigurationValuesProperty] -> ShowS
Prelude.Show)
mkCodeConfigurationValuesProperty ::
  Value Prelude.Text -> CodeConfigurationValuesProperty
mkCodeConfigurationValuesProperty :: Value Text -> CodeConfigurationValuesProperty
mkCodeConfigurationValuesProperty Value Text
runtime
  = CodeConfigurationValuesProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), runtime :: Value Text
runtime = Value Text
runtime,
       buildCommand :: Maybe (Value Text)
buildCommand = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, port :: Maybe (Value Text)
port = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentSecrets = Maybe [KeyValuePairProperty]
forall a. Maybe a
Prelude.Nothing,
       runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables = Maybe [KeyValuePairProperty]
forall a. Maybe a
Prelude.Nothing,
       startCommand :: Maybe (Value Text)
startCommand = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties CodeConfigurationValuesProperty where
  toResourceProperties :: CodeConfigurationValuesProperty -> ResourceProperties
toResourceProperties CodeConfigurationValuesProperty {Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CodeConfigurationValuesProperty -> ()
buildCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
port :: CodeConfigurationValuesProperty -> Maybe (Value Text)
runtime :: CodeConfigurationValuesProperty -> Value Text
runtimeEnvironmentSecrets :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
startCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppRunner::Service.CodeConfigurationValues",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         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
"Runtime" 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
runtime]
                           ([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
"BuildCommand" (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)
buildCommand,
                               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
"Port" (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)
port,
                               Key -> [KeyValuePairProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuntimeEnvironmentSecrets"
                                 ([KeyValuePairProperty] -> (Key, Value))
-> Maybe [KeyValuePairProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [KeyValuePairProperty]
runtimeEnvironmentSecrets,
                               Key -> [KeyValuePairProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuntimeEnvironmentVariables"
                                 ([KeyValuePairProperty] -> (Key, Value))
-> Maybe [KeyValuePairProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables,
                               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
"StartCommand" (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)
startCommand]))}
instance JSON.ToJSON CodeConfigurationValuesProperty where
  toJSON :: CodeConfigurationValuesProperty -> Value
toJSON CodeConfigurationValuesProperty {Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CodeConfigurationValuesProperty -> ()
buildCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
port :: CodeConfigurationValuesProperty -> Maybe (Value Text)
runtime :: CodeConfigurationValuesProperty -> Value Text
runtimeEnvironmentSecrets :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
startCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value 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
"Runtime" 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
runtime]
              ([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
"BuildCommand" (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)
buildCommand,
                  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
"Port" (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)
port,
                  Key -> [KeyValuePairProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuntimeEnvironmentSecrets"
                    ([KeyValuePairProperty] -> (Key, Value))
-> Maybe [KeyValuePairProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [KeyValuePairProperty]
runtimeEnvironmentSecrets,
                  Key -> [KeyValuePairProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuntimeEnvironmentVariables"
                    ([KeyValuePairProperty] -> (Key, Value))
-> Maybe [KeyValuePairProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables,
                  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
"StartCommand" (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)
startCommand])))
instance Property "BuildCommand" CodeConfigurationValuesProperty where
  type PropertyType "BuildCommand" CodeConfigurationValuesProperty = Value Prelude.Text
  set :: PropertyType "BuildCommand" CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
set PropertyType "BuildCommand" CodeConfigurationValuesProperty
newValue CodeConfigurationValuesProperty {Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CodeConfigurationValuesProperty -> ()
buildCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
port :: CodeConfigurationValuesProperty -> Maybe (Value Text)
runtime :: CodeConfigurationValuesProperty -> Value Text
runtimeEnvironmentSecrets :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
startCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
    = CodeConfigurationValuesProperty
        {buildCommand :: Maybe (Value Text)
buildCommand = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BuildCommand" CodeConfigurationValuesProperty
Value Text
newValue, Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
haddock_workaround_ :: ()
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
instance Property "Port" CodeConfigurationValuesProperty where
  type PropertyType "Port" CodeConfigurationValuesProperty = Value Prelude.Text
  set :: PropertyType "Port" CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
set PropertyType "Port" CodeConfigurationValuesProperty
newValue CodeConfigurationValuesProperty {Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CodeConfigurationValuesProperty -> ()
buildCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
port :: CodeConfigurationValuesProperty -> Maybe (Value Text)
runtime :: CodeConfigurationValuesProperty -> Value Text
runtimeEnvironmentSecrets :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
startCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
    = CodeConfigurationValuesProperty
        {port :: Maybe (Value Text)
port = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Port" CodeConfigurationValuesProperty
Value Text
newValue, Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
instance Property "Runtime" CodeConfigurationValuesProperty where
  type PropertyType "Runtime" CodeConfigurationValuesProperty = Value Prelude.Text
  set :: PropertyType "Runtime" CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
set PropertyType "Runtime" CodeConfigurationValuesProperty
newValue CodeConfigurationValuesProperty {Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CodeConfigurationValuesProperty -> ()
buildCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
port :: CodeConfigurationValuesProperty -> Maybe (Value Text)
runtime :: CodeConfigurationValuesProperty -> Value Text
runtimeEnvironmentSecrets :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
startCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
    = CodeConfigurationValuesProperty {runtime :: Value Text
runtime = PropertyType "Runtime" CodeConfigurationValuesProperty
Value Text
newValue, Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
instance Property "RuntimeEnvironmentSecrets" CodeConfigurationValuesProperty where
  type PropertyType "RuntimeEnvironmentSecrets" CodeConfigurationValuesProperty = [KeyValuePairProperty]
  set :: PropertyType
  "RuntimeEnvironmentSecrets" CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
set PropertyType
  "RuntimeEnvironmentSecrets" CodeConfigurationValuesProperty
newValue CodeConfigurationValuesProperty {Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CodeConfigurationValuesProperty -> ()
buildCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
port :: CodeConfigurationValuesProperty -> Maybe (Value Text)
runtime :: CodeConfigurationValuesProperty -> Value Text
runtimeEnvironmentSecrets :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
startCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
    = CodeConfigurationValuesProperty
        {runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentSecrets = [KeyValuePairProperty] -> Maybe [KeyValuePairProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [KeyValuePairProperty]
PropertyType
  "RuntimeEnvironmentSecrets" CodeConfigurationValuesProperty
newValue, Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
instance Property "RuntimeEnvironmentVariables" CodeConfigurationValuesProperty where
  type PropertyType "RuntimeEnvironmentVariables" CodeConfigurationValuesProperty = [KeyValuePairProperty]
  set :: PropertyType
  "RuntimeEnvironmentVariables" CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
set PropertyType
  "RuntimeEnvironmentVariables" CodeConfigurationValuesProperty
newValue CodeConfigurationValuesProperty {Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CodeConfigurationValuesProperty -> ()
buildCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
port :: CodeConfigurationValuesProperty -> Maybe (Value Text)
runtime :: CodeConfigurationValuesProperty -> Value Text
runtimeEnvironmentSecrets :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
startCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
    = CodeConfigurationValuesProperty
        {runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables = [KeyValuePairProperty] -> Maybe [KeyValuePairProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [KeyValuePairProperty]
PropertyType
  "RuntimeEnvironmentVariables" CodeConfigurationValuesProperty
newValue, Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
instance Property "StartCommand" CodeConfigurationValuesProperty where
  type PropertyType "StartCommand" CodeConfigurationValuesProperty = Value Prelude.Text
  set :: PropertyType "StartCommand" CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
-> CodeConfigurationValuesProperty
set PropertyType "StartCommand" CodeConfigurationValuesProperty
newValue CodeConfigurationValuesProperty {Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CodeConfigurationValuesProperty -> ()
buildCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
port :: CodeConfigurationValuesProperty -> Maybe (Value Text)
runtime :: CodeConfigurationValuesProperty -> Value Text
runtimeEnvironmentSecrets :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: CodeConfigurationValuesProperty -> Maybe [KeyValuePairProperty]
startCommand :: CodeConfigurationValuesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
startCommand :: Maybe (Value Text)
..}
    = CodeConfigurationValuesProperty
        {startCommand :: Maybe (Value Text)
startCommand = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StartCommand" CodeConfigurationValuesProperty
Value Text
newValue, Maybe [KeyValuePairProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
haddock_workaround_ :: ()
buildCommand :: Maybe (Value Text)
port :: Maybe (Value Text)
runtime :: Value Text
runtimeEnvironmentSecrets :: Maybe [KeyValuePairProperty]
runtimeEnvironmentVariables :: Maybe [KeyValuePairProperty]
..}