@Stability(value=Stable) public static final class CfnAutoScalingGroup.InstanceRequirementsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAutoScalingGroup.InstanceRequirementsProperty>
CfnAutoScalingGroup.InstanceRequirementsProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder acceleratorCount(CfnAutoScalingGroup.AcceleratorCountRequestProperty acceleratorCount)
CfnAutoScalingGroup.InstanceRequirementsProperty.getAcceleratorCount()acceleratorCount - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type.
To exclude accelerator-enabled instance types, set Max to 0 .
Default: No minimum or maximum
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder acceleratorCount(IResolvable acceleratorCount)
CfnAutoScalingGroup.InstanceRequirementsProperty.getAcceleratorCount()acceleratorCount - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type.
To exclude accelerator-enabled instance types, set Max to 0 .
Default: No minimum or maximum
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder acceleratorManufacturers(List<String> acceleratorManufacturers)
acceleratorManufacturers - Indicates whether instance types must have accelerators by specific manufacturers.
nvidia .amd .amazon-web-services .xilinx .Default: Any manufacturer
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder acceleratorNames(List<String> acceleratorNames)
CfnAutoScalingGroup.InstanceRequirementsProperty.getAcceleratorNames()acceleratorNames - Lists the accelerators that must be on an instance type.
a100 .v100 .k80 .t4 .m60 .radeon-pro-v520 .vu9p .Default: Any accelerator
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder acceleratorTotalMemoryMiB(CfnAutoScalingGroup.AcceleratorTotalMemoryMiBRequestProperty acceleratorTotalMemoryMiB)
acceleratorTotalMemoryMiB - The minimum and maximum total memory size for the accelerators on an instance type, in MiB.
Default: No minimum or maximumthis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder acceleratorTotalMemoryMiB(IResolvable acceleratorTotalMemoryMiB)
acceleratorTotalMemoryMiB - The minimum and maximum total memory size for the accelerators on an instance type, in MiB.
Default: No minimum or maximumthis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder acceleratorTypes(List<String> acceleratorTypes)
CfnAutoScalingGroup.InstanceRequirementsProperty.getAcceleratorTypes()acceleratorTypes - Lists the accelerator types that must be on an instance type.
gpu .fpga .inference .Default: Any accelerator type
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder bareMetal(String bareMetal)
CfnAutoScalingGroup.InstanceRequirementsProperty.getBareMetal()bareMetal - Indicates whether bare metal instance types are included, excluded, or required.
Default: excludedthis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder baselineEbsBandwidthMbps(CfnAutoScalingGroup.BaselineEbsBandwidthMbpsRequestProperty baselineEbsBandwidthMbps)
baselineEbsBandwidthMbps - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances .
Default: No minimum or maximum
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder baselineEbsBandwidthMbps(IResolvable baselineEbsBandwidthMbps)
baselineEbsBandwidthMbps - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances .
Default: No minimum or maximum
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder burstablePerformance(String burstablePerformance)
burstablePerformance - Indicates whether burstable performance instance types are included, excluded, or required.
For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances .
Default: excluded
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder cpuManufacturers(List<String> cpuManufacturers)
CfnAutoScalingGroup.InstanceRequirementsProperty.getCpuManufacturers()cpuManufacturers - Lists which specific CPU manufacturers to include.
intel .amd .amazon-web-services .
Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
Default: Any manufacturer
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder excludedInstanceTypes(List<String> excludedInstanceTypes)
excludedInstanceTypes - Lists which 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.
Default: No excluded instance types
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder instanceGenerations(List<String> instanceGenerations)
instanceGenerations - Indicates whether current or previous generation instance types are included.
current . The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances .previous .Default: Any current or previous generation
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder localStorage(String localStorage)
CfnAutoScalingGroup.InstanceRequirementsProperty.getLocalStorage()localStorage - Indicates whether instance types with instance store volumes are included, excluded, or required.
For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances .
Default: included
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder localStorageTypes(List<String> localStorageTypes)
CfnAutoScalingGroup.InstanceRequirementsProperty.getLocalStorageTypes()localStorageTypes - Indicates the type of local storage that is required.
hdd .sdd .Default: Any local storage type
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder memoryGiBPerVCpu(CfnAutoScalingGroup.MemoryGiBPerVCpuRequestProperty memoryGiBPerVCpu)
CfnAutoScalingGroup.InstanceRequirementsProperty.getMemoryGiBPerVCpu()memoryGiBPerVCpu - The minimum and maximum amount of memory per vCPU for an instance type, in GiB.
Default: No minimum or maximumthis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder memoryGiBPerVCpu(IResolvable memoryGiBPerVCpu)
CfnAutoScalingGroup.InstanceRequirementsProperty.getMemoryGiBPerVCpu()memoryGiBPerVCpu - The minimum and maximum amount of memory per vCPU for an instance type, in GiB.
Default: No minimum or maximumthis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder memoryMiB(CfnAutoScalingGroup.MemoryMiBRequestProperty memoryMiB)
CfnAutoScalingGroup.InstanceRequirementsProperty.getMemoryMiB()memoryMiB - The minimum and maximum instance memory size for an instance type, in MiB.this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder memoryMiB(IResolvable memoryMiB)
CfnAutoScalingGroup.InstanceRequirementsProperty.getMemoryMiB()memoryMiB - The minimum and maximum instance memory size for an instance type, in MiB.this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder networkInterfaceCount(CfnAutoScalingGroup.NetworkInterfaceCountRequestProperty networkInterfaceCount)
networkInterfaceCount - The minimum and maximum number of network interfaces for an instance type.
Default: No minimum or maximumthis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder networkInterfaceCount(IResolvable networkInterfaceCount)
networkInterfaceCount - The minimum and maximum number of network interfaces for an instance type.
Default: No minimum or maximumthis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder onDemandMaxPricePercentageOverLowestPrice(Number onDemandMaxPricePercentageOverLowestPrice)
CfnAutoScalingGroup.InstanceRequirementsProperty.getOnDemandMaxPricePercentageOverLowestPrice()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 .
If you set DesiredCapacityType to vcpu or memory-mib , the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.
Default: 20
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder requireHibernateSupport(Boolean requireHibernateSupport)
requireHibernateSupport - Indicates whether instance types must provide On-Demand Instance hibernation support.
Default: falsethis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder requireHibernateSupport(IResolvable requireHibernateSupport)
requireHibernateSupport - Indicates whether instance types must provide On-Demand Instance hibernation support.
Default: falsethis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder spotMaxPricePercentageOverLowestPrice(Number spotMaxPricePercentageOverLowestPrice)
CfnAutoScalingGroup.InstanceRequirementsProperty.getSpotMaxPricePercentageOverLowestPrice()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 .
If you set DesiredCapacityType to vcpu or memory-mib , the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.
Default: 100
this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder totalLocalStorageGb(CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty totalLocalStorageGb)
totalLocalStorageGb - The minimum and maximum total local storage size for an instance type, in GB.
Default: No minimum or maximumthis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder totalLocalStorageGb(IResolvable totalLocalStorageGb)
totalLocalStorageGb - The minimum and maximum total local storage size for an instance type, in GB.
Default: No minimum or maximumthis@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder vCpuCount(CfnAutoScalingGroup.VCpuCountRequestProperty vCpuCount)
CfnAutoScalingGroup.InstanceRequirementsProperty.getVCpuCount()vCpuCount - The minimum and maximum number of vCPUs for an instance type.this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty.Builder vCpuCount(IResolvable vCpuCount)
CfnAutoScalingGroup.InstanceRequirementsProperty.getVCpuCount()vCpuCount - The minimum and maximum number of vCPUs for an instance type.this@Stability(value=Stable) public CfnAutoScalingGroup.InstanceRequirementsProperty build()
build in interface software.amazon.jsii.Builder<CfnAutoScalingGroup.InstanceRequirementsProperty>CfnAutoScalingGroup.InstanceRequirementsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.