Interface CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProvider
@Stability(Stable)
public static interface CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty
extends software.amazon.jsii.JsiiSerializable
The minimum and maximum total accelerator memory in mebibytes (MiB) for instance type selection.
This is important for GPU workloads that require specific amounts of video memory.
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.*;
AcceleratorTotalMemoryMiBRequestProperty acceleratorTotalMemoryMiBRequestProperty = AcceleratorTotalMemoryMiBRequestProperty.builder()
.max(123)
.min(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMax
The maximum total accelerator memory in MiB.Instance types with more accelerator memory are excluded from selection.
- See Also:
-
getMin
The minimum total accelerator memory in MiB.Instance types with less accelerator memory are excluded from selection.
- See Also:
-
builder
@Stability(Stable) static CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.Builder builder()
-