module Stratosphere.ElasticBeanstalk.ConfigurationTemplate (
        module Exports, ConfigurationTemplate(..), mkConfigurationTemplate
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ElasticBeanstalk.ConfigurationTemplate.ConfigurationOptionSettingProperty as Exports
import {-# SOURCE #-} Stratosphere.ElasticBeanstalk.ConfigurationTemplate.SourceConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ConfigurationTemplate
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html>
    ConfigurationTemplate {ConfigurationTemplate -> ()
haddock_workaround_ :: (),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-applicationname>
                           ConfigurationTemplate -> Value Text
applicationName :: (Value Prelude.Text),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-description>
                           ConfigurationTemplate -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-environmentid>
                           ConfigurationTemplate -> Maybe (Value Text)
environmentId :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-optionsettings>
                           ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
optionSettings :: (Prelude.Maybe [ConfigurationOptionSettingProperty]),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-platformarn>
                           ConfigurationTemplate -> Maybe (Value Text)
platformArn :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-solutionstackname>
                           ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: (Prelude.Maybe (Value Prelude.Text)),
                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-sourceconfiguration>
                           ConfigurationTemplate -> Maybe SourceConfigurationProperty
sourceConfiguration :: (Prelude.Maybe SourceConfigurationProperty)}
  deriving stock (ConfigurationTemplate -> ConfigurationTemplate -> Bool
(ConfigurationTemplate -> ConfigurationTemplate -> Bool)
-> (ConfigurationTemplate -> ConfigurationTemplate -> Bool)
-> Eq ConfigurationTemplate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ConfigurationTemplate -> ConfigurationTemplate -> Bool
== :: ConfigurationTemplate -> ConfigurationTemplate -> Bool
$c/= :: ConfigurationTemplate -> ConfigurationTemplate -> Bool
/= :: ConfigurationTemplate -> ConfigurationTemplate -> Bool
Prelude.Eq, Int -> ConfigurationTemplate -> ShowS
[ConfigurationTemplate] -> ShowS
ConfigurationTemplate -> String
(Int -> ConfigurationTemplate -> ShowS)
-> (ConfigurationTemplate -> String)
-> ([ConfigurationTemplate] -> ShowS)
-> Show ConfigurationTemplate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ConfigurationTemplate -> ShowS
showsPrec :: Int -> ConfigurationTemplate -> ShowS
$cshow :: ConfigurationTemplate -> String
show :: ConfigurationTemplate -> String
$cshowList :: [ConfigurationTemplate] -> ShowS
showList :: [ConfigurationTemplate] -> ShowS
Prelude.Show)
mkConfigurationTemplate ::
  Value Prelude.Text -> ConfigurationTemplate
mkConfigurationTemplate :: Value Text -> ConfigurationTemplate
mkConfigurationTemplate Value Text
applicationName
  = ConfigurationTemplate
      {haddock_workaround_ :: ()
haddock_workaround_ = (), applicationName :: Value Text
applicationName = Value Text
applicationName,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, environmentId :: Maybe (Value Text)
environmentId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       optionSettings :: Maybe [ConfigurationOptionSettingProperty]
optionSettings = Maybe [ConfigurationOptionSettingProperty]
forall a. Maybe a
Prelude.Nothing, platformArn :: Maybe (Value Text)
platformArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       solutionStackName :: Maybe (Value Text)
solutionStackName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       sourceConfiguration :: Maybe SourceConfigurationProperty
sourceConfiguration = Maybe SourceConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ConfigurationTemplate where
  toResourceProperties :: ConfigurationTemplate -> ResourceProperties
toResourceProperties ConfigurationTemplate {Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ConfigurationTemplate -> ()
applicationName :: ConfigurationTemplate -> Value Text
description :: ConfigurationTemplate -> Maybe (Value Text)
environmentId :: ConfigurationTemplate -> Maybe (Value Text)
optionSettings :: ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
platformArn :: ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: ConfigurationTemplate -> Maybe (Value Text)
sourceConfiguration :: ConfigurationTemplate -> Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ElasticBeanstalk::ConfigurationTemplate",
         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
"ApplicationName" 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
applicationName]
                           ([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
"Description" (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)
description,
                               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
"EnvironmentId" (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)
environmentId,
                               Key -> [ConfigurationOptionSettingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptionSettings" ([ConfigurationOptionSettingProperty] -> (Key, Value))
-> Maybe [ConfigurationOptionSettingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConfigurationOptionSettingProperty]
optionSettings,
                               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
"PlatformArn" (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)
platformArn,
                               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
"SolutionStackName" (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)
solutionStackName,
                               Key -> SourceConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourceConfiguration" (SourceConfigurationProperty -> (Key, Value))
-> Maybe SourceConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SourceConfigurationProperty
sourceConfiguration]))}
instance JSON.ToJSON ConfigurationTemplate where
  toJSON :: ConfigurationTemplate -> Value
toJSON ConfigurationTemplate {Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ConfigurationTemplate -> ()
applicationName :: ConfigurationTemplate -> Value Text
description :: ConfigurationTemplate -> Maybe (Value Text)
environmentId :: ConfigurationTemplate -> Maybe (Value Text)
optionSettings :: ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
platformArn :: ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: ConfigurationTemplate -> Maybe (Value Text)
sourceConfiguration :: ConfigurationTemplate -> Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
    = [(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
"ApplicationName" 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
applicationName]
              ([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
"Description" (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)
description,
                  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
"EnvironmentId" (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)
environmentId,
                  Key -> [ConfigurationOptionSettingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptionSettings" ([ConfigurationOptionSettingProperty] -> (Key, Value))
-> Maybe [ConfigurationOptionSettingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConfigurationOptionSettingProperty]
optionSettings,
                  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
"PlatformArn" (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)
platformArn,
                  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
"SolutionStackName" (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)
solutionStackName,
                  Key -> SourceConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourceConfiguration" (SourceConfigurationProperty -> (Key, Value))
-> Maybe SourceConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SourceConfigurationProperty
sourceConfiguration])))
instance Property "ApplicationName" ConfigurationTemplate where
  type PropertyType "ApplicationName" ConfigurationTemplate = Value Prelude.Text
  set :: PropertyType "ApplicationName" ConfigurationTemplate
-> ConfigurationTemplate -> ConfigurationTemplate
set PropertyType "ApplicationName" ConfigurationTemplate
newValue ConfigurationTemplate {Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ConfigurationTemplate -> ()
applicationName :: ConfigurationTemplate -> Value Text
description :: ConfigurationTemplate -> Maybe (Value Text)
environmentId :: ConfigurationTemplate -> Maybe (Value Text)
optionSettings :: ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
platformArn :: ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: ConfigurationTemplate -> Maybe (Value Text)
sourceConfiguration :: ConfigurationTemplate -> Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
    = ConfigurationTemplate {applicationName :: Value Text
applicationName = PropertyType "ApplicationName" ConfigurationTemplate
Value Text
newValue, Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
haddock_workaround_ :: ()
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
instance Property "Description" ConfigurationTemplate where
  type PropertyType "Description" ConfigurationTemplate = Value Prelude.Text
  set :: PropertyType "Description" ConfigurationTemplate
-> ConfigurationTemplate -> ConfigurationTemplate
set PropertyType "Description" ConfigurationTemplate
newValue ConfigurationTemplate {Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ConfigurationTemplate -> ()
applicationName :: ConfigurationTemplate -> Value Text
description :: ConfigurationTemplate -> Maybe (Value Text)
environmentId :: ConfigurationTemplate -> Maybe (Value Text)
optionSettings :: ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
platformArn :: ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: ConfigurationTemplate -> Maybe (Value Text)
sourceConfiguration :: ConfigurationTemplate -> Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
    = ConfigurationTemplate {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" ConfigurationTemplate
Value Text
newValue, Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationName :: Value Text
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
instance Property "EnvironmentId" ConfigurationTemplate where
  type PropertyType "EnvironmentId" ConfigurationTemplate = Value Prelude.Text
  set :: PropertyType "EnvironmentId" ConfigurationTemplate
-> ConfigurationTemplate -> ConfigurationTemplate
set PropertyType "EnvironmentId" ConfigurationTemplate
newValue ConfigurationTemplate {Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ConfigurationTemplate -> ()
applicationName :: ConfigurationTemplate -> Value Text
description :: ConfigurationTemplate -> Maybe (Value Text)
environmentId :: ConfigurationTemplate -> Maybe (Value Text)
optionSettings :: ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
platformArn :: ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: ConfigurationTemplate -> Maybe (Value Text)
sourceConfiguration :: ConfigurationTemplate -> Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
    = ConfigurationTemplate {environmentId :: Maybe (Value Text)
environmentId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnvironmentId" ConfigurationTemplate
Value Text
newValue, Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
instance Property "OptionSettings" ConfigurationTemplate where
  type PropertyType "OptionSettings" ConfigurationTemplate = [ConfigurationOptionSettingProperty]
  set :: PropertyType "OptionSettings" ConfigurationTemplate
-> ConfigurationTemplate -> ConfigurationTemplate
set PropertyType "OptionSettings" ConfigurationTemplate
newValue ConfigurationTemplate {Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ConfigurationTemplate -> ()
applicationName :: ConfigurationTemplate -> Value Text
description :: ConfigurationTemplate -> Maybe (Value Text)
environmentId :: ConfigurationTemplate -> Maybe (Value Text)
optionSettings :: ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
platformArn :: ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: ConfigurationTemplate -> Maybe (Value Text)
sourceConfiguration :: ConfigurationTemplate -> Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
    = ConfigurationTemplate
        {optionSettings :: Maybe [ConfigurationOptionSettingProperty]
optionSettings = [ConfigurationOptionSettingProperty]
-> Maybe [ConfigurationOptionSettingProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ConfigurationOptionSettingProperty]
PropertyType "OptionSettings" ConfigurationTemplate
newValue, Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
instance Property "PlatformArn" ConfigurationTemplate where
  type PropertyType "PlatformArn" ConfigurationTemplate = Value Prelude.Text
  set :: PropertyType "PlatformArn" ConfigurationTemplate
-> ConfigurationTemplate -> ConfigurationTemplate
set PropertyType "PlatformArn" ConfigurationTemplate
newValue ConfigurationTemplate {Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ConfigurationTemplate -> ()
applicationName :: ConfigurationTemplate -> Value Text
description :: ConfigurationTemplate -> Maybe (Value Text)
environmentId :: ConfigurationTemplate -> Maybe (Value Text)
optionSettings :: ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
platformArn :: ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: ConfigurationTemplate -> Maybe (Value Text)
sourceConfiguration :: ConfigurationTemplate -> Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
    = ConfigurationTemplate {platformArn :: Maybe (Value Text)
platformArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PlatformArn" ConfigurationTemplate
Value Text
newValue, Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
instance Property "SolutionStackName" ConfigurationTemplate where
  type PropertyType "SolutionStackName" ConfigurationTemplate = Value Prelude.Text
  set :: PropertyType "SolutionStackName" ConfigurationTemplate
-> ConfigurationTemplate -> ConfigurationTemplate
set PropertyType "SolutionStackName" ConfigurationTemplate
newValue ConfigurationTemplate {Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ConfigurationTemplate -> ()
applicationName :: ConfigurationTemplate -> Value Text
description :: ConfigurationTemplate -> Maybe (Value Text)
environmentId :: ConfigurationTemplate -> Maybe (Value Text)
optionSettings :: ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
platformArn :: ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: ConfigurationTemplate -> Maybe (Value Text)
sourceConfiguration :: ConfigurationTemplate -> Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
    = ConfigurationTemplate
        {solutionStackName :: Maybe (Value Text)
solutionStackName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SolutionStackName" ConfigurationTemplate
Value Text
newValue, Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
instance Property "SourceConfiguration" ConfigurationTemplate where
  type PropertyType "SourceConfiguration" ConfigurationTemplate = SourceConfigurationProperty
  set :: PropertyType "SourceConfiguration" ConfigurationTemplate
-> ConfigurationTemplate -> ConfigurationTemplate
set PropertyType "SourceConfiguration" ConfigurationTemplate
newValue ConfigurationTemplate {Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ConfigurationTemplate -> ()
applicationName :: ConfigurationTemplate -> Value Text
description :: ConfigurationTemplate -> Maybe (Value Text)
environmentId :: ConfigurationTemplate -> Maybe (Value Text)
optionSettings :: ConfigurationTemplate -> Maybe [ConfigurationOptionSettingProperty]
platformArn :: ConfigurationTemplate -> Maybe (Value Text)
solutionStackName :: ConfigurationTemplate -> Maybe (Value Text)
sourceConfiguration :: ConfigurationTemplate -> Maybe SourceConfigurationProperty
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
sourceConfiguration :: Maybe SourceConfigurationProperty
..}
    = ConfigurationTemplate
        {sourceConfiguration :: Maybe SourceConfigurationProperty
sourceConfiguration = SourceConfigurationProperty -> Maybe SourceConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SourceConfiguration" ConfigurationTemplate
SourceConfigurationProperty
newValue, Maybe [ConfigurationOptionSettingProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationName :: Value Text
description :: Maybe (Value Text)
environmentId :: Maybe (Value Text)
optionSettings :: Maybe [ConfigurationOptionSettingProperty]
platformArn :: Maybe (Value Text)
solutionStackName :: Maybe (Value Text)
..}