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