module Stratosphere.EMR.Cluster.InstanceGroupConfigProperty (
        module Exports, InstanceGroupConfigProperty(..),
        mkInstanceGroupConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.EMR.Cluster.AutoScalingPolicyProperty as Exports
import {-# SOURCE #-} Stratosphere.EMR.Cluster.ConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.EMR.Cluster.EbsConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data InstanceGroupConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html>
    InstanceGroupConfigProperty {InstanceGroupConfigProperty -> ()
haddock_workaround_ :: (),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-autoscalingpolicy>
                                 InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
autoScalingPolicy :: (Prelude.Maybe AutoScalingPolicyProperty),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-bidprice>
                                 InstanceGroupConfigProperty -> Maybe (Value Text)
bidPrice :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-configurations>
                                 InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
configurations :: (Prelude.Maybe [ConfigurationProperty]),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-customamiid>
                                 InstanceGroupConfigProperty -> Maybe (Value Text)
customAmiId :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-ebsconfiguration>
                                 InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
ebsConfiguration :: (Prelude.Maybe EbsConfigurationProperty),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-instancecount>
                                 InstanceGroupConfigProperty -> Value Integer
instanceCount :: (Value Prelude.Integer),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-instancetype>
                                 InstanceGroupConfigProperty -> Value Text
instanceType :: (Value Prelude.Text),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-market>
                                 InstanceGroupConfigProperty -> Maybe (Value Text)
market :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-name>
                                 InstanceGroupConfigProperty -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (InstanceGroupConfigProperty -> InstanceGroupConfigProperty -> Bool
(InstanceGroupConfigProperty
 -> InstanceGroupConfigProperty -> Bool)
-> (InstanceGroupConfigProperty
    -> InstanceGroupConfigProperty -> Bool)
-> Eq InstanceGroupConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InstanceGroupConfigProperty -> InstanceGroupConfigProperty -> Bool
== :: InstanceGroupConfigProperty -> InstanceGroupConfigProperty -> Bool
$c/= :: InstanceGroupConfigProperty -> InstanceGroupConfigProperty -> Bool
/= :: InstanceGroupConfigProperty -> InstanceGroupConfigProperty -> Bool
Prelude.Eq, Int -> InstanceGroupConfigProperty -> ShowS
[InstanceGroupConfigProperty] -> ShowS
InstanceGroupConfigProperty -> String
(Int -> InstanceGroupConfigProperty -> ShowS)
-> (InstanceGroupConfigProperty -> String)
-> ([InstanceGroupConfigProperty] -> ShowS)
-> Show InstanceGroupConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InstanceGroupConfigProperty -> ShowS
showsPrec :: Int -> InstanceGroupConfigProperty -> ShowS
$cshow :: InstanceGroupConfigProperty -> String
show :: InstanceGroupConfigProperty -> String
$cshowList :: [InstanceGroupConfigProperty] -> ShowS
showList :: [InstanceGroupConfigProperty] -> ShowS
Prelude.Show)
mkInstanceGroupConfigProperty ::
  Value Prelude.Integer
  -> Value Prelude.Text -> InstanceGroupConfigProperty
mkInstanceGroupConfigProperty :: Value Integer -> Value Text -> InstanceGroupConfigProperty
mkInstanceGroupConfigProperty Value Integer
instanceCount Value Text
instanceType
  = InstanceGroupConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), instanceCount :: Value Integer
instanceCount = Value Integer
instanceCount,
       instanceType :: Value Text
instanceType = Value Text
instanceType, autoScalingPolicy :: Maybe AutoScalingPolicyProperty
autoScalingPolicy = Maybe AutoScalingPolicyProperty
forall a. Maybe a
Prelude.Nothing,
       bidPrice :: Maybe (Value Text)
bidPrice = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, configurations :: Maybe [ConfigurationProperty]
configurations = Maybe [ConfigurationProperty]
forall a. Maybe a
Prelude.Nothing,
       customAmiId :: Maybe (Value Text)
customAmiId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, ebsConfiguration :: Maybe EbsConfigurationProperty
ebsConfiguration = Maybe EbsConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       market :: Maybe (Value Text)
market = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties InstanceGroupConfigProperty where
  toResourceProperties :: InstanceGroupConfigProperty -> ResourceProperties
toResourceProperties InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EMR::Cluster.InstanceGroupConfig",
         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
"InstanceCount" Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Integer
instanceCount,
                            Key
"InstanceType" 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
instanceType]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> AutoScalingPolicyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AutoScalingPolicy" (AutoScalingPolicyProperty -> (Key, Value))
-> Maybe AutoScalingPolicyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AutoScalingPolicyProperty
autoScalingPolicy,
                               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
"BidPrice" (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)
bidPrice,
                               Key -> [ConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Configurations" ([ConfigurationProperty] -> (Key, Value))
-> Maybe [ConfigurationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConfigurationProperty]
configurations,
                               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
"CustomAmiId" (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)
customAmiId,
                               Key -> EbsConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EbsConfiguration" (EbsConfigurationProperty -> (Key, Value))
-> Maybe EbsConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EbsConfigurationProperty
ebsConfiguration,
                               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
"Market" (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)
market,
                               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
"Name" (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)
name]))}
instance JSON.ToJSON InstanceGroupConfigProperty where
  toJSON :: InstanceGroupConfigProperty -> Value
toJSON InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: 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
"InstanceCount" Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Integer
instanceCount,
               Key
"InstanceType" 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
instanceType]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> AutoScalingPolicyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AutoScalingPolicy" (AutoScalingPolicyProperty -> (Key, Value))
-> Maybe AutoScalingPolicyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AutoScalingPolicyProperty
autoScalingPolicy,
                  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
"BidPrice" (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)
bidPrice,
                  Key -> [ConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Configurations" ([ConfigurationProperty] -> (Key, Value))
-> Maybe [ConfigurationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConfigurationProperty]
configurations,
                  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
"CustomAmiId" (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)
customAmiId,
                  Key -> EbsConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EbsConfiguration" (EbsConfigurationProperty -> (Key, Value))
-> Maybe EbsConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EbsConfigurationProperty
ebsConfiguration,
                  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
"Market" (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)
market,
                  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
"Name" (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)
name])))
instance Property "AutoScalingPolicy" InstanceGroupConfigProperty where
  type PropertyType "AutoScalingPolicy" InstanceGroupConfigProperty = AutoScalingPolicyProperty
  set :: PropertyType "AutoScalingPolicy" InstanceGroupConfigProperty
-> InstanceGroupConfigProperty -> InstanceGroupConfigProperty
set PropertyType "AutoScalingPolicy" InstanceGroupConfigProperty
newValue InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = InstanceGroupConfigProperty
        {autoScalingPolicy :: Maybe AutoScalingPolicyProperty
autoScalingPolicy = AutoScalingPolicyProperty -> Maybe AutoScalingPolicyProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AutoScalingPolicy" InstanceGroupConfigProperty
AutoScalingPolicyProperty
newValue, Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "BidPrice" InstanceGroupConfigProperty where
  type PropertyType "BidPrice" InstanceGroupConfigProperty = Value Prelude.Text
  set :: PropertyType "BidPrice" InstanceGroupConfigProperty
-> InstanceGroupConfigProperty -> InstanceGroupConfigProperty
set PropertyType "BidPrice" InstanceGroupConfigProperty
newValue InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = InstanceGroupConfigProperty
        {bidPrice :: Maybe (Value Text)
bidPrice = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BidPrice" InstanceGroupConfigProperty
Value Text
newValue, Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "Configurations" InstanceGroupConfigProperty where
  type PropertyType "Configurations" InstanceGroupConfigProperty = [ConfigurationProperty]
  set :: PropertyType "Configurations" InstanceGroupConfigProperty
-> InstanceGroupConfigProperty -> InstanceGroupConfigProperty
set PropertyType "Configurations" InstanceGroupConfigProperty
newValue InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = InstanceGroupConfigProperty
        {configurations :: Maybe [ConfigurationProperty]
configurations = [ConfigurationProperty] -> Maybe [ConfigurationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ConfigurationProperty]
PropertyType "Configurations" InstanceGroupConfigProperty
newValue, Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "CustomAmiId" InstanceGroupConfigProperty where
  type PropertyType "CustomAmiId" InstanceGroupConfigProperty = Value Prelude.Text
  set :: PropertyType "CustomAmiId" InstanceGroupConfigProperty
-> InstanceGroupConfigProperty -> InstanceGroupConfigProperty
set PropertyType "CustomAmiId" InstanceGroupConfigProperty
newValue InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = InstanceGroupConfigProperty
        {customAmiId :: Maybe (Value Text)
customAmiId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CustomAmiId" InstanceGroupConfigProperty
Value Text
newValue, Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "EbsConfiguration" InstanceGroupConfigProperty where
  type PropertyType "EbsConfiguration" InstanceGroupConfigProperty = EbsConfigurationProperty
  set :: PropertyType "EbsConfiguration" InstanceGroupConfigProperty
-> InstanceGroupConfigProperty -> InstanceGroupConfigProperty
set PropertyType "EbsConfiguration" InstanceGroupConfigProperty
newValue InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = InstanceGroupConfigProperty
        {ebsConfiguration :: Maybe EbsConfigurationProperty
ebsConfiguration = EbsConfigurationProperty -> Maybe EbsConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EbsConfiguration" InstanceGroupConfigProperty
EbsConfigurationProperty
newValue, Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "InstanceCount" InstanceGroupConfigProperty where
  type PropertyType "InstanceCount" InstanceGroupConfigProperty = Value Prelude.Integer
  set :: PropertyType "InstanceCount" InstanceGroupConfigProperty
-> InstanceGroupConfigProperty -> InstanceGroupConfigProperty
set PropertyType "InstanceCount" InstanceGroupConfigProperty
newValue InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = InstanceGroupConfigProperty {instanceCount :: Value Integer
instanceCount = PropertyType "InstanceCount" InstanceGroupConfigProperty
Value Integer
newValue, Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "InstanceType" InstanceGroupConfigProperty where
  type PropertyType "InstanceType" InstanceGroupConfigProperty = Value Prelude.Text
  set :: PropertyType "InstanceType" InstanceGroupConfigProperty
-> InstanceGroupConfigProperty -> InstanceGroupConfigProperty
set PropertyType "InstanceType" InstanceGroupConfigProperty
newValue InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = InstanceGroupConfigProperty {instanceType :: Value Text
instanceType = PropertyType "InstanceType" InstanceGroupConfigProperty
Value Text
newValue, Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
market :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "Market" InstanceGroupConfigProperty where
  type PropertyType "Market" InstanceGroupConfigProperty = Value Prelude.Text
  set :: PropertyType "Market" InstanceGroupConfigProperty
-> InstanceGroupConfigProperty -> InstanceGroupConfigProperty
set PropertyType "Market" InstanceGroupConfigProperty
newValue InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = InstanceGroupConfigProperty {market :: Maybe (Value Text)
market = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Market" InstanceGroupConfigProperty
Value Text
newValue, Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
name :: Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
name :: Maybe (Value Text)
..}
instance Property "Name" InstanceGroupConfigProperty where
  type PropertyType "Name" InstanceGroupConfigProperty = Value Prelude.Text
  set :: PropertyType "Name" InstanceGroupConfigProperty
-> InstanceGroupConfigProperty -> InstanceGroupConfigProperty
set PropertyType "Name" InstanceGroupConfigProperty
newValue InstanceGroupConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: InstanceGroupConfigProperty -> ()
autoScalingPolicy :: InstanceGroupConfigProperty -> Maybe AutoScalingPolicyProperty
bidPrice :: InstanceGroupConfigProperty -> Maybe (Value Text)
configurations :: InstanceGroupConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceGroupConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceGroupConfigProperty -> Maybe EbsConfigurationProperty
instanceCount :: InstanceGroupConfigProperty -> Value Integer
instanceType :: InstanceGroupConfigProperty -> Value Text
market :: InstanceGroupConfigProperty -> Maybe (Value Text)
name :: InstanceGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = InstanceGroupConfigProperty {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" InstanceGroupConfigProperty
Value Text
newValue, Maybe [ConfigurationProperty]
Maybe (Value Text)
Maybe AutoScalingPolicyProperty
Maybe EbsConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
haddock_workaround_ :: ()
autoScalingPolicy :: Maybe AutoScalingPolicyProperty
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceCount :: Value Integer
instanceType :: Value Text
market :: Maybe (Value Text)
..}