Interface CfnCapacityProvider.AcceleratorCountRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProvider.AcceleratorCountRequestProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProvider
@Stability(Stable)
public static interface CfnCapacityProvider.AcceleratorCountRequestProperty
extends software.amazon.jsii.JsiiSerializable
The minimum and maximum number of accelerators (such as GPUs) for instance type selection.
This is used for workloads that require specific numbers of accelerators.
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.*;
AcceleratorCountRequestProperty acceleratorCountRequestProperty = AcceleratorCountRequestProperty.builder()
.max(123)
.min(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCapacityProvider.AcceleratorCountRequestPropertystatic final classAn implementation forCfnCapacityProvider.AcceleratorCountRequestProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMax
The maximum number of accelerators.Instance types with more accelerators are excluded from selection.
- See Also:
-
getMin
The minimum number of accelerators.Instance types with fewer accelerators are excluded from selection.
- See Also:
-
builder
-