CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirements class

Constructors

CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirements({Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsAcceleratorCount?>? acceleratorCount, Input<List<String>?>? acceleratorManufacturers, Input<List<String>?>? acceleratorNames, Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMib?>? acceleratorTotalMemoryMib, Input<List<String>?>? acceleratorTypes, Input<List<String>?>? allowedInstanceTypes, Input<String?>? bareMetal, Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbps?>? 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<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsMemoryGibPerVcpu?>? memoryGibPerVcpu, required Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsMemoryMib> memoryMib, Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsNetworkBandwidthGbps?>? networkBandwidthGbps, Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsNetworkInterfaceCount?>? networkInterfaceCount, Input<int?>? onDemandMaxPricePercentageOverLowestPrice, Input<bool?>? requireHibernateSupport, Input<int?>? spotMaxPricePercentageOverLowestPrice, Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsTotalLocalStorageGb?>? totalLocalStorageGb, required Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsVcpuCount> vcpuCount})
Creates a new CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirements. acceleratorCount Minimum and maximum number of accelerators for the instance types. This is used when you need instances with specific numbers of GPUs or other accelerators. Detailed below. acceleratorManufacturers Accelerator manufacturers to include. You can specify nvidia, amd, amazon-web-services, xilinx, or habana depending on your accelerator requirements. Valid values are amazon-web-services, amd, nvidia, xilinx, habana. acceleratorNames Specific accelerator names to include. For example, you can specify a100, v100, k80, or other specific accelerator models. Valid values are a100, inferentia, k520, k80, m60, radeon-pro-v520, t4, vu9p, v100, a10g, h100, t4g. acceleratorTotalMemoryMib Minimum and maximum total accelerator memory in mebibytes (MiB). This is important for GPU workloads that require specific amounts of video memory. Detailed below. acceleratorTypes Accelerator types to include. You can specify gpu for GPUs, fpga for field programmable gate arrays, or inference for machine learning inference accelerators. Valid values are gpu, fpga, inference. allowedInstanceTypes Instance types to include in the selection. When specified, Amazon ECS only considers these instance types, subject to the other requirements specified. Maximum of 400 instance types. You can specify instance type patterns using wildcards (e.g., m5.*). bareMetal Whether to include bare metal instance types. Set to included to allow bare metal instances, excluded to exclude them, or required to use only bare metal instances. Valid values are included, excluded, required. baselineEbsBandwidthMbps Minimum and maximum baseline Amazon EBS bandwidth in megabits per second (Mbps). This is important for workloads with high storage I/O requirements. Detailed below. burstablePerformance Whether to include burstable performance instance types (T2, T3, T3a, T4g). Set to included to allow burstable instances, excluded to exclude them, or required to use only burstable instances. Valid values are included, excluded, required. cpuManufacturers CPU manufacturers to include or exclude. You can specify intel, amd, or amazon-web-services to control which CPU types are used for your workloads. Valid values are intel, amd, amazon-web-services. excludedInstanceTypes Instance types to exclude from selection. Use this to prevent Amazon ECS from selecting specific instance types that may not be suitable for your workloads. Maximum of 400 instance types. instanceGenerations Instance generations to include. You can specify current to use the latest generation instances, or previous to include previous generation instances for cost optimization. Valid values are current, previous. localStorage Whether to include instance types with local storage. Set to included to allow local storage, excluded to exclude it, or required to use only instances with local storage. Valid values are included, excluded, required. localStorageTypes Local storage types to include. You can specify hdd for hard disk drives, ssd for solid state drives, or both. Valid values are hdd, ssd. maxSpotPriceAsPercentageOfOptimalOnDemandPrice Maximum price for Spot instances as a percentage of the optimal On-Demand price. This provides more precise cost control for Spot instance selection. memoryGibPerVcpu Minimum and maximum amount of memory per vCPU in gibibytes (GiB). This helps ensure that instance types have the appropriate memory-to-CPU ratio for your workloads. Detailed below. memoryMib Minimum and maximum amount of memory in mebibytes (MiB) for the instance types. Amazon ECS selects instance types that have memory within this range. Detailed below. networkBandwidthGbps Minimum and maximum network bandwidth in gigabits per second (Gbps). This is crucial for network-intensive workloads that require high throughput. Detailed below. networkInterfaceCount Minimum and maximum number of network interfaces for the instance types. This is useful for workloads that require multiple network interfaces. Detailed below. onDemandMaxPricePercentageOverLowestPrice Price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon ECS selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. requireHibernateSupport Whether the instance types must support hibernation. When set to true, only instance types that support hibernation are selected. spotMaxPricePercentageOverLowestPrice Maximum price for Spot instances as a percentage over the lowest priced On-Demand instance. This helps control Spot instance costs while maintaining access to capacity. totalLocalStorageGb Minimum and maximum total local storage in gigabytes (GB) for instance types with local storage. Detailed below. vcpuCount Minimum and maximum number of vCPUs for the instance types. Amazon ECS selects instance types that have vCPU counts within this range. Detailed below.
const
CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirements.fromMap(Map<String, dynamic> map)
factory

Properties

acceleratorCount → Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsAcceleratorCount?>?
Minimum and maximum number of accelerators for the instance types. This is used when you need instances with specific numbers of GPUs or other accelerators. Detailed below.
final
acceleratorManufacturers → Input<List<String>?>?
Accelerator manufacturers to include. You can specify nvidia, amd, amazon-web-services, xilinx, or habana depending on your accelerator requirements. Valid values are amazon-web-services, amd, nvidia, xilinx, habana.
final
acceleratorNames → Input<List<String>?>?
Specific accelerator names to include. For example, you can specify a100, v100, k80, or other specific accelerator models. Valid values are a100, inferentia, k520, k80, m60, radeon-pro-v520, t4, vu9p, v100, a10g, h100, t4g.
final
acceleratorTotalMemoryMib → Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMib?>?
Minimum and maximum total accelerator memory in mebibytes (MiB). This is important for GPU workloads that require specific amounts of video memory. Detailed below.
final
acceleratorTypes → Input<List<String>?>?
Accelerator types to include. You can specify gpu for GPUs, fpga for field programmable gate arrays, or inference for machine learning inference accelerators. Valid values are gpu, fpga, inference.
final
allowedInstanceTypes → Input<List<String>?>?
Instance types to include in the selection. When specified, Amazon ECS only considers these instance types, subject to the other requirements specified. Maximum of 400 instance types. You can specify instance type patterns using wildcards (e.g., m5.*).
final
bareMetal → Input<String?>?
Whether to include bare metal instance types. Set to included to allow bare metal instances, excluded to exclude them, or required to use only bare metal instances. Valid values are included, excluded, required.
final
baselineEbsBandwidthMbps → Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbps?>?
Minimum and maximum baseline Amazon EBS bandwidth in megabits per second (Mbps). This is important for workloads with high storage I/O requirements. Detailed below.
final
burstablePerformance → Input<String?>?
Whether to include burstable performance instance types (T2, T3, T3a, T4g). Set to included to allow burstable instances, excluded to exclude them, or required to use only burstable instances. Valid values are included, excluded, required.
final
cpuManufacturers → Input<List<String>?>?
CPU manufacturers to include or exclude. You can specify intel, amd, or amazon-web-services to control which CPU types are used for your workloads. Valid values are intel, amd, amazon-web-services.
final
excludedInstanceTypes → Input<List<String>?>?
Instance types to exclude from selection. Use this to prevent Amazon ECS from selecting specific instance types that may not be suitable for your workloads. Maximum of 400 instance types.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceGenerations → Input<List<String>?>?
Instance generations to include. You can specify current to use the latest generation instances, or previous to include previous generation instances for cost optimization. Valid values are current, previous.
final
localStorage → Input<String?>?
Whether to include instance types with local storage. Set to included to allow local storage, excluded to exclude it, or required to use only instances with local storage. Valid values are included, excluded, required.
final
localStorageTypes → Input<List<String>?>?
Local storage types to include. You can specify hdd for hard disk drives, ssd for solid state drives, or both. Valid values are hdd, ssd.
final
maxSpotPriceAsPercentageOfOptimalOnDemandPrice → Input<int?>?
Maximum price for Spot instances as a percentage of the optimal On-Demand price. This provides more precise cost control for Spot instance selection.
final
memoryGibPerVcpu → Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsMemoryGibPerVcpu?>?
Minimum and maximum amount of memory per vCPU in gibibytes (GiB). This helps ensure that instance types have the appropriate memory-to-CPU ratio for your workloads. Detailed below.
final
memoryMib → Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsMemoryMib>
Minimum and maximum amount of memory in mebibytes (MiB) for the instance types. Amazon ECS selects instance types that have memory within this range. Detailed below.
final
networkBandwidthGbps → Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsNetworkBandwidthGbps?>?
Minimum and maximum network bandwidth in gigabits per second (Gbps). This is crucial for network-intensive workloads that require high throughput. Detailed below.
final
networkInterfaceCount → Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsNetworkInterfaceCount?>?
Minimum and maximum number of network interfaces for the instance types. This is useful for workloads that require multiple network interfaces. Detailed below.
final
onDemandMaxPricePercentageOverLowestPrice → Input<int?>?
Price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon ECS selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
final
requireHibernateSupport → Input<bool?>?
Whether the instance types must support hibernation. When set to true, only instance types that support hibernation are selected.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spotMaxPricePercentageOverLowestPrice → Input<int?>?
Maximum price for Spot instances as a percentage over the lowest priced On-Demand instance. This helps control Spot instance costs while maintaining access to capacity.
final
totalLocalStorageGb → Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsTotalLocalStorageGb?>?
Minimum and maximum total local storage in gigabytes (GB) for instance types with local storage. Detailed below.
final
vcpuCount → Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsVcpuCount>
Minimum and maximum number of vCPUs for the instance types. Amazon ECS selects instance types that have vCPU counts within this range. Detailed below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited