Class CfnCapacityProvider.InstanceRequirementsRequestProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCapacityProvider.InstanceRequirementsRequestProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCapacityProvider.InstanceRequirementsRequestProperty
CfnCapacityProvider.InstanceRequirementsRequestProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnCapacityProvider.InstanceRequirementsRequestProperty
CfnCapacityProvider.InstanceRequirementsRequestProperty.Builder, CfnCapacityProvider.InstanceRequirementsRequestProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCapacityProvider.InstanceRequirementsRequestProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Object
The minimum and maximum number of accelerators for the instance types.The accelerator manufacturers to include.The specific accelerator names to include.final Object
The minimum and maximum total accelerator memory in mebibytes (MiB).The accelerator types to include.The instance types to include in the selection.final String
Indicates whether to include bare metal instance types.final Object
The minimum and maximum baseline Amazon EBS bandwidth in megabits per second (Mbps).final String
Indicates whether to include burstable performance instance types (T2, T3, T3a, T4g).The CPU manufacturers to include or exclude.The instance types to exclude from selection.The instance generations to include.final String
Indicates whether to include instance types with local storage.The local storage types to include.final Number
The maximum price for Spot instances as a percentage of the optimal On-Demand price.final Object
The minimum and maximum amount of memory per vCPU in gibibytes (GiB).final Object
The minimum and maximum amount of memory in mebibytes (MiB) for the instance types.final Object
The minimum and maximum network bandwidth in gigabits per second (Gbps).final Object
The minimum and maximum number of network interfaces for the instance types.final Number
The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price.final Object
Indicates whether the instance types must support hibernation.final Number
The maximum price for Spot instances as a percentage over the lowest priced On-Demand instance.final Object
The minimum and maximum total local storage in gigabytes (GB) for instance types with local storage.final Object
The minimum and maximum number of vCPUs for the instance types.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCapacityProvider.InstanceRequirementsRequestProperty.Builder
.
-
-
Method Details
-
getMemoryMiB
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The minimum and maximum amount of memory in mebibytes (MiB) for the instance types.Amazon ECS selects instance types that have memory within this range.
- Specified by:
getMemoryMiB
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getVCpuCount
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The minimum and maximum number of vCPUs for the instance types.Amazon ECS selects instance types that have vCPU counts within this range.
- Specified by:
getVCpuCount
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getAcceleratorCount
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The minimum and maximum number of accelerators for the instance types.This is used when you need instances with specific numbers of GPUs or other accelerators.
- Specified by:
getAcceleratorCount
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getAcceleratorManufacturers
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The accelerator manufacturers to include.You can specify
nvidia
,amd
,amazon-web-services
, orxilinx
depending on your accelerator requirements.- Specified by:
getAcceleratorManufacturers
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getAcceleratorNames
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The specific accelerator names to include.For example, you can specify
a100
,v100
,k80
, or other specific accelerator models.- Specified by:
getAcceleratorNames
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getAcceleratorTotalMemoryMiB
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The minimum and maximum total accelerator memory in mebibytes (MiB).This is important for GPU workloads that require specific amounts of video memory.
- Specified by:
getAcceleratorTotalMemoryMiB
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getAcceleratorTypes
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The accelerator types to include.You can specify
gpu
for graphics processing units,fpga
for field programmable gate arrays, orinference
for machine learning inference accelerators.- Specified by:
getAcceleratorTypes
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getAllowedInstanceTypes
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The instance types to include in the selection.When specified, Amazon ECS only considers these instance types, subject to the other requirements specified.
- Specified by:
getAllowedInstanceTypes
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getBareMetal
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
Indicates whether to include bare metal instance types.Set to
included
to allow bare metal instances,excluded
to exclude them, orrequired
to use only bare metal instances.- Specified by:
getBareMetal
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getBaselineEbsBandwidthMbps
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The minimum and maximum baseline Amazon EBS bandwidth in megabits per second (Mbps).This is important for workloads with high storage I/O requirements.
- Specified by:
getBaselineEbsBandwidthMbps
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getBurstablePerformance
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
Indicates whether to include burstable performance instance types (T2, T3, T3a, T4g).Set to
included
to allow burstable instances,excluded
to exclude them, orrequired
to use only burstable instances.- Specified by:
getBurstablePerformance
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getCpuManufacturers
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The CPU manufacturers to include or exclude.You can specify
intel
,amd
, oramazon-web-services
to control which CPU types are used for your workloads.- Specified by:
getCpuManufacturers
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getExcludedInstanceTypes
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The instance types to exclude from selection.Use this to prevent Amazon ECS from selecting specific instance types that may not be suitable for your workloads.
- Specified by:
getExcludedInstanceTypes
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getInstanceGenerations
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The instance generations to include.You can specify
current
to use the latest generation instances, orprevious
to include previous generation instances for cost optimization.- Specified by:
getInstanceGenerations
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getLocalStorage
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
Indicates whether to include instance types with local storage.Set to
included
to allow local storage,excluded
to exclude it, orrequired
to use only instances with local storage.- Specified by:
getLocalStorage
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getLocalStorageTypes
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The local storage types to include.You can specify
hdd
for hard disk drives,ssd
for solid state drives, or both.- Specified by:
getLocalStorageTypes
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The maximum price for Spot instances as a percentage of the optimal On-Demand price.This provides more precise cost control for Spot instance selection.
- Specified by:
getMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getMemoryGiBPerVCpu
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The minimum and maximum amount of memory per vCPU in gibibytes (GiB).This helps ensure that instance types have the appropriate memory-to-CPU ratio for your workloads.
- Specified by:
getMemoryGiBPerVCpu
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getNetworkBandwidthGbps
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The minimum and maximum network bandwidth in gigabits per second (Gbps).This is crucial for network-intensive workloads that require high throughput.
- Specified by:
getNetworkBandwidthGbps
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getNetworkInterfaceCount
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The minimum and maximum number of network interfaces for the instance types.This is useful for workloads that require multiple network interfaces.
- Specified by:
getNetworkInterfaceCount
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getOnDemandMaxPricePercentageOverLowestPrice
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price.The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon ECS selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.
- Specified by:
getOnDemandMaxPricePercentageOverLowestPrice
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getRequireHibernateSupport
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
Indicates whether the instance types must support hibernation.When set to
true
, only instance types that support hibernation are selected.- Specified by:
getRequireHibernateSupport
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getSpotMaxPricePercentageOverLowestPrice
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The maximum price for Spot instances as a percentage over the lowest priced On-Demand instance.This helps control Spot instance costs while maintaining access to capacity.
- Specified by:
getSpotMaxPricePercentageOverLowestPrice
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
getTotalLocalStorageGb
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestProperty
The minimum and maximum total local storage in gigabytes (GB) for instance types with local storage.- Specified by:
getTotalLocalStorageGb
in interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-