@Stability(value=Stable) @Internal public static final class CfnAutoScalingGroup.InstanceRequirementsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAutoScalingGroup.InstanceRequirementsProperty
CfnAutoScalingGroup.InstanceRequirementsPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnAutoScalingGroup.InstanceRequirementsProperty.Builder, CfnAutoScalingGroup.InstanceRequirementsProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnAutoScalingGroup.InstanceRequirementsProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnAutoScalingGroup.AcceleratorCountRequestProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAcceleratorCount()
The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type.
|
List<String> |
getAcceleratorManufacturers()
Indicates whether instance types must have accelerators by specific manufacturers.
|
List<String> |
getAcceleratorNames()
Lists the accelerators that must be on an instance type.
|
Object |
getAcceleratorTotalMemoryMiB()
The minimum and maximum total memory size for the accelerators on an instance type, in MiB.
|
List<String> |
getAcceleratorTypes()
Lists the accelerator types that must be on an instance type.
|
String |
getBareMetal()
Indicates whether bare metal instance types are included, excluded, or required.
|
Object |
getBaselineEbsBandwidthMbps()
The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
|
String |
getBurstablePerformance()
Indicates whether burstable performance instance types are included, excluded, or required.
|
List<String> |
getCpuManufacturers()
Lists which specific CPU manufacturers to include.
|
List<String> |
getExcludedInstanceTypes()
Lists which instance types to exclude.
|
List<String> |
getInstanceGenerations()
Indicates whether current or previous generation instance types are included.
|
String |
getLocalStorage()
Indicates whether instance types with instance store volumes are included, excluded, or required.
|
List<String> |
getLocalStorageTypes()
Indicates the type of local storage that is required.
|
Object |
getMemoryGiBPerVCpu()
The minimum and maximum amount of memory per vCPU for an instance type, in GiB.
|
Object |
getMemoryMiB()
The minimum and maximum instance memory size for an instance type, in MiB.
|
Object |
getNetworkInterfaceCount()
The minimum and maximum number of network interfaces for an instance type.
|
Number |
getOnDemandMaxPricePercentageOverLowestPrice()
The price protection threshold for On-Demand Instances.
|
Object |
getRequireHibernateSupport()
Indicates whether instance types must provide On-Demand Instance hibernation support.
|
Number |
getSpotMaxPricePercentageOverLowestPrice()
The price protection threshold for Spot Instances.
|
Object |
getTotalLocalStorageGb()
The minimum and maximum total local storage size for an instance type, in GB.
|
Object |
getVCpuCount()
The minimum and maximum number of vCPUs for an instance type.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnAutoScalingGroup.InstanceRequirementsProperty.Builder builder)
CfnAutoScalingGroup.AcceleratorCountRequestProperty.Builder.public final Object getAcceleratorCount()
CfnAutoScalingGroup.InstanceRequirementsProperty
To exclude accelerator-enabled instance types, set Max to 0 .
Default: No minimum or maximum
getAcceleratorCount in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final List<String> getAcceleratorManufacturers()
CfnAutoScalingGroup.InstanceRequirementsProperty
nvidia .amd .amazon-web-services .xilinx .Default: Any manufacturer
getAcceleratorManufacturers in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final List<String> getAcceleratorNames()
CfnAutoScalingGroup.InstanceRequirementsProperty
a100 .v100 .k80 .t4 .m60 .radeon-pro-v520 .vu9p .Default: Any accelerator
getAcceleratorNames in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Object getAcceleratorTotalMemoryMiB()
CfnAutoScalingGroup.InstanceRequirementsPropertyDefault: No minimum or maximum
getAcceleratorTotalMemoryMiB in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final List<String> getAcceleratorTypes()
CfnAutoScalingGroup.InstanceRequirementsProperty
gpu .fpga .inference .Default: Any accelerator type
getAcceleratorTypes in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final String getBareMetal()
CfnAutoScalingGroup.InstanceRequirementsProperty
Default: excluded
getBareMetal in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Object getBaselineEbsBandwidthMbps()
CfnAutoScalingGroup.InstanceRequirementsPropertyFor more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances .
Default: No minimum or maximum
getBaselineEbsBandwidthMbps in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final String getBurstablePerformance()
CfnAutoScalingGroup.InstanceRequirementsPropertyFor more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances .
Default: excluded
getBurstablePerformance in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final List<String> getCpuManufacturers()
CfnAutoScalingGroup.InstanceRequirementsProperty
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
getCpuManufacturers in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final List<String> getExcludedInstanceTypes()
CfnAutoScalingGroup.InstanceRequirementsProperty
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
getExcludedInstanceTypes in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final List<String> getInstanceGenerations()
CfnAutoScalingGroup.InstanceRequirementsProperty
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
getInstanceGenerations in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final String getLocalStorage()
CfnAutoScalingGroup.InstanceRequirementsPropertyFor more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances .
Default: included
getLocalStorage in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final List<String> getLocalStorageTypes()
CfnAutoScalingGroup.InstanceRequirementsProperty
hdd .sdd .Default: Any local storage type
getLocalStorageTypes in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Object getMemoryGiBPerVCpu()
CfnAutoScalingGroup.InstanceRequirementsPropertyDefault: No minimum or maximum
getMemoryGiBPerVCpu in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Object getMemoryMiB()
CfnAutoScalingGroup.InstanceRequirementsPropertygetMemoryMiB in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Object getNetworkInterfaceCount()
CfnAutoScalingGroup.InstanceRequirementsPropertyDefault: No minimum or maximum
getNetworkInterfaceCount in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Number getOnDemandMaxPricePercentageOverLowestPrice()
CfnAutoScalingGroup.InstanceRequirementsProperty
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
getOnDemandMaxPricePercentageOverLowestPrice in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Object getRequireHibernateSupport()
CfnAutoScalingGroup.InstanceRequirementsProperty
Default: false
getRequireHibernateSupport in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Number getSpotMaxPricePercentageOverLowestPrice()
CfnAutoScalingGroup.InstanceRequirementsProperty
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
getSpotMaxPricePercentageOverLowestPrice in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Object getTotalLocalStorageGb()
CfnAutoScalingGroup.InstanceRequirementsPropertyDefault: No minimum or maximum
getTotalLocalStorageGb in interface CfnAutoScalingGroup.InstanceRequirementsPropertypublic final Object getVCpuCount()
CfnAutoScalingGroup.InstanceRequirementsPropertygetVCpuCount in interface CfnAutoScalingGroup.InstanceRequirementsProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.