Class CfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty
CfnCapacityProviderPropsMixin.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.cfnpropertymixins.services.ecs.CfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty
CfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty.Builder, CfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCapacityProviderPropsMixin.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
protected Jsii$Proxy(CfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty.Builder.
-
-
Method Details
-
getAcceleratorCount
Description copied from interface:CfnCapacityProviderPropsMixin.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
IResolvableorCfnCapacityProviderPropsMixin.AcceleratorCountRequestProperty- Specified by:
getAcceleratorCountin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getAcceleratorManufacturers
Description copied from interface:CfnCapacityProviderPropsMixin.InstanceRequirementsRequestPropertyThe accelerator manufacturers to include.You can specify
nvidia,amd,amazon-web-services, orxilinxdepending on your accelerator requirements.- Specified by:
getAcceleratorManufacturersin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getAcceleratorNames
Description copied from interface:CfnCapacityProviderPropsMixin.InstanceRequirementsRequestPropertyThe specific accelerator names to include.For example, you can specify
a100,v100,k80, or other specific accelerator models.- Specified by:
getAcceleratorNamesin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getAcceleratorTotalMemoryMiB
Description copied from interface:CfnCapacityProviderPropsMixin.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
IResolvableorCfnCapacityProviderPropsMixin.AcceleratorTotalMemoryMiBRequestProperty- Specified by:
getAcceleratorTotalMemoryMiBin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getAcceleratorTypes
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getAllowedInstanceTypes
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getBareMetal
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getBaselineEbsBandwidthMbps
Description copied from interface:CfnCapacityProviderPropsMixin.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
IResolvableorCfnCapacityProviderPropsMixin.BaselineEbsBandwidthMbpsRequestProperty- Specified by:
getBaselineEbsBandwidthMbpsin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getBurstablePerformance
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getCpuManufacturers
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getExcludedInstanceTypes
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getInstanceGenerations
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getLocalStorage
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getLocalStorageTypes
Description copied from interface:CfnCapacityProviderPropsMixin.InstanceRequirementsRequestPropertyThe local storage types to include.You can specify
hddfor hard disk drives,ssdfor solid state drives, or both.- Specified by:
getLocalStorageTypesin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getMemoryGiBPerVCpu
Description copied from interface:CfnCapacityProviderPropsMixin.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
IResolvableorCfnCapacityProviderPropsMixin.MemoryGiBPerVCpuRequestProperty- Specified by:
getMemoryGiBPerVCpuin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getMemoryMiB
Description copied from interface:CfnCapacityProviderPropsMixin.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
IResolvableorCfnCapacityProviderPropsMixin.MemoryMiBRequestProperty- Specified by:
getMemoryMiBin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getNetworkBandwidthGbps
Description copied from interface:CfnCapacityProviderPropsMixin.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
IResolvableorCfnCapacityProviderPropsMixin.NetworkBandwidthGbpsRequestProperty- Specified by:
getNetworkBandwidthGbpsin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getNetworkInterfaceCount
Description copied from interface:CfnCapacityProviderPropsMixin.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
IResolvableorCfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty- Specified by:
getNetworkInterfaceCountin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getOnDemandMaxPricePercentageOverLowestPrice
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getRequireHibernateSupport
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getSpotMaxPricePercentageOverLowestPrice
Description copied from interface:CfnCapacityProviderPropsMixin.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 interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getTotalLocalStorageGb
Description copied from interface:CfnCapacityProviderPropsMixin.InstanceRequirementsRequestPropertyThe minimum and maximum total local storage in gigabytes (GB) for instance types with local storage.Returns union: either
IResolvableorCfnCapacityProviderPropsMixin.TotalLocalStorageGBRequestProperty- Specified by:
getTotalLocalStorageGbin interfaceCfnCapacityProviderPropsMixin.InstanceRequirementsRequestProperty- See Also:
-
getVCpuCount
Description copied from interface:CfnCapacityProviderPropsMixin.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
IResolvableorCfnCapacityProviderPropsMixin.VCpuCountRangeRequestProperty- Specified by:
getVCpuCountin interfaceCfnCapacityProviderPropsMixin.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()
-