@Stability(value=Stable) @Internal public static final class CfnLaunchTemplate.InstanceRequirementsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLaunchTemplate.InstanceRequirementsProperty
CfnLaunchTemplate.InstanceRequirementsPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLaunchTemplate.InstanceRequirementsProperty.Builder, CfnLaunchTemplate.InstanceRequirementsProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLaunchTemplate.InstanceRequirementsProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLaunchTemplate.AcceleratorCountProperty.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 Instances.
|
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(CfnLaunchTemplate.InstanceRequirementsProperty.Builder builder)
CfnLaunchTemplate.AcceleratorCountProperty.Builder.public final Object getAcceleratorCount()
CfnLaunchTemplate.InstanceRequirementsProperty
To exclude accelerator-enabled instance types, set Max to 0 .
Default: No minimum or maximum limits
getAcceleratorCount in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final List<String> getAcceleratorManufacturers()
CfnLaunchTemplate.InstanceRequirementsProperty
nvidia .amd .amazon-web-services .xilinx .Default: Any manufacturer
getAcceleratorManufacturers in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final List<String> getAcceleratorNames()
CfnLaunchTemplate.InstanceRequirementsProperty
a100 .v100 .k80 .t4 .m60 .radeon-pro-v520 .vu9p .Default: Any accelerator
getAcceleratorNames in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final Object getAcceleratorTotalMemoryMiB()
CfnLaunchTemplate.InstanceRequirementsPropertyDefault: No minimum or maximum limits
getAcceleratorTotalMemoryMiB in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final List<String> getAcceleratorTypes()
CfnLaunchTemplate.InstanceRequirementsProperty
gpu .fpga .inference .Default: Any accelerator type
getAcceleratorTypes in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final String getBareMetal()
CfnLaunchTemplate.InstanceRequirementsProperty
included .required .excluded .
Default: excluded
getBareMetal in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final Object getBaselineEbsBandwidthMbps()
CfnLaunchTemplate.InstanceRequirementsPropertyFor more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
getBaselineEbsBandwidthMbps in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final String getBurstablePerformance()
CfnLaunchTemplate.InstanceRequirementsPropertyFor more information, see Burstable performance instances .
included .required .excluded .
Default: excluded
getBurstablePerformance in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final List<String> getCpuManufacturers()
CfnLaunchTemplate.InstanceRequirementsProperty
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 CfnLaunchTemplate.InstanceRequirementsPropertypublic final List<String> getExcludedInstanceTypes()
CfnLaunchTemplate.InstanceRequirementsProperty
You can use strings with one or more wild cards, represented by an asterisk ( * ), to exclude an instance 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 CfnLaunchTemplate.InstanceRequirementsPropertypublic final List<String> getInstanceGenerations()
CfnLaunchTemplate.InstanceRequirementsPropertyThe 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 CfnLaunchTemplate.InstanceRequirementsPropertypublic final String getLocalStorage()
CfnLaunchTemplate.InstanceRequirementsPropertyFor more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
included .required .excluded .
Default: included
getLocalStorage in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final List<String> getLocalStorageTypes()
CfnLaunchTemplate.InstanceRequirementsProperty
hdd .sdd .
Default: hdd and sdd
getLocalStorageTypes in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final Object getMemoryGiBPerVCpu()
CfnLaunchTemplate.InstanceRequirementsPropertyDefault: No minimum or maximum limits
getMemoryGiBPerVCpu in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final Object getMemoryMiB()
CfnLaunchTemplate.InstanceRequirementsPropertygetMemoryMiB in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final Object getNetworkInterfaceCount()
CfnLaunchTemplate.InstanceRequirementsPropertyDefault: No minimum or maximum limits
getNetworkInterfaceCount in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final Number getOnDemandMaxPricePercentageOverLowestPrice()
CfnLaunchTemplate.InstanceRequirementsPropertyThis 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 CfnLaunchTemplate.InstanceRequirementsPropertypublic final Object getRequireHibernateSupport()
CfnLaunchTemplate.InstanceRequirementsPropertyThis parameter is not supported for GetSpotPlacementScores .
Default: false
getRequireHibernateSupport in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final Number getSpotMaxPricePercentageOverLowestPrice()
CfnLaunchTemplate.InstanceRequirementsPropertyThis is the maximum you’ll pay for a 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 CfnLaunchTemplate.InstanceRequirementsPropertypublic final Object getTotalLocalStorageGb()
CfnLaunchTemplate.InstanceRequirementsPropertyDefault: No minimum or maximum limits
getTotalLocalStorageGb in interface CfnLaunchTemplate.InstanceRequirementsPropertypublic final Object getVCpuCount()
CfnLaunchTemplate.InstanceRequirementsPropertygetVCpuCount in interface CfnLaunchTemplate.InstanceRequirementsProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.