module Stratosphere.Deadline.Fleet.ServiceManagedEc2InstanceCapabilitiesProperty (
        module Exports, ServiceManagedEc2InstanceCapabilitiesProperty(..),
        mkServiceManagedEc2InstanceCapabilitiesProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Deadline.Fleet.AcceleratorCapabilitiesProperty as Exports
import {-# SOURCE #-} Stratosphere.Deadline.Fleet.Ec2EbsVolumeProperty as Exports
import {-# SOURCE #-} Stratosphere.Deadline.Fleet.FleetAmountCapabilityProperty as Exports
import {-# SOURCE #-} Stratosphere.Deadline.Fleet.FleetAttributeCapabilityProperty as Exports
import {-# SOURCE #-} Stratosphere.Deadline.Fleet.MemoryMiBRangeProperty as Exports
import {-# SOURCE #-} Stratosphere.Deadline.Fleet.VCpuCountRangeProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ServiceManagedEc2InstanceCapabilitiesProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html>
    ServiceManagedEc2InstanceCapabilitiesProperty {ServiceManagedEc2InstanceCapabilitiesProperty -> ()
haddock_workaround_ :: (),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-acceleratorcapabilities>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
acceleratorCapabilities :: (Prelude.Maybe AcceleratorCapabilitiesProperty),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-allowedinstancetypes>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
allowedInstanceTypes :: (Prelude.Maybe (ValueList Prelude.Text)),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-cpuarchitecturetype>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
cpuArchitectureType :: (Value Prelude.Text),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-customamounts>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAmounts :: (Prelude.Maybe [FleetAmountCapabilityProperty]),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-customattributes>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
customAttributes :: (Prelude.Maybe [FleetAttributeCapabilityProperty]),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-excludedinstancetypes>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
excludedInstanceTypes :: (Prelude.Maybe (ValueList Prelude.Text)),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-memorymib>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
memoryMiB :: MemoryMiBRangeProperty,
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-osfamily>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
osFamily :: (Value Prelude.Text),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-rootebsvolume>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
rootEbsVolume :: (Prelude.Maybe Ec2EbsVolumeProperty),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-vcpucount>
                                                   ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
vCpuCount :: VCpuCountRangeProperty}
  deriving stock (ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty -> Bool
(ServiceManagedEc2InstanceCapabilitiesProperty
 -> ServiceManagedEc2InstanceCapabilitiesProperty -> Bool)
-> (ServiceManagedEc2InstanceCapabilitiesProperty
    -> ServiceManagedEc2InstanceCapabilitiesProperty -> Bool)
-> Eq ServiceManagedEc2InstanceCapabilitiesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty -> Bool
== :: ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty -> Bool
$c/= :: ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty -> Bool
/= :: ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty -> Bool
Prelude.Eq, Int -> ServiceManagedEc2InstanceCapabilitiesProperty -> ShowS
[ServiceManagedEc2InstanceCapabilitiesProperty] -> ShowS
ServiceManagedEc2InstanceCapabilitiesProperty -> String
(Int -> ServiceManagedEc2InstanceCapabilitiesProperty -> ShowS)
-> (ServiceManagedEc2InstanceCapabilitiesProperty -> String)
-> ([ServiceManagedEc2InstanceCapabilitiesProperty] -> ShowS)
-> Show ServiceManagedEc2InstanceCapabilitiesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ServiceManagedEc2InstanceCapabilitiesProperty -> ShowS
showsPrec :: Int -> ServiceManagedEc2InstanceCapabilitiesProperty -> ShowS
$cshow :: ServiceManagedEc2InstanceCapabilitiesProperty -> String
show :: ServiceManagedEc2InstanceCapabilitiesProperty -> String
$cshowList :: [ServiceManagedEc2InstanceCapabilitiesProperty] -> ShowS
showList :: [ServiceManagedEc2InstanceCapabilitiesProperty] -> ShowS
Prelude.Show)
mkServiceManagedEc2InstanceCapabilitiesProperty ::
  Value Prelude.Text
  -> MemoryMiBRangeProperty
     -> Value Prelude.Text
        -> VCpuCountRangeProperty
           -> ServiceManagedEc2InstanceCapabilitiesProperty
mkServiceManagedEc2InstanceCapabilitiesProperty :: Value Text
-> MemoryMiBRangeProperty
-> Value Text
-> VCpuCountRangeProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
mkServiceManagedEc2InstanceCapabilitiesProperty
  Value Text
cpuArchitectureType
  MemoryMiBRangeProperty
memoryMiB
  Value Text
osFamily
  VCpuCountRangeProperty
vCpuCount
  = ServiceManagedEc2InstanceCapabilitiesProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       cpuArchitectureType :: Value Text
cpuArchitectureType = Value Text
cpuArchitectureType, memoryMiB :: MemoryMiBRangeProperty
memoryMiB = MemoryMiBRangeProperty
memoryMiB,
       osFamily :: Value Text
osFamily = Value Text
osFamily, vCpuCount :: VCpuCountRangeProperty
vCpuCount = VCpuCountRangeProperty
vCpuCount,
       acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
acceleratorCapabilities = Maybe AcceleratorCapabilitiesProperty
forall a. Maybe a
Prelude.Nothing,
       allowedInstanceTypes :: Maybe (ValueList Text)
allowedInstanceTypes = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAmounts = Maybe [FleetAmountCapabilityProperty]
forall a. Maybe a
Prelude.Nothing,
       customAttributes :: Maybe [FleetAttributeCapabilityProperty]
customAttributes = Maybe [FleetAttributeCapabilityProperty]
forall a. Maybe a
Prelude.Nothing,
       excludedInstanceTypes :: Maybe (ValueList Text)
excludedInstanceTypes = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       rootEbsVolume :: Maybe Ec2EbsVolumeProperty
rootEbsVolume = Maybe Ec2EbsVolumeProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ServiceManagedEc2InstanceCapabilitiesProperty where
  toResourceProperties :: ServiceManagedEc2InstanceCapabilitiesProperty -> ResourceProperties
toResourceProperties
    ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Deadline::Fleet.ServiceManagedEc2InstanceCapabilities",
         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
"CpuArchitectureType" 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
cpuArchitectureType,
                            Key
"MemoryMiB" Key -> MemoryMiBRangeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= MemoryMiBRangeProperty
memoryMiB, Key
"OsFamily" 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
osFamily,
                            Key
"VCpuCount" Key -> VCpuCountRangeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= VCpuCountRangeProperty
vCpuCount]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> AcceleratorCapabilitiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AcceleratorCapabilities"
                                 (AcceleratorCapabilitiesProperty -> (Key, Value))
-> Maybe AcceleratorCapabilitiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AcceleratorCapabilitiesProperty
acceleratorCapabilities,
                               Key -> ValueList 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
"AllowedInstanceTypes" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
allowedInstanceTypes,
                               Key -> [FleetAmountCapabilityProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomAmounts" ([FleetAmountCapabilityProperty] -> (Key, Value))
-> Maybe [FleetAmountCapabilityProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FleetAmountCapabilityProperty]
customAmounts,
                               Key -> [FleetAttributeCapabilityProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomAttributes" ([FleetAttributeCapabilityProperty] -> (Key, Value))
-> Maybe [FleetAttributeCapabilityProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FleetAttributeCapabilityProperty]
customAttributes,
                               Key -> ValueList 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
"ExcludedInstanceTypes"
                                 (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludedInstanceTypes,
                               Key -> Ec2EbsVolumeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RootEbsVolume" (Ec2EbsVolumeProperty -> (Key, Value))
-> Maybe Ec2EbsVolumeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Ec2EbsVolumeProperty
rootEbsVolume]))}
instance JSON.ToJSON ServiceManagedEc2InstanceCapabilitiesProperty where
  toJSON :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value
toJSON ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = [(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
"CpuArchitectureType" 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
cpuArchitectureType,
               Key
"MemoryMiB" Key -> MemoryMiBRangeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= MemoryMiBRangeProperty
memoryMiB, Key
"OsFamily" 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
osFamily,
               Key
"VCpuCount" Key -> VCpuCountRangeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= VCpuCountRangeProperty
vCpuCount]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> AcceleratorCapabilitiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AcceleratorCapabilities"
                    (AcceleratorCapabilitiesProperty -> (Key, Value))
-> Maybe AcceleratorCapabilitiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AcceleratorCapabilitiesProperty
acceleratorCapabilities,
                  Key -> ValueList 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
"AllowedInstanceTypes" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
allowedInstanceTypes,
                  Key -> [FleetAmountCapabilityProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomAmounts" ([FleetAmountCapabilityProperty] -> (Key, Value))
-> Maybe [FleetAmountCapabilityProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FleetAmountCapabilityProperty]
customAmounts,
                  Key -> [FleetAttributeCapabilityProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomAttributes" ([FleetAttributeCapabilityProperty] -> (Key, Value))
-> Maybe [FleetAttributeCapabilityProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FleetAttributeCapabilityProperty]
customAttributes,
                  Key -> ValueList 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
"ExcludedInstanceTypes"
                    (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludedInstanceTypes,
                  Key -> Ec2EbsVolumeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RootEbsVolume" (Ec2EbsVolumeProperty -> (Key, Value))
-> Maybe Ec2EbsVolumeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Ec2EbsVolumeProperty
rootEbsVolume])))
instance Property "AcceleratorCapabilities" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "AcceleratorCapabilities" ServiceManagedEc2InstanceCapabilitiesProperty = AcceleratorCapabilitiesProperty
  set :: PropertyType
  "AcceleratorCapabilities"
  ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "AcceleratorCapabilities"
  ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
acceleratorCapabilities = AcceleratorCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "AcceleratorCapabilities"
  ServiceManagedEc2InstanceCapabilitiesProperty
AcceleratorCapabilitiesProperty
newValue, Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ()
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
haddock_workaround_ :: ()
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
instance Property "AllowedInstanceTypes" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "AllowedInstanceTypes" ServiceManagedEc2InstanceCapabilitiesProperty = ValueList Prelude.Text
  set :: PropertyType
  "AllowedInstanceTypes"
  ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "AllowedInstanceTypes"
  ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {allowedInstanceTypes :: Maybe (ValueList Text)
allowedInstanceTypes = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "AllowedInstanceTypes"
  ServiceManagedEc2InstanceCapabilitiesProperty
ValueList Text
newValue, Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
instance Property "CpuArchitectureType" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "CpuArchitectureType" ServiceManagedEc2InstanceCapabilitiesProperty = Value Prelude.Text
  set :: PropertyType
  "CpuArchitectureType" ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "CpuArchitectureType" ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {cpuArchitectureType :: Value Text
cpuArchitectureType = PropertyType
  "CpuArchitectureType" ServiceManagedEc2InstanceCapabilitiesProperty
Value Text
newValue, Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
instance Property "CustomAmounts" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "CustomAmounts" ServiceManagedEc2InstanceCapabilitiesProperty = [FleetAmountCapabilityProperty]
  set :: PropertyType
  "CustomAmounts" ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "CustomAmounts" ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAmounts = [FleetAmountCapabilityProperty]
-> Maybe [FleetAmountCapabilityProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [FleetAmountCapabilityProperty]
PropertyType
  "CustomAmounts" ServiceManagedEc2InstanceCapabilitiesProperty
newValue, Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
instance Property "CustomAttributes" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "CustomAttributes" ServiceManagedEc2InstanceCapabilitiesProperty = [FleetAttributeCapabilityProperty]
  set :: PropertyType
  "CustomAttributes" ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "CustomAttributes" ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {customAttributes :: Maybe [FleetAttributeCapabilityProperty]
customAttributes = [FleetAttributeCapabilityProperty]
-> Maybe [FleetAttributeCapabilityProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [FleetAttributeCapabilityProperty]
PropertyType
  "CustomAttributes" ServiceManagedEc2InstanceCapabilitiesProperty
newValue, Maybe [FleetAmountCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
instance Property "ExcludedInstanceTypes" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "ExcludedInstanceTypes" ServiceManagedEc2InstanceCapabilitiesProperty = ValueList Prelude.Text
  set :: PropertyType
  "ExcludedInstanceTypes"
  ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "ExcludedInstanceTypes"
  ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {excludedInstanceTypes :: Maybe (ValueList Text)
excludedInstanceTypes = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ExcludedInstanceTypes"
  ServiceManagedEc2InstanceCapabilitiesProperty
ValueList Text
newValue, Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
instance Property "MemoryMiB" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "MemoryMiB" ServiceManagedEc2InstanceCapabilitiesProperty = MemoryMiBRangeProperty
  set :: PropertyType
  "MemoryMiB" ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "MemoryMiB" ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {memoryMiB :: MemoryMiBRangeProperty
memoryMiB = PropertyType
  "MemoryMiB" ServiceManagedEc2InstanceCapabilitiesProperty
MemoryMiBRangeProperty
newValue, Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
instance Property "OsFamily" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "OsFamily" ServiceManagedEc2InstanceCapabilitiesProperty = Value Prelude.Text
  set :: PropertyType
  "OsFamily" ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "OsFamily" ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {osFamily :: Value Text
osFamily = PropertyType
  "OsFamily" ServiceManagedEc2InstanceCapabilitiesProperty
Value Text
newValue, Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
instance Property "RootEbsVolume" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "RootEbsVolume" ServiceManagedEc2InstanceCapabilitiesProperty = Ec2EbsVolumeProperty
  set :: PropertyType
  "RootEbsVolume" ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "RootEbsVolume" ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {rootEbsVolume :: Maybe Ec2EbsVolumeProperty
rootEbsVolume = Ec2EbsVolumeProperty -> Maybe Ec2EbsVolumeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "RootEbsVolume" ServiceManagedEc2InstanceCapabilitiesProperty
Ec2EbsVolumeProperty
newValue, Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
vCpuCount :: VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
vCpuCount :: VCpuCountRangeProperty
..}
instance Property "VCpuCount" ServiceManagedEc2InstanceCapabilitiesProperty where
  type PropertyType "VCpuCount" ServiceManagedEc2InstanceCapabilitiesProperty = VCpuCountRangeProperty
  set :: PropertyType
  "VCpuCount" ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
-> ServiceManagedEc2InstanceCapabilitiesProperty
set PropertyType
  "VCpuCount" ServiceManagedEc2InstanceCapabilitiesProperty
newValue ServiceManagedEc2InstanceCapabilitiesProperty {Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
VCpuCountRangeProperty
haddock_workaround_ :: ServiceManagedEc2InstanceCapabilitiesProperty -> ()
acceleratorCapabilities :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
cpuArchitectureType :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
customAmounts :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAmountCapabilityProperty]
customAttributes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe (ValueList Text)
memoryMiB :: ServiceManagedEc2InstanceCapabilitiesProperty
-> MemoryMiBRangeProperty
osFamily :: ServiceManagedEc2InstanceCapabilitiesProperty -> Value Text
rootEbsVolume :: ServiceManagedEc2InstanceCapabilitiesProperty
-> Maybe Ec2EbsVolumeProperty
vCpuCount :: ServiceManagedEc2InstanceCapabilitiesProperty
-> VCpuCountRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
vCpuCount :: VCpuCountRangeProperty
..}
    = ServiceManagedEc2InstanceCapabilitiesProperty
        {vCpuCount :: VCpuCountRangeProperty
vCpuCount = PropertyType
  "VCpuCount" ServiceManagedEc2InstanceCapabilitiesProperty
VCpuCountRangeProperty
newValue, Maybe [FleetAmountCapabilityProperty]
Maybe [FleetAttributeCapabilityProperty]
Maybe (ValueList Text)
Maybe AcceleratorCapabilitiesProperty
Maybe Ec2EbsVolumeProperty
()
Value Text
MemoryMiBRangeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
haddock_workaround_ :: ()
acceleratorCapabilities :: Maybe AcceleratorCapabilitiesProperty
allowedInstanceTypes :: Maybe (ValueList Text)
cpuArchitectureType :: Value Text
customAmounts :: Maybe [FleetAmountCapabilityProperty]
customAttributes :: Maybe [FleetAttributeCapabilityProperty]
excludedInstanceTypes :: Maybe (ValueList Text)
memoryMiB :: MemoryMiBRangeProperty
osFamily :: Value Text
rootEbsVolume :: Maybe Ec2EbsVolumeProperty
..}