Interface CfnCapacityProvider.MemoryGiBPerVCpuRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProvider.MemoryGiBPerVCpuRequestProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProvider
@Stability(Stable)
public static interface CfnCapacityProvider.MemoryGiBPerVCpuRequestProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.*;
MemoryGiBPerVCpuRequestProperty memoryGiBPerVCpuRequestProperty = MemoryGiBPerVCpuRequestProperty.builder()
.max(123)
.min(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCapacityProvider.MemoryGiBPerVCpuRequestPropertystatic final classAn implementation forCfnCapacityProvider.MemoryGiBPerVCpuRequestProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMax
The maximum amount of memory per vCPU in GiB.Instance types with a higher memory-to-vCPU ratio are excluded from selection.
- See Also:
-
getMin
The minimum amount of memory per vCPU in GiB.Instance types with a lower memory-to-vCPU ratio are excluded from selection.
- See Also:
-
builder
-