public static final class CfnAutoScalingGroup.InstanceRequirementsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAutoScalingGroup.InstanceRequirementsProperty
CfnAutoScalingGroup.InstanceRequirementsProperty
CfnAutoScalingGroup.InstanceRequirementsProperty.Builder, CfnAutoScalingGroup.InstanceRequirementsProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.Object |
getAcceleratorCount()
The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type.
|
java.util.List<java.lang.String> |
getAcceleratorManufacturers()
Indicates whether instance types must have accelerators by specific manufacturers.
|
java.util.List<java.lang.String> |
getAcceleratorNames()
Lists the accelerators that must be on an instance type.
|
java.lang.Object |
getAcceleratorTotalMemoryMiB()
The minimum and maximum total memory size for the accelerators on an instance type, in MiB.
|
java.util.List<java.lang.String> |
getAcceleratorTypes()
Lists the accelerator types that must be on an instance type.
|
java.util.List<java.lang.String> |
getAllowedInstanceTypes()
The instance types to apply your specified attributes against.
|
java.lang.String |
getBareMetal()
Indicates whether bare metal instance types are included, excluded, or required.
|
java.lang.Object |
getBaselineEbsBandwidthMbps()
The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
|
java.lang.String |
getBurstablePerformance()
Indicates whether burstable performance instance types are included, excluded, or required.
|
java.util.List<java.lang.String> |
getCpuManufacturers()
Lists which specific CPU manufacturers to include.
|
java.util.List<java.lang.String> |
getExcludedInstanceTypes()
The instance types to exclude.
|
java.util.List<java.lang.String> |
getInstanceGenerations()
Indicates whether current or previous generation instance types are included.
|
java.lang.String |
getLocalStorage()
Indicates whether instance types with instance store volumes are included, excluded, or required.
|
java.util.List<java.lang.String> |
getLocalStorageTypes()
Indicates the type of local storage that is required.
|
java.lang.Object |
getMemoryGiBPerVCpu()
The minimum and maximum amount of memory per vCPU for an instance type, in GiB.
|
java.lang.Object |
getMemoryMiB()
The minimum and maximum instance memory size for an instance type, in MiB.
|
java.lang.Object |
getNetworkBandwidthGbps()
The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).
|
java.lang.Object |
getNetworkInterfaceCount()
The minimum and maximum number of network interfaces for an instance type.
|
java.lang.Number |
getOnDemandMaxPricePercentageOverLowestPrice()
The price protection threshold for On-Demand Instances.
|
java.lang.Object |
getRequireHibernateSupport()
Indicates whether instance types must provide On-Demand Instance hibernation support.
|
java.lang.Number |
getSpotMaxPricePercentageOverLowestPrice()
The price protection threshold for Spot Instances.
|
java.lang.Object |
getTotalLocalStorageGb()
The minimum and maximum total local storage size for an instance type, in GB.
|
java.lang.Object |
getVCpuCount()
The minimum and maximum number of vCPUs for an instance type.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getAcceleratorCount()
CfnAutoScalingGroup.InstanceRequirementsProperty
To exclude accelerator-enabled instance types, set Max
to 0
.
Default: No minimum or maximum limits
getAcceleratorCount
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.util.List<java.lang.String> getAcceleratorManufacturers()
CfnAutoScalingGroup.InstanceRequirementsProperty
nvidia
.amd
.amazon-web-services
.xilinx
.Default: Any manufacturer
getAcceleratorManufacturers
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.util.List<java.lang.String> getAcceleratorNames()
CfnAutoScalingGroup.InstanceRequirementsProperty
a100
.v100
.k80
.t4
.m60
.radeon-pro-v520
.vu9p
.Default: Any accelerator
getAcceleratorNames
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.Object getAcceleratorTotalMemoryMiB()
CfnAutoScalingGroup.InstanceRequirementsProperty
Default: No minimum or maximum limits
getAcceleratorTotalMemoryMiB
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.util.List<java.lang.String> getAcceleratorTypes()
CfnAutoScalingGroup.InstanceRequirementsProperty
gpu
.fpga
.inference
.Default: Any accelerator type
getAcceleratorTypes
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.util.List<java.lang.String> getAllowedInstanceTypes()
CfnAutoScalingGroup.InstanceRequirementsProperty
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*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types.
If you specify
AllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
.
Default: All instance types
getAllowedInstanceTypes
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.String getBareMetal()
CfnAutoScalingGroup.InstanceRequirementsProperty
Default: excluded
getBareMetal
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.Object getBaselineEbsBandwidthMbps()
CfnAutoScalingGroup.InstanceRequirementsProperty
For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances .
Default: No minimum or maximum limits
getBaselineEbsBandwidthMbps
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.String getBurstablePerformance()
CfnAutoScalingGroup.InstanceRequirementsProperty
For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances .
Default: excluded
getBurstablePerformance
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.util.List<java.lang.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.InstanceRequirementsProperty
public final java.util.List<java.lang.String> getExcludedInstanceTypes()
CfnAutoScalingGroup.InstanceRequirementsProperty
You can use strings with one or more wild cards, represented by an asterisk ( *
), to exclude an instance family, 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.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types.
If you specify
ExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
.
Default: No excluded instance types
getExcludedInstanceTypes
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.util.List<java.lang.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.InstanceRequirementsProperty
public final java.lang.String getLocalStorage()
CfnAutoScalingGroup.InstanceRequirementsProperty
For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances .
Default: included
getLocalStorage
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.util.List<java.lang.String> getLocalStorageTypes()
CfnAutoScalingGroup.InstanceRequirementsProperty
hdd
.ssd
.Default: Any local storage type
getLocalStorageTypes
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.Object getMemoryGiBPerVCpu()
CfnAutoScalingGroup.InstanceRequirementsProperty
Default: No minimum or maximum limits
getMemoryGiBPerVCpu
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.Object getMemoryMiB()
CfnAutoScalingGroup.InstanceRequirementsProperty
getMemoryMiB
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.Object getNetworkBandwidthGbps()
CfnAutoScalingGroup.InstanceRequirementsProperty
Default: No minimum or maximum limits
getNetworkBandwidthGbps
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.Object getNetworkInterfaceCount()
CfnAutoScalingGroup.InstanceRequirementsProperty
Default: No minimum or maximum limits
getNetworkInterfaceCount
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.Number getOnDemandMaxPricePercentageOverLowestPrice()
CfnAutoScalingGroup.InstanceRequirementsProperty
This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the least expensive current generation 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.InstanceRequirementsProperty
public final java.lang.Object getRequireHibernateSupport()
CfnAutoScalingGroup.InstanceRequirementsProperty
Default: false
getRequireHibernateSupport
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.Number getSpotMaxPricePercentageOverLowestPrice()
CfnAutoScalingGroup.InstanceRequirementsProperty
This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the least expensive current generation 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.InstanceRequirementsProperty
public final java.lang.Object getTotalLocalStorageGb()
CfnAutoScalingGroup.InstanceRequirementsProperty
Default: No minimum or maximum limits
getTotalLocalStorageGb
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public final java.lang.Object getVCpuCount()
CfnAutoScalingGroup.InstanceRequirementsProperty
getVCpuCount
in interface CfnAutoScalingGroup.InstanceRequirementsProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()