@Stability(value=Stable) @Internal public static final class CfnEC2Fleet.InstanceRequirementsRequestProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEC2Fleet.InstanceRequirementsRequestProperty
CfnEC2Fleet.InstanceRequirementsRequestPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnEC2Fleet.InstanceRequirementsRequestProperty.Builder, CfnEC2Fleet.InstanceRequirementsRequestProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnEC2Fleet.InstanceRequirementsRequestProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnEC2Fleet.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) on an instance.
|
List<String> |
getAcceleratorManufacturers()
Indicates whether instance types must have accelerators by specific manufacturers.
|
List<String> |
getAcceleratorNames()
The accelerators that must be on the instance type.
|
Object |
getAcceleratorTotalMemoryMiB()
The minimum and maximum amount of total accelerator memory, in MiB.
|
List<String> |
getAcceleratorTypes()
The accelerator types that must be on the instance type.
|
String |
getBareMetal()
Indicates whether bare metal instance types must be included, excluded, or required.
|
Object |
getBaselineEbsBandwidthMbps()
The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps.
|
String |
getBurstablePerformance()
Indicates whether burstable performance T instance types are included, excluded, or required.
|
List<String> |
getCpuManufacturers()
The CPU manufacturers to include.
|
List<String> |
getExcludedInstanceTypes()
The 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()
The type of local storage that is required.
|
Object |
getMemoryGiBPerVCpu()
The minimum and maximum amount of memory per vCPU, in GiB.
|
Object |
getMemoryMiB()
The minimum and maximum amount of memory, in MiB.
|
Object |
getNetworkInterfaceCount()
The minimum and maximum number of network interfaces.
|
Number |
getOnDemandMaxPricePercentageOverLowestPrice()
The price protection threshold for On-Demand Instances.
|
Object |
getRequireHibernateSupport()
Indicates whether instance types must support hibernation for On-Demand Instances.
|
Number |
getSpotMaxPricePercentageOverLowestPrice()
The price protection threshold for Spot Instance.
|
Object |
getTotalLocalStorageGb()
The minimum and maximum amount of total local storage, in GB.
|
Object |
getVCpuCount()
The minimum and maximum number of vCPUs.
|
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(CfnEC2Fleet.InstanceRequirementsRequestProperty.Builder builder)
CfnEC2Fleet.AcceleratorCountRequestProperty.Builder.public final Object getAcceleratorCount()
CfnEC2Fleet.InstanceRequirementsRequestProperty
To exclude accelerator-enabled instance types, set Max to 0 .
Default: No minimum or maximum limits
getAcceleratorCount in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final List<String> getAcceleratorManufacturers()
CfnEC2Fleet.InstanceRequirementsRequestProperty
nvidia .amd .amazon-web-services .xilinx .Default: Any manufacturer
getAcceleratorManufacturers in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final List<String> getAcceleratorNames()
CfnEC2Fleet.InstanceRequirementsRequestProperty
a100 .v100 .k80 .t4 .m60 .radeon-pro-v520 .vu9p .Default: Any accelerator
getAcceleratorNames in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Object getAcceleratorTotalMemoryMiB()
CfnEC2Fleet.InstanceRequirementsRequestPropertyDefault: No minimum or maximum limits
getAcceleratorTotalMemoryMiB in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final List<String> getAcceleratorTypes()
CfnEC2Fleet.InstanceRequirementsRequestProperty
gpu .fpga .inference .Default: Any accelerator type
getAcceleratorTypes in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final String getBareMetal()
CfnEC2Fleet.InstanceRequirementsRequestProperty
included .required .excluded .
Default: excluded
getBareMetal in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Object getBaselineEbsBandwidthMbps()
CfnEC2Fleet.InstanceRequirementsRequestPropertyFor more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
getBaselineEbsBandwidthMbps in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final String getBurstablePerformance()
CfnEC2Fleet.InstanceRequirementsRequestPropertyFor more information, see Burstable performance instances .
included .required .excluded .
Default: excluded
getBurstablePerformance in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final List<String> getCpuManufacturers()
CfnEC2Fleet.InstanceRequirementsRequestProperty
intel .amd .amazon-web-services .
Don't confuse the CPU manufacturer with the CPU 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 CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final List<String> getExcludedInstanceTypes()
CfnEC2Fleet.InstanceRequirementsRequestProperty
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* ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.
Default: No excluded instance types
getExcludedInstanceTypes in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final List<String> getInstanceGenerations()
CfnEC2Fleet.InstanceRequirementsRequestPropertyThe current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .
For current generation instance types, specify current .
For previous generation instance types, specify previous .
Default: Current and previous generation instance types
getInstanceGenerations in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final String getLocalStorage()
CfnEC2Fleet.InstanceRequirementsRequestPropertyFor more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
included .required .excluded .
Default: included
getLocalStorage in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final List<String> getLocalStorageTypes()
CfnEC2Fleet.InstanceRequirementsRequestProperty
hdd .sdd .
Default: hdd and sdd
getLocalStorageTypes in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Object getMemoryGiBPerVCpu()
CfnEC2Fleet.InstanceRequirementsRequestPropertyDefault: No minimum or maximum limits
getMemoryGiBPerVCpu in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Object getMemoryMiB()
CfnEC2Fleet.InstanceRequirementsRequestPropertygetMemoryMiB in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Object getNetworkInterfaceCount()
CfnEC2Fleet.InstanceRequirementsRequestPropertyDefault: No minimum or maximum limits
getNetworkInterfaceCount in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Number getOnDemandMaxPricePercentageOverLowestPrice()
CfnEC2Fleet.InstanceRequirementsRequestPropertyThis is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage above the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it excludes instance types priced above your threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To turn off price protection, specify a high value, such as 999999 .
This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
If you set
TargetCapacityUnitTypetovcpuormemory-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 CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Object getRequireHibernateSupport()
CfnEC2Fleet.InstanceRequirementsRequestPropertyThis parameter is not supported for GetSpotPlacementScores .
Default: false
getRequireHibernateSupport in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Number getSpotMaxPricePercentageOverLowestPrice()
CfnEC2Fleet.InstanceRequirementsRequestPropertyThis is the maximum you’ll pay for an Spot Instance, expressed as a percentage above the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it excludes instance types priced above your threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To turn off price protection, specify a high value, such as 999999 .
This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
If you set
TargetCapacityUnitTypetovcpuormemory-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 CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Object getTotalLocalStorageGb()
CfnEC2Fleet.InstanceRequirementsRequestPropertyDefault: No minimum or maximum limits
getTotalLocalStorageGb in interface CfnEC2Fleet.InstanceRequirementsRequestPropertypublic final Object getVCpuCount()
CfnEC2Fleet.InstanceRequirementsRequestPropertygetVCpuCount in interface CfnEC2Fleet.InstanceRequirementsRequestProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.