LaunchTemplateInstanceRequirements constructor

const LaunchTemplateInstanceRequirements({
  1. Input<LaunchTemplateInstanceRequirementsAcceleratorCount?>? acceleratorCount,
  2. Input<List<String>?>? acceleratorManufacturers,
  3. Input<List<String>?>? acceleratorNames,
  4. Input<LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMib?>? acceleratorTotalMemoryMib,
  5. Input<List<String>?>? acceleratorTypes,
  6. Input<List<String>?>? allowedInstanceTypes,
  7. Input<String?>? bareMetal,
  8. Input<LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbps?>? baselineEbsBandwidthMbps,
  9. Input<String?>? burstablePerformance,
  10. Input<List<String>?>? cpuManufacturers,
  11. Input<List<String>?>? excludedInstanceTypes,
  12. Input<List<String>?>? instanceGenerations,
  13. Input<String?>? localStorage,
  14. Input<List<String>?>? localStorageTypes,
  15. Input<int?>? maxSpotPriceAsPercentageOfOptimalOnDemandPrice,
  16. Input<LaunchTemplateInstanceRequirementsMemoryGibPerVcpu?>? memoryGibPerVcpu,
  17. required Input<LaunchTemplateInstanceRequirementsMemoryMib> memoryMib,
  18. Input<LaunchTemplateInstanceRequirementsNetworkBandwidthGbps?>? networkBandwidthGbps,
  19. Input<LaunchTemplateInstanceRequirementsNetworkInterfaceCount?>? networkInterfaceCount,
  20. Input<int?>? onDemandMaxPricePercentageOverLowestPrice,
  21. Input<bool?>? requireHibernateSupport,
  22. Input<int?>? spotMaxPricePercentageOverLowestPrice,
  23. Input<LaunchTemplateInstanceRequirementsTotalLocalStorageGb?>? totalLocalStorageGb,
  24. required Input<LaunchTemplateInstanceRequirementsVcpuCount> vcpuCount,
})

Creates a new LaunchTemplateInstanceRequirements. acceleratorCount Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum. 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 List of accelerator types. Default is any accelerator type. allowedInstanceTypes List of 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 (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing 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 all instance types. 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 Indicate whether burstable performance instance types should be included, excluded, or required. Default is excluded. cpuManufacturers List of CPU manufacturer names. Default is any manufacturer. excludedInstanceTypes List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, 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 List of instance generation names. Default is any generation. localStorage Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included. localStorageTypes List of local storage type names. 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 Block describing the minimum and maximum amount of memory (MiB). Default is no maximum. networkBandwidthGbps Block describing 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.

Implementation

const LaunchTemplateInstanceRequirements({
  this.acceleratorCount,
  this.acceleratorManufacturers,
  this.acceleratorNames,
  this.acceleratorTotalMemoryMib,
  this.acceleratorTypes,
  this.allowedInstanceTypes,
  this.bareMetal,
  this.baselineEbsBandwidthMbps,
  this.burstablePerformance,
  this.cpuManufacturers,
  this.excludedInstanceTypes,
  this.instanceGenerations,
  this.localStorage,
  this.localStorageTypes,
  this.maxSpotPriceAsPercentageOfOptimalOnDemandPrice,
  this.memoryGibPerVcpu,
  required this.memoryMib,
  this.networkBandwidthGbps,
  this.networkInterfaceCount,
  this.onDemandMaxPricePercentageOverLowestPrice,
  this.requireHibernateSupport,
  this.spotMaxPricePercentageOverLowestPrice,
  this.totalLocalStorageGb,
  required this.vcpuCount,
});