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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnCapacityProvider.InstanceRequirementsRequestProperty
CfnCapacityProvider.InstanceRequirementsRequestProperty.Builder, CfnCapacityProvider.InstanceRequirementsRequestProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCapacityProvider.InstanceRequirementsRequestProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectThe minimum and maximum number of accelerators for the instance types.The accelerator manufacturers to include.The specific accelerator names to include.final ObjectThe minimum and maximum total accelerator memory in mebibytes (MiB).The accelerator types to include.The instance types to include in the selection.final StringIndicates whether to include bare metal instance types.final ObjectThe minimum and maximum baseline Amazon EBS bandwidth in megabits per second (Mbps).final StringIndicates 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 StringIndicates whether to include instance types with local storage.The local storage types to include.final NumberThe maximum price for Spot instances as a percentage of the optimal On-Demand price.final ObjectThe minimum and maximum amount of memory per vCPU in gibibytes (GiB).final ObjectThe minimum and maximum amount of memory in mebibytes (MiB) for the instance types.final ObjectThe minimum and maximum network bandwidth in gigabits per second (Gbps).final ObjectThe minimum and maximum number of network interfaces for the instance types.final NumberThe price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price.final ObjectIndicates whether the instance types must support hibernation.final NumberThe maximum price for Spot instances as a percentage over the lowest priced On-Demand instance.final ObjectThe minimum and maximum total local storage in gigabytes (GB) for instance types with local storage.final ObjectThe minimum and maximum number of vCPUs for the instance types.final inthashCode()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.InstanceRequirementsRequestPropertyThe minimum and maximum amount of memory in mebibytes (MiB) for the instance types.Amazon ECS selects instance types that have memory within this range.
Returns union: either
IResolvableorCfnCapacityProvider.MemoryMiBRequestProperty- Specified by:
getMemoryMiBin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getVCpuCount
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe minimum and maximum number of vCPUs for the instance types.Amazon ECS selects instance types that have vCPU counts within this range.
Returns union: either
IResolvableorCfnCapacityProvider.VCpuCountRangeRequestProperty- Specified by:
getVCpuCountin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getAcceleratorCount
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe 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.
Returns union: either
IResolvableorCfnCapacityProvider.AcceleratorCountRequestProperty- Specified by:
getAcceleratorCountin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getAcceleratorManufacturers
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe accelerator manufacturers to include.You can specify
nvidia,amd,amazon-web-services, orxilinxdepending on your accelerator requirements.- Specified by:
getAcceleratorManufacturersin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getAcceleratorNames
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe specific accelerator names to include.For example, you can specify
a100,v100,k80, or other specific accelerator models.- Specified by:
getAcceleratorNamesin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getAcceleratorTotalMemoryMiB
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe minimum and maximum total accelerator memory in mebibytes (MiB).This is important for GPU workloads that require specific amounts of video memory.
Returns union: either
IResolvableorCfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty- Specified by:
getAcceleratorTotalMemoryMiBin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getAcceleratorTypes
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe accelerator types to include.You can specify
gpufor graphics processing units,fpgafor field programmable gate arrays, orinferencefor machine learning inference accelerators.- Specified by:
getAcceleratorTypesin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getAllowedInstanceTypes
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe instance types to include in the selection.When specified, Amazon ECS only considers these instance types, subject to the other requirements specified.
- Specified by:
getAllowedInstanceTypesin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getBareMetal
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyIndicates whether to include bare metal instance types.Set to
includedto allow bare metal instances,excludedto exclude them, orrequiredto use only bare metal instances.- Specified by:
getBareMetalin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getBaselineEbsBandwidthMbps
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe minimum and maximum baseline Amazon EBS bandwidth in megabits per second (Mbps).This is important for workloads with high storage I/O requirements.
Returns union: either
IResolvableorCfnCapacityProvider.BaselineEbsBandwidthMbpsRequestProperty- Specified by:
getBaselineEbsBandwidthMbpsin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getBurstablePerformance
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyIndicates whether to include burstable performance instance types (T2, T3, T3a, T4g).Set to
includedto allow burstable instances,excludedto exclude them, orrequiredto use only burstable instances.- Specified by:
getBurstablePerformancein interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getCpuManufacturers
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe CPU manufacturers to include or exclude.You can specify
intel,amd, oramazon-web-servicesto control which CPU types are used for your workloads.- Specified by:
getCpuManufacturersin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getExcludedInstanceTypes
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe 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:
getExcludedInstanceTypesin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getInstanceGenerations
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe instance generations to include.You can specify
currentto use the latest generation instances, orpreviousto include previous generation instances for cost optimization.- Specified by:
getInstanceGenerationsin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getLocalStorage
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyIndicates whether to include instance types with local storage.Set to
includedto allow local storage,excludedto exclude it, orrequiredto use only instances with local storage.- Specified by:
getLocalStoragein interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getLocalStorageTypes
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe local storage types to include.You can specify
hddfor hard disk drives,ssdfor solid state drives, or both.- Specified by:
getLocalStorageTypesin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe 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:
getMaxSpotPriceAsPercentageOfOptimalOnDemandPricein interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getMemoryGiBPerVCpu
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe 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.
Returns union: either
IResolvableorCfnCapacityProvider.MemoryGiBPerVCpuRequestProperty- Specified by:
getMemoryGiBPerVCpuin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getNetworkBandwidthGbps
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe minimum and maximum network bandwidth in gigabits per second (Gbps).This is crucial for network-intensive workloads that require high throughput.
Returns union: either
IResolvableorCfnCapacityProvider.NetworkBandwidthGbpsRequestProperty- Specified by:
getNetworkBandwidthGbpsin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getNetworkInterfaceCount
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe minimum and maximum number of network interfaces for the instance types.This is useful for workloads that require multiple network interfaces.
Returns union: either
IResolvableorCfnCapacityProvider.NetworkInterfaceCountRequestProperty- Specified by:
getNetworkInterfaceCountin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getOnDemandMaxPricePercentageOverLowestPrice
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe 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:
getOnDemandMaxPricePercentageOverLowestPricein interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getRequireHibernateSupport
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyIndicates whether the instance types must support hibernation.When set to
true, only instance types that support hibernation are selected.Returns union: either
BooleanorIResolvable- Specified by:
getRequireHibernateSupportin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getSpotMaxPricePercentageOverLowestPrice
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe 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:
getSpotMaxPricePercentageOverLowestPricein interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
getTotalLocalStorageGb
Description copied from interface:CfnCapacityProvider.InstanceRequirementsRequestPropertyThe minimum and maximum total local storage in gigabytes (GB) for instance types with local storage.Returns union: either
IResolvableorCfnCapacityProvider.TotalLocalStorageGBRequestProperty- Specified by:
getTotalLocalStorageGbin interfaceCfnCapacityProvider.InstanceRequirementsRequestProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-