Interface CfnCapacityProvider.InstanceRequirementsRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProvider.InstanceRequirementsRequestProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProvider
@Stability(Stable)
public static interface CfnCapacityProvider.InstanceRequirementsRequestProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.*; InstanceRequirementsRequestProperty instanceRequirementsRequestProperty = InstanceRequirementsRequestProperty.builder() .memoryMiB(MemoryMiBRequestProperty.builder() .min(123) // the properties below are optional .max(123) .build()) .vCpuCount(VCpuCountRangeRequestProperty.builder() .min(123) // the properties below are optional .max(123) .build()) // the properties below are optional .acceleratorCount(AcceleratorCountRequestProperty.builder() .max(123) .min(123) .build()) .acceleratorManufacturers(List.of("acceleratorManufacturers")) .acceleratorNames(List.of("acceleratorNames")) .acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRequestProperty.builder() .max(123) .min(123) .build()) .acceleratorTypes(List.of("acceleratorTypes")) .allowedInstanceTypes(List.of("allowedInstanceTypes")) .bareMetal("bareMetal") .baselineEbsBandwidthMbps(BaselineEbsBandwidthMbpsRequestProperty.builder() .max(123) .min(123) .build()) .burstablePerformance("burstablePerformance") .cpuManufacturers(List.of("cpuManufacturers")) .excludedInstanceTypes(List.of("excludedInstanceTypes")) .instanceGenerations(List.of("instanceGenerations")) .localStorage("localStorage") .localStorageTypes(List.of("localStorageTypes")) .maxSpotPriceAsPercentageOfOptimalOnDemandPrice(123) .memoryGiBPerVCpu(MemoryGiBPerVCpuRequestProperty.builder() .max(123) .min(123) .build()) .networkBandwidthGbps(NetworkBandwidthGbpsRequestProperty.builder() .max(123) .min(123) .build()) .networkInterfaceCount(NetworkInterfaceCountRequestProperty.builder() .max(123) .min(123) .build()) .onDemandMaxPricePercentageOverLowestPrice(123) .requireHibernateSupport(false) .spotMaxPricePercentageOverLowestPrice(123) .totalLocalStorageGb(TotalLocalStorageGBRequestProperty.builder() .max(123) .min(123) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCapacityProvider.InstanceRequirementsRequestProperty
static final class
An implementation forCfnCapacityProvider.InstanceRequirementsRequestProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMemoryMiB
- See Also:
-
getVCpuCount
- See Also:
-
getAcceleratorCount
- See Also:
-
getAcceleratorManufacturers
- See Also:
-
getAcceleratorNames
- See Also:
-
getAcceleratorTotalMemoryMiB
- See Also:
-
getAcceleratorTypes
- See Also:
-
getAllowedInstanceTypes
- See Also:
-
getBareMetal
- See Also:
-
getBaselineEbsBandwidthMbps
- See Also:
-
getBurstablePerformance
- See Also:
-
getCpuManufacturers
- See Also:
-
getExcludedInstanceTypes
- See Also:
-
getInstanceGenerations
- See Also:
-
getLocalStorage
- See Also:
-
getLocalStorageTypes
- See Also:
-
getMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
- See Also:
-
getMemoryGiBPerVCpu
- See Also:
-
getNetworkBandwidthGbps
- See Also:
-
getNetworkInterfaceCount
- See Also:
-
getOnDemandMaxPricePercentageOverLowestPrice
- See Also:
-
getRequireHibernateSupport
- See Also:
-
getSpotMaxPricePercentageOverLowestPrice
- See Also:
-
getTotalLocalStorageGb
- See Also:
-
builder
-