LaunchTemplateInstanceRequirements

data class LaunchTemplateInstanceRequirements(val acceleratorCount: LaunchTemplateInstanceRequirementsAcceleratorCount? = null, val acceleratorManufacturers: List<String>? = null, val acceleratorNames: List<String>? = null, val acceleratorTotalMemoryMib: LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMib? = null, val acceleratorTypes: List<String>? = null, val bareMetal: String? = null, val baselineEbsBandwidthMbps: LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbps? = null, val burstablePerformance: String? = null, val cpuManufacturers: List<String>? = null, val excludedInstanceTypes: List<String>? = null, val instanceGenerations: List<String>? = null, val localStorage: String? = null, val localStorageTypes: List<String>? = null, val memoryGibPerVcpu: LaunchTemplateInstanceRequirementsMemoryGibPerVcpu? = null, val memoryMib: LaunchTemplateInstanceRequirementsMemoryMib, val networkInterfaceCount: LaunchTemplateInstanceRequirementsNetworkInterfaceCount? = null, val onDemandMaxPricePercentageOverLowestPrice: Int? = null, val requireHibernateSupport: Boolean? = null, val spotMaxPricePercentageOverLowestPrice: Int? = null, val totalLocalStorageGb: LaunchTemplateInstanceRequirementsTotalLocalStorageGb? = null, val vcpuCount: LaunchTemplateInstanceRequirementsVcpuCount)

Constructors

Link copied to clipboard
fun LaunchTemplateInstanceRequirements(acceleratorCount: LaunchTemplateInstanceRequirementsAcceleratorCount? = null, acceleratorManufacturers: List<String>? = null, acceleratorNames: List<String>? = null, acceleratorTotalMemoryMib: LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMib? = null, acceleratorTypes: List<String>? = null, bareMetal: String? = null, baselineEbsBandwidthMbps: LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbps? = null, burstablePerformance: String? = null, cpuManufacturers: List<String>? = null, excludedInstanceTypes: List<String>? = null, instanceGenerations: List<String>? = null, localStorage: String? = null, localStorageTypes: List<String>? = null, memoryGibPerVcpu: LaunchTemplateInstanceRequirementsMemoryGibPerVcpu? = null, memoryMib: LaunchTemplateInstanceRequirementsMemoryMib, networkInterfaceCount: LaunchTemplateInstanceRequirementsNetworkInterfaceCount? = null, onDemandMaxPricePercentageOverLowestPrice: Int? = null, requireHibernateSupport: Boolean? = null, spotMaxPricePercentageOverLowestPrice: Int? = null, totalLocalStorageGb: LaunchTemplateInstanceRequirementsTotalLocalStorageGb? = null, vcpuCount: LaunchTemplateInstanceRequirementsVcpuCount)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.

Link copied to clipboard

List of accelerator manufacturer names. Default is any manufacturer.

Link copied to clipboard

List of accelerator names. Default is any acclerator.

Link copied to clipboard

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

Link copied to clipboard

List of accelerator types. Default is any accelerator type.

Link copied to clipboard
val bareMetal: String? = null

Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.

Link copied to clipboard

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

Link copied to clipboard

Indicate whether burstable performance instance types should be included, excluded, or required. Default is excluded.

Link copied to clipboard

List of CPU manufacturer names. Default is any manufacturer.

Link copied to clipboard

List of 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.

Link copied to clipboard

List of instance generation names. Default is any generation.

Link copied to clipboard
val localStorage: String? = null

Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.

Link copied to clipboard

List of local storage type names. Default any storage type.

Link copied to clipboard

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

Link copied to clipboard

Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.

Link copied to clipboard

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

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.

Link copied to clipboard

Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.

Link copied to clipboard

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.

Link copied to clipboard

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

Link copied to clipboard

Block describing the minimum and maximum number of vCPUs. Default is no maximum.