FleetLaunchTemplateConfigOverrideInstanceRequirements class
Constructors
-
FleetLaunchTemplateConfigOverrideInstanceRequirements({Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorCount?>? acceleratorCount, Input<List<String>?>? acceleratorManufacturers, Input<List<String>?>? acceleratorNames, Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorTotalMemoryMib?>? acceleratorTotalMemoryMib, Input<List<String>?>? acceleratorTypes, Input<List<String>?>? allowedInstanceTypes, Input<String?>? bareMetal, Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsBaselineEbsBandwidthMbps?>? baselineEbsBandwidthMbps, Input<String?>? burstablePerformance, Input<List<String>?>? cpuManufacturers, Input<List<String>?>? excludedInstanceTypes, Input<List<String>?>? instanceGenerations, Input<String?>? localStorage, Input<List<String>?>? localStorageTypes, Input<int?>? maxSpotPriceAsPercentageOfOptimalOnDemandPrice, Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu?>? memoryGibPerVcpu, required Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryMib> memoryMib, Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkBandwidthGbps?>? networkBandwidthGbps, Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkInterfaceCount?>? networkInterfaceCount, Input<int?>? onDemandMaxPricePercentageOverLowestPrice, Input<bool?>? requireHibernateSupport, Input<int?>? spotMaxPricePercentageOverLowestPrice, Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsTotalLocalStorageGb?>? totalLocalStorageGb, required Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCount> vcpuCount})
-
Creates a new FleetLaunchTemplateConfigOverrideInstanceRequirements.
acceleratorCount Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits.
acceleratorManufacturers List of accelerator manufacturer names. Default is any manufacturer.
acceleratorNames List of accelerator names. Default is any acclerator.
acceleratorTotalMemoryMib Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
acceleratorTypes The accelerator types that must be on the instance type. Default is any accelerator type.
allowedInstanceTypes The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards,represented by an asterisk (*). The following are examples: c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. Default is any instance type.
bareMetal Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.
baselineEbsBandwidthMbps Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
burstablePerformance Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded.
cpuManufacturers The CPU manufacturers to include. Default is any manufacturer.
excludedInstanceTypes The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.
instanceGenerations Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.
localStorage Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.
localStorageTypes List of local storage type names. Valid values are hdd and ssd. Default any storage type.
maxSpotPriceAsPercentageOfOptimalOnDemandPrice The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spotMaxPricePercentageOverLowestPrice
memoryGibPerVcpu Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
memoryMib The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits.
networkBandwidthGbps The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum.
networkInterfaceCount Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
onDemandMaxPricePercentageOverLowestPrice The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20.
requireHibernateSupport Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.
spotMaxPricePercentageOverLowestPrice The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with maxSpotPriceAsPercentageOfOptimalOnDemandPrice
totalLocalStorageGb Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
vcpuCount Block describing the minimum and maximum number of vCPUs. Default is no maximum.
const
-
FleetLaunchTemplateConfigOverrideInstanceRequirements.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
acceleratorCount
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorCount?>?
-
Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits.
final
-
acceleratorManufacturers
→ Input<List<String>?>?
-
List of accelerator manufacturer names. Default is any manufacturer.
final
-
acceleratorNames
→ Input<List<String>?>?
-
List of accelerator names. Default is any acclerator.
final
-
acceleratorTotalMemoryMib
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorTotalMemoryMib?>?
-
Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
final
-
acceleratorTypes
→ Input<List<String>?>?
-
The accelerator types that must be on the instance type. Default is any accelerator type.
final
-
allowedInstanceTypes
→ Input<List<String>?>?
-
The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards,represented by an asterisk (*). The following are examples:
c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. Default is any instance type.
final
-
bareMetal
→ Input<String?>?
-
Indicate whether bare metal instace types should be
included, excluded, or required. Default is excluded.
final
-
baselineEbsBandwidthMbps
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsBaselineEbsBandwidthMbps?>?
-
Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
final
-
burstablePerformance
→ Input<String?>?
-
Indicates whether burstable performance T instance types are
included, excluded, or required. Default is excluded.
final
-
cpuManufacturers
→ Input<List<String>?>?
-
The CPU manufacturers to include. Default is any manufacturer.
> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the AMI that you specify in your launch template.
final
-
excludedInstanceTypes
→ Input<List<String>?>?
-
The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples:
c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
instanceGenerations
→ Input<List<String>?>?
-
Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are
current and previous. Default is current and previous generation instance types.
final
-
localStorage
→ Input<String?>?
-
Indicate whether instance types with local storage volumes are
included, excluded, or required. Default is included.
final
-
localStorageTypes
→ Input<List<String>?>?
-
List of local storage type names. Valid values are
hdd and ssd. Default any storage type.
final
-
maxSpotPriceAsPercentageOfOptimalOnDemandPrice
→ Input<int?>?
-
The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with
spotMaxPricePercentageOverLowestPrice
final
-
memoryGibPerVcpu
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu?>?
-
Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
final
-
memoryMib
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryMib>
-
The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits.
final
-
networkBandwidthGbps
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkBandwidthGbps?>?
-
The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum.
final
-
networkInterfaceCount
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkInterfaceCount?>?
-
Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
final
-
onDemandMaxPricePercentageOverLowestPrice
→ Input<int?>?
-
The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20.
final
-
requireHibernateSupport
→ Input<bool?>?
-
Indicate whether instance types must support On-Demand Instance Hibernation, either
true or false. Default is false.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
spotMaxPricePercentageOverLowestPrice
→ Input<int?>?
-
The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with
maxSpotPriceAsPercentageOfOptimalOnDemandPrice
final
-
totalLocalStorageGb
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsTotalLocalStorageGb?>?
-
Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
final
-
vcpuCount
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCount>
-
Block describing the minimum and maximum number of vCPUs. Default is no maximum.
final