public static final class CfnEC2Fleet.InstanceRequirementsRequestProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEC2Fleet.InstanceRequirementsRequestProperty
CfnEC2Fleet.InstanceRequirementsRequestProperty
CfnEC2Fleet.InstanceRequirementsRequestProperty.Builder, CfnEC2Fleet.InstanceRequirementsRequestProperty.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) on an instance.
|
java.util.List<java.lang.String> |
getAcceleratorManufacturers()
Indicates whether instance types must have accelerators by specific manufacturers.
|
java.util.List<java.lang.String> |
getAcceleratorNames()
The accelerators that must be on the instance type.
|
java.lang.Object |
getAcceleratorTotalMemoryMiB()
The minimum and maximum amount of total accelerator memory, in MiB.
|
java.util.List<java.lang.String> |
getAcceleratorTypes()
The accelerator types that must be on the instance type.
|
java.lang.String |
getBareMetal()
Indicates whether bare metal instance types must be included, excluded, or required.
|
java.lang.Object |
getBaselineEbsBandwidthMbps()
The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps.
|
java.lang.String |
getBurstablePerformance()
Indicates whether burstable performance T instance types are included, excluded, or required.
|
java.util.List<java.lang.String> |
getCpuManufacturers()
The 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()
The type of local storage that is required.
|
java.lang.Object |
getMemoryGiBPerVCpu()
The minimum and maximum amount of memory per vCPU, in GiB.
|
java.lang.Object |
getMemoryMiB()
The minimum and maximum amount of memory, in MiB.
|
java.lang.Object |
getNetworkInterfaceCount()
The minimum and maximum number of network interfaces.
|
java.lang.Number |
getOnDemandMaxPricePercentageOverLowestPrice()
The price protection threshold for On-Demand Instances.
|
java.lang.Object |
getRequireHibernateSupport()
Indicates whether instance types must support hibernation for On-Demand Instances.
|
java.lang.Number |
getSpotMaxPricePercentageOverLowestPrice()
The price protection threshold for Spot Instance.
|
java.lang.Object |
getTotalLocalStorageGb()
The minimum and maximum amount of total local storage, in GB.
|
java.lang.Object |
getVCpuCount()
The minimum and maximum number of vCPUs.
|
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()
CfnEC2Fleet.InstanceRequirementsRequestProperty
To exclude accelerator-enabled instance types, set Max
to 0
.
Default: No minimum or maximum limits
getAcceleratorCount
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.util.List<java.lang.String> getAcceleratorManufacturers()
CfnEC2Fleet.InstanceRequirementsRequestProperty
nvidia
.amd
.amazon-web-services
.xilinx
.Default: Any manufacturer
getAcceleratorManufacturers
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.util.List<java.lang.String> getAcceleratorNames()
CfnEC2Fleet.InstanceRequirementsRequestProperty
a100
.v100
.k80
.t4
.m60
.radeon-pro-v520
.vu9p
.Default: Any accelerator
getAcceleratorNames
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.Object getAcceleratorTotalMemoryMiB()
CfnEC2Fleet.InstanceRequirementsRequestProperty
Default: No minimum or maximum limits
getAcceleratorTotalMemoryMiB
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.util.List<java.lang.String> getAcceleratorTypes()
CfnEC2Fleet.InstanceRequirementsRequestProperty
gpu
.fpga
.inference
.Default: Any accelerator type
getAcceleratorTypes
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.String getBareMetal()
CfnEC2Fleet.InstanceRequirementsRequestProperty
included
.required
.excluded
.
Default: excluded
getBareMetal
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.Object getBaselineEbsBandwidthMbps()
CfnEC2Fleet.InstanceRequirementsRequestProperty
For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
getBaselineEbsBandwidthMbps
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.String getBurstablePerformance()
CfnEC2Fleet.InstanceRequirementsRequestProperty
For more information, see Burstable performance instances .
included
.required
.excluded
.
Default: excluded
getBurstablePerformance
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.util.List<java.lang.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.InstanceRequirementsRequestProperty
public final java.util.List<java.lang.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.InstanceRequirementsRequestProperty
public final java.util.List<java.lang.String> getInstanceGenerations()
CfnEC2Fleet.InstanceRequirementsRequestProperty
The 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.InstanceRequirementsRequestProperty
public final java.lang.String getLocalStorage()
CfnEC2Fleet.InstanceRequirementsRequestProperty
For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
included
.required
.excluded
.
Default: included
getLocalStorage
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.util.List<java.lang.String> getLocalStorageTypes()
CfnEC2Fleet.InstanceRequirementsRequestProperty
hdd
.sdd
.
Default: hdd
and sdd
getLocalStorageTypes
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.Object getMemoryGiBPerVCpu()
CfnEC2Fleet.InstanceRequirementsRequestProperty
Default: No minimum or maximum limits
getMemoryGiBPerVCpu
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.Object getMemoryMiB()
CfnEC2Fleet.InstanceRequirementsRequestProperty
getMemoryMiB
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.Object getNetworkInterfaceCount()
CfnEC2Fleet.InstanceRequirementsRequestProperty
Default: No minimum or maximum limits
getNetworkInterfaceCount
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.Number getOnDemandMaxPricePercentageOverLowestPrice()
CfnEC2Fleet.InstanceRequirementsRequestProperty
This 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
TargetCapacityUnitType
tovcpu
ormemory-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.InstanceRequirementsRequestProperty
public final java.lang.Object getRequireHibernateSupport()
CfnEC2Fleet.InstanceRequirementsRequestProperty
This parameter is not supported for GetSpotPlacementScores .
Default: false
getRequireHibernateSupport
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.Number getSpotMaxPricePercentageOverLowestPrice()
CfnEC2Fleet.InstanceRequirementsRequestProperty
This 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
TargetCapacityUnitType
tovcpu
ormemory-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.InstanceRequirementsRequestProperty
public final java.lang.Object getTotalLocalStorageGb()
CfnEC2Fleet.InstanceRequirementsRequestProperty
Default: No minimum or maximum limits
getTotalLocalStorageGb
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public final java.lang.Object getVCpuCount()
CfnEC2Fleet.InstanceRequirementsRequestProperty
getVCpuCount
in interface CfnEC2Fleet.InstanceRequirementsRequestProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()