module Stratosphere.ImageBuilder.DistributionConfiguration.FastLaunchConfigurationProperty (
        module Exports, FastLaunchConfigurationProperty(..),
        mkFastLaunchConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ImageBuilder.DistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty as Exports
import {-# SOURCE #-} Stratosphere.ImageBuilder.DistributionConfiguration.FastLaunchSnapshotConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data FastLaunchConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html>
    FastLaunchConfigurationProperty {FastLaunchConfigurationProperty -> ()
haddock_workaround_ :: (),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-accountid>
                                     FastLaunchConfigurationProperty -> Maybe (Value Text)
accountId :: (Prelude.Maybe (Value Prelude.Text)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-enabled>
                                     FastLaunchConfigurationProperty -> Maybe (Value Bool)
enabled :: (Prelude.Maybe (Value Prelude.Bool)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-launchtemplate>
                                     FastLaunchConfigurationProperty
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
launchTemplate :: (Prelude.Maybe FastLaunchLaunchTemplateSpecificationProperty),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-maxparallellaunches>
                                     FastLaunchConfigurationProperty -> Maybe (Value Integer)
maxParallelLaunches :: (Prelude.Maybe (Value Prelude.Integer)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-fastlaunchconfiguration.html#cfn-imagebuilder-distributionconfiguration-fastlaunchconfiguration-snapshotconfiguration>
                                     FastLaunchConfigurationProperty
-> Maybe FastLaunchSnapshotConfigurationProperty
snapshotConfiguration :: (Prelude.Maybe FastLaunchSnapshotConfigurationProperty)}
  deriving stock (FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty -> Bool
(FastLaunchConfigurationProperty
 -> FastLaunchConfigurationProperty -> Bool)
-> (FastLaunchConfigurationProperty
    -> FastLaunchConfigurationProperty -> Bool)
-> Eq FastLaunchConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty -> Bool
== :: FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty -> Bool
$c/= :: FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty -> Bool
/= :: FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty -> Bool
Prelude.Eq, Int -> FastLaunchConfigurationProperty -> ShowS
[FastLaunchConfigurationProperty] -> ShowS
FastLaunchConfigurationProperty -> String
(Int -> FastLaunchConfigurationProperty -> ShowS)
-> (FastLaunchConfigurationProperty -> String)
-> ([FastLaunchConfigurationProperty] -> ShowS)
-> Show FastLaunchConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FastLaunchConfigurationProperty -> ShowS
showsPrec :: Int -> FastLaunchConfigurationProperty -> ShowS
$cshow :: FastLaunchConfigurationProperty -> String
show :: FastLaunchConfigurationProperty -> String
$cshowList :: [FastLaunchConfigurationProperty] -> ShowS
showList :: [FastLaunchConfigurationProperty] -> ShowS
Prelude.Show)
mkFastLaunchConfigurationProperty ::
  FastLaunchConfigurationProperty
mkFastLaunchConfigurationProperty :: FastLaunchConfigurationProperty
mkFastLaunchConfigurationProperty
  = FastLaunchConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), accountId :: Maybe (Value Text)
accountId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       enabled :: Maybe (Value Bool)
enabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
launchTemplate = Maybe FastLaunchLaunchTemplateSpecificationProperty
forall a. Maybe a
Prelude.Nothing,
       maxParallelLaunches :: Maybe (Value Integer)
maxParallelLaunches = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
snapshotConfiguration = Maybe FastLaunchSnapshotConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties FastLaunchConfigurationProperty where
  toResourceProperties :: FastLaunchConfigurationProperty -> ResourceProperties
toResourceProperties FastLaunchConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: FastLaunchConfigurationProperty -> ()
accountId :: FastLaunchConfigurationProperty -> Maybe (Value Text)
enabled :: FastLaunchConfigurationProperty -> Maybe (Value Bool)
launchTemplate :: FastLaunchConfigurationProperty
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: FastLaunchConfigurationProperty -> Maybe (Value Integer)
snapshotConfiguration :: FastLaunchConfigurationProperty
-> Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ImageBuilder::DistributionConfiguration.FastLaunchConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([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
"AccountId" (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)
accountId,
                            Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
                            Key
-> FastLaunchLaunchTemplateSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LaunchTemplate" (FastLaunchLaunchTemplateSpecificationProperty -> (Key, Value))
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FastLaunchLaunchTemplateSpecificationProperty
launchTemplate,
                            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..=) Key
"MaxParallelLaunches" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxParallelLaunches,
                            Key -> FastLaunchSnapshotConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SnapshotConfiguration"
                              (FastLaunchSnapshotConfigurationProperty -> (Key, Value))
-> Maybe FastLaunchSnapshotConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FastLaunchSnapshotConfigurationProperty
snapshotConfiguration])}
instance JSON.ToJSON FastLaunchConfigurationProperty where
  toJSON :: FastLaunchConfigurationProperty -> Value
toJSON FastLaunchConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: FastLaunchConfigurationProperty -> ()
accountId :: FastLaunchConfigurationProperty -> Maybe (Value Text)
enabled :: FastLaunchConfigurationProperty -> Maybe (Value Bool)
launchTemplate :: FastLaunchConfigurationProperty
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: FastLaunchConfigurationProperty -> Maybe (Value Integer)
snapshotConfiguration :: FastLaunchConfigurationProperty
-> Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([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
"AccountId" (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)
accountId,
               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
               Key
-> FastLaunchLaunchTemplateSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LaunchTemplate" (FastLaunchLaunchTemplateSpecificationProperty -> (Key, Value))
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FastLaunchLaunchTemplateSpecificationProperty
launchTemplate,
               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..=) Key
"MaxParallelLaunches" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxParallelLaunches,
               Key -> FastLaunchSnapshotConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SnapshotConfiguration"
                 (FastLaunchSnapshotConfigurationProperty -> (Key, Value))
-> Maybe FastLaunchSnapshotConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FastLaunchSnapshotConfigurationProperty
snapshotConfiguration]))
instance Property "AccountId" FastLaunchConfigurationProperty where
  type PropertyType "AccountId" FastLaunchConfigurationProperty = Value Prelude.Text
  set :: PropertyType "AccountId" FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
set PropertyType "AccountId" FastLaunchConfigurationProperty
newValue FastLaunchConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: FastLaunchConfigurationProperty -> ()
accountId :: FastLaunchConfigurationProperty -> Maybe (Value Text)
enabled :: FastLaunchConfigurationProperty -> Maybe (Value Bool)
launchTemplate :: FastLaunchConfigurationProperty
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: FastLaunchConfigurationProperty -> Maybe (Value Integer)
snapshotConfiguration :: FastLaunchConfigurationProperty
-> Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
    = FastLaunchConfigurationProperty
        {accountId :: Maybe (Value Text)
accountId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AccountId" FastLaunchConfigurationProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
instance Property "Enabled" FastLaunchConfigurationProperty where
  type PropertyType "Enabled" FastLaunchConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "Enabled" FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
set PropertyType "Enabled" FastLaunchConfigurationProperty
newValue FastLaunchConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: FastLaunchConfigurationProperty -> ()
accountId :: FastLaunchConfigurationProperty -> Maybe (Value Text)
enabled :: FastLaunchConfigurationProperty -> Maybe (Value Bool)
launchTemplate :: FastLaunchConfigurationProperty
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: FastLaunchConfigurationProperty -> Maybe (Value Integer)
snapshotConfiguration :: FastLaunchConfigurationProperty
-> Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
    = FastLaunchConfigurationProperty
        {enabled :: Maybe (Value Bool)
enabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Enabled" FastLaunchConfigurationProperty
Value Bool
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
instance Property "LaunchTemplate" FastLaunchConfigurationProperty where
  type PropertyType "LaunchTemplate" FastLaunchConfigurationProperty = FastLaunchLaunchTemplateSpecificationProperty
  set :: PropertyType "LaunchTemplate" FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
set PropertyType "LaunchTemplate" FastLaunchConfigurationProperty
newValue FastLaunchConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: FastLaunchConfigurationProperty -> ()
accountId :: FastLaunchConfigurationProperty -> Maybe (Value Text)
enabled :: FastLaunchConfigurationProperty -> Maybe (Value Bool)
launchTemplate :: FastLaunchConfigurationProperty
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: FastLaunchConfigurationProperty -> Maybe (Value Integer)
snapshotConfiguration :: FastLaunchConfigurationProperty
-> Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
    = FastLaunchConfigurationProperty
        {launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
launchTemplate = FastLaunchLaunchTemplateSpecificationProperty
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LaunchTemplate" FastLaunchConfigurationProperty
FastLaunchLaunchTemplateSpecificationProperty
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
instance Property "MaxParallelLaunches" FastLaunchConfigurationProperty where
  type PropertyType "MaxParallelLaunches" FastLaunchConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "MaxParallelLaunches" FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
set PropertyType "MaxParallelLaunches" FastLaunchConfigurationProperty
newValue FastLaunchConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: FastLaunchConfigurationProperty -> ()
accountId :: FastLaunchConfigurationProperty -> Maybe (Value Text)
enabled :: FastLaunchConfigurationProperty -> Maybe (Value Bool)
launchTemplate :: FastLaunchConfigurationProperty
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: FastLaunchConfigurationProperty -> Maybe (Value Integer)
snapshotConfiguration :: FastLaunchConfigurationProperty
-> Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
    = FastLaunchConfigurationProperty
        {maxParallelLaunches :: Maybe (Value Integer)
maxParallelLaunches = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MaxParallelLaunches" FastLaunchConfigurationProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
instance Property "SnapshotConfiguration" FastLaunchConfigurationProperty where
  type PropertyType "SnapshotConfiguration" FastLaunchConfigurationProperty = FastLaunchSnapshotConfigurationProperty
  set :: PropertyType
  "SnapshotConfiguration" FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
-> FastLaunchConfigurationProperty
set PropertyType
  "SnapshotConfiguration" FastLaunchConfigurationProperty
newValue FastLaunchConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
Maybe FastLaunchSnapshotConfigurationProperty
()
haddock_workaround_ :: FastLaunchConfigurationProperty -> ()
accountId :: FastLaunchConfigurationProperty -> Maybe (Value Text)
enabled :: FastLaunchConfigurationProperty -> Maybe (Value Bool)
launchTemplate :: FastLaunchConfigurationProperty
-> Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: FastLaunchConfigurationProperty -> Maybe (Value Integer)
snapshotConfiguration :: FastLaunchConfigurationProperty
-> Maybe FastLaunchSnapshotConfigurationProperty
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
..}
    = FastLaunchConfigurationProperty
        {snapshotConfiguration :: Maybe FastLaunchSnapshotConfigurationProperty
snapshotConfiguration = FastLaunchSnapshotConfigurationProperty
-> Maybe FastLaunchSnapshotConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "SnapshotConfiguration" FastLaunchConfigurationProperty
FastLaunchSnapshotConfigurationProperty
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe FastLaunchLaunchTemplateSpecificationProperty
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
launchTemplate :: Maybe FastLaunchLaunchTemplateSpecificationProperty
maxParallelLaunches :: Maybe (Value Integer)
..}