module Stratosphere.ECS.CapacityProvider.InstanceLaunchTemplateProperty (
        module Exports, InstanceLaunchTemplateProperty(..),
        mkInstanceLaunchTemplateProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ECS.CapacityProvider.InstanceRequirementsRequestProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.CapacityProvider.ManagedInstancesNetworkConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.CapacityProvider.ManagedInstancesStorageConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data InstanceLaunchTemplateProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancelaunchtemplate.html>
    InstanceLaunchTemplateProperty {InstanceLaunchTemplateProperty -> ()
haddock_workaround_ :: (),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancelaunchtemplate.html#cfn-ecs-capacityprovider-instancelaunchtemplate-ec2instanceprofilearn>
                                    InstanceLaunchTemplateProperty -> Value Text
ec2InstanceProfileArn :: (Value Prelude.Text),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancelaunchtemplate.html#cfn-ecs-capacityprovider-instancelaunchtemplate-instancerequirements>
                                    InstanceLaunchTemplateProperty
-> Maybe InstanceRequirementsRequestProperty
instanceRequirements :: (Prelude.Maybe InstanceRequirementsRequestProperty),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancelaunchtemplate.html#cfn-ecs-capacityprovider-instancelaunchtemplate-monitoring>
                                    InstanceLaunchTemplateProperty -> Maybe (Value Text)
monitoring :: (Prelude.Maybe (Value Prelude.Text)),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancelaunchtemplate.html#cfn-ecs-capacityprovider-instancelaunchtemplate-networkconfiguration>
                                    InstanceLaunchTemplateProperty
-> ManagedInstancesNetworkConfigurationProperty
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty,
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancelaunchtemplate.html#cfn-ecs-capacityprovider-instancelaunchtemplate-storageconfiguration>
                                    InstanceLaunchTemplateProperty
-> Maybe ManagedInstancesStorageConfigurationProperty
storageConfiguration :: (Prelude.Maybe ManagedInstancesStorageConfigurationProperty)}
  deriving stock (InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> Bool
(InstanceLaunchTemplateProperty
 -> InstanceLaunchTemplateProperty -> Bool)
-> (InstanceLaunchTemplateProperty
    -> InstanceLaunchTemplateProperty -> Bool)
-> Eq InstanceLaunchTemplateProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> Bool
== :: InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> Bool
$c/= :: InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> Bool
/= :: InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> Bool
Prelude.Eq, Int -> InstanceLaunchTemplateProperty -> ShowS
[InstanceLaunchTemplateProperty] -> ShowS
InstanceLaunchTemplateProperty -> String
(Int -> InstanceLaunchTemplateProperty -> ShowS)
-> (InstanceLaunchTemplateProperty -> String)
-> ([InstanceLaunchTemplateProperty] -> ShowS)
-> Show InstanceLaunchTemplateProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InstanceLaunchTemplateProperty -> ShowS
showsPrec :: Int -> InstanceLaunchTemplateProperty -> ShowS
$cshow :: InstanceLaunchTemplateProperty -> String
show :: InstanceLaunchTemplateProperty -> String
$cshowList :: [InstanceLaunchTemplateProperty] -> ShowS
showList :: [InstanceLaunchTemplateProperty] -> ShowS
Prelude.Show)
mkInstanceLaunchTemplateProperty ::
  Value Prelude.Text
  -> ManagedInstancesNetworkConfigurationProperty
     -> InstanceLaunchTemplateProperty
mkInstanceLaunchTemplateProperty :: Value Text
-> ManagedInstancesNetworkConfigurationProperty
-> InstanceLaunchTemplateProperty
mkInstanceLaunchTemplateProperty
  Value Text
ec2InstanceProfileArn
  ManagedInstancesNetworkConfigurationProperty
networkConfiguration
  = InstanceLaunchTemplateProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       ec2InstanceProfileArn :: Value Text
ec2InstanceProfileArn = Value Text
ec2InstanceProfileArn,
       networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
networkConfiguration = ManagedInstancesNetworkConfigurationProperty
networkConfiguration,
       instanceRequirements :: Maybe InstanceRequirementsRequestProperty
instanceRequirements = Maybe InstanceRequirementsRequestProperty
forall a. Maybe a
Prelude.Nothing,
       monitoring :: Maybe (Value Text)
monitoring = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
storageConfiguration = Maybe ManagedInstancesStorageConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties InstanceLaunchTemplateProperty where
  toResourceProperties :: InstanceLaunchTemplateProperty -> ResourceProperties
toResourceProperties InstanceLaunchTemplateProperty {Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: InstanceLaunchTemplateProperty -> ()
ec2InstanceProfileArn :: InstanceLaunchTemplateProperty -> Value Text
instanceRequirements :: InstanceLaunchTemplateProperty
-> Maybe InstanceRequirementsRequestProperty
monitoring :: InstanceLaunchTemplateProperty -> Maybe (Value Text)
networkConfiguration :: InstanceLaunchTemplateProperty
-> ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: InstanceLaunchTemplateProperty
-> Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ECS::CapacityProvider.InstanceLaunchTemplate",
         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
"Ec2InstanceProfileArn" 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
ec2InstanceProfileArn,
                            Key
"NetworkConfiguration" Key -> ManagedInstancesNetworkConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ManagedInstancesNetworkConfigurationProperty
networkConfiguration]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> InstanceRequirementsRequestProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InstanceRequirements" (InstanceRequirementsRequestProperty -> (Key, Value))
-> Maybe InstanceRequirementsRequestProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InstanceRequirementsRequestProperty
instanceRequirements,
                               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
"Monitoring" (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)
monitoring,
                               Key -> ManagedInstancesStorageConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageConfiguration"
                                 (ManagedInstancesStorageConfigurationProperty -> (Key, Value))
-> Maybe ManagedInstancesStorageConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ManagedInstancesStorageConfigurationProperty
storageConfiguration]))}
instance JSON.ToJSON InstanceLaunchTemplateProperty where
  toJSON :: InstanceLaunchTemplateProperty -> Value
toJSON InstanceLaunchTemplateProperty {Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: InstanceLaunchTemplateProperty -> ()
ec2InstanceProfileArn :: InstanceLaunchTemplateProperty -> Value Text
instanceRequirements :: InstanceLaunchTemplateProperty
-> Maybe InstanceRequirementsRequestProperty
monitoring :: InstanceLaunchTemplateProperty -> Maybe (Value Text)
networkConfiguration :: InstanceLaunchTemplateProperty
-> ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: InstanceLaunchTemplateProperty
-> Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
    = [(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
"Ec2InstanceProfileArn" 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
ec2InstanceProfileArn,
               Key
"NetworkConfiguration" Key -> ManagedInstancesNetworkConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ManagedInstancesNetworkConfigurationProperty
networkConfiguration]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> InstanceRequirementsRequestProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InstanceRequirements" (InstanceRequirementsRequestProperty -> (Key, Value))
-> Maybe InstanceRequirementsRequestProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InstanceRequirementsRequestProperty
instanceRequirements,
                  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
"Monitoring" (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)
monitoring,
                  Key -> ManagedInstancesStorageConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageConfiguration"
                    (ManagedInstancesStorageConfigurationProperty -> (Key, Value))
-> Maybe ManagedInstancesStorageConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ManagedInstancesStorageConfigurationProperty
storageConfiguration])))
instance Property "Ec2InstanceProfileArn" InstanceLaunchTemplateProperty where
  type PropertyType "Ec2InstanceProfileArn" InstanceLaunchTemplateProperty = Value Prelude.Text
  set :: PropertyType "Ec2InstanceProfileArn" InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> InstanceLaunchTemplateProperty
set PropertyType "Ec2InstanceProfileArn" InstanceLaunchTemplateProperty
newValue InstanceLaunchTemplateProperty {Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: InstanceLaunchTemplateProperty -> ()
ec2InstanceProfileArn :: InstanceLaunchTemplateProperty -> Value Text
instanceRequirements :: InstanceLaunchTemplateProperty
-> Maybe InstanceRequirementsRequestProperty
monitoring :: InstanceLaunchTemplateProperty -> Maybe (Value Text)
networkConfiguration :: InstanceLaunchTemplateProperty
-> ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: InstanceLaunchTemplateProperty
-> Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
    = InstanceLaunchTemplateProperty
        {ec2InstanceProfileArn :: Value Text
ec2InstanceProfileArn = PropertyType "Ec2InstanceProfileArn" InstanceLaunchTemplateProperty
Value Text
newValue, Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: ()
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
instance Property "InstanceRequirements" InstanceLaunchTemplateProperty where
  type PropertyType "InstanceRequirements" InstanceLaunchTemplateProperty = InstanceRequirementsRequestProperty
  set :: PropertyType "InstanceRequirements" InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> InstanceLaunchTemplateProperty
set PropertyType "InstanceRequirements" InstanceLaunchTemplateProperty
newValue InstanceLaunchTemplateProperty {Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: InstanceLaunchTemplateProperty -> ()
ec2InstanceProfileArn :: InstanceLaunchTemplateProperty -> Value Text
instanceRequirements :: InstanceLaunchTemplateProperty
-> Maybe InstanceRequirementsRequestProperty
monitoring :: InstanceLaunchTemplateProperty -> Maybe (Value Text)
networkConfiguration :: InstanceLaunchTemplateProperty
-> ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: InstanceLaunchTemplateProperty
-> Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
    = InstanceLaunchTemplateProperty
        {instanceRequirements :: Maybe InstanceRequirementsRequestProperty
instanceRequirements = InstanceRequirementsRequestProperty
-> Maybe InstanceRequirementsRequestProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InstanceRequirements" InstanceLaunchTemplateProperty
InstanceRequirementsRequestProperty
newValue, Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
instance Property "Monitoring" InstanceLaunchTemplateProperty where
  type PropertyType "Monitoring" InstanceLaunchTemplateProperty = Value Prelude.Text
  set :: PropertyType "Monitoring" InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> InstanceLaunchTemplateProperty
set PropertyType "Monitoring" InstanceLaunchTemplateProperty
newValue InstanceLaunchTemplateProperty {Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: InstanceLaunchTemplateProperty -> ()
ec2InstanceProfileArn :: InstanceLaunchTemplateProperty -> Value Text
instanceRequirements :: InstanceLaunchTemplateProperty
-> Maybe InstanceRequirementsRequestProperty
monitoring :: InstanceLaunchTemplateProperty -> Maybe (Value Text)
networkConfiguration :: InstanceLaunchTemplateProperty
-> ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: InstanceLaunchTemplateProperty
-> Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
    = InstanceLaunchTemplateProperty
        {monitoring :: Maybe (Value Text)
monitoring = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Monitoring" InstanceLaunchTemplateProperty
Value Text
newValue, Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
instance Property "NetworkConfiguration" InstanceLaunchTemplateProperty where
  type PropertyType "NetworkConfiguration" InstanceLaunchTemplateProperty = ManagedInstancesNetworkConfigurationProperty
  set :: PropertyType "NetworkConfiguration" InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> InstanceLaunchTemplateProperty
set PropertyType "NetworkConfiguration" InstanceLaunchTemplateProperty
newValue InstanceLaunchTemplateProperty {Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: InstanceLaunchTemplateProperty -> ()
ec2InstanceProfileArn :: InstanceLaunchTemplateProperty -> Value Text
instanceRequirements :: InstanceLaunchTemplateProperty
-> Maybe InstanceRequirementsRequestProperty
monitoring :: InstanceLaunchTemplateProperty -> Maybe (Value Text)
networkConfiguration :: InstanceLaunchTemplateProperty
-> ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: InstanceLaunchTemplateProperty
-> Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
    = InstanceLaunchTemplateProperty
        {networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
networkConfiguration = PropertyType "NetworkConfiguration" InstanceLaunchTemplateProperty
ManagedInstancesNetworkConfigurationProperty
newValue, Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
Value Text
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
instance Property "StorageConfiguration" InstanceLaunchTemplateProperty where
  type PropertyType "StorageConfiguration" InstanceLaunchTemplateProperty = ManagedInstancesStorageConfigurationProperty
  set :: PropertyType "StorageConfiguration" InstanceLaunchTemplateProperty
-> InstanceLaunchTemplateProperty -> InstanceLaunchTemplateProperty
set PropertyType "StorageConfiguration" InstanceLaunchTemplateProperty
newValue InstanceLaunchTemplateProperty {Maybe (Value Text)
Maybe ManagedInstancesStorageConfigurationProperty
Maybe InstanceRequirementsRequestProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: InstanceLaunchTemplateProperty -> ()
ec2InstanceProfileArn :: InstanceLaunchTemplateProperty -> Value Text
instanceRequirements :: InstanceLaunchTemplateProperty
-> Maybe InstanceRequirementsRequestProperty
monitoring :: InstanceLaunchTemplateProperty -> Maybe (Value Text)
networkConfiguration :: InstanceLaunchTemplateProperty
-> ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: InstanceLaunchTemplateProperty
-> Maybe ManagedInstancesStorageConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
..}
    = InstanceLaunchTemplateProperty
        {storageConfiguration :: Maybe ManagedInstancesStorageConfigurationProperty
storageConfiguration = ManagedInstancesStorageConfigurationProperty
-> Maybe ManagedInstancesStorageConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StorageConfiguration" InstanceLaunchTemplateProperty
ManagedInstancesStorageConfigurationProperty
newValue, Maybe (Value Text)
Maybe InstanceRequirementsRequestProperty
()
Value Text
ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
haddock_workaround_ :: ()
ec2InstanceProfileArn :: Value Text
instanceRequirements :: Maybe InstanceRequirementsRequestProperty
monitoring :: Maybe (Value Text)
networkConfiguration :: ManagedInstancesNetworkConfigurationProperty
..}