Interface CfnCapacityProviderPropsMixin.IAcceleratorCountRequestProperty
The minimum and maximum number of accelerators (such as GPUs) for instance type selection.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ECS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnCapacityProviderPropsMixin.IAcceleratorCountRequestProperty
Syntax (vb)
Public Interface CfnCapacityProviderPropsMixin.IAcceleratorCountRequestProperty
Remarks
This is used for workloads that require specific numbers of accelerators.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.ECS;
var acceleratorCountRequestProperty = new AcceleratorCountRequestProperty {
Max = 123,
Min = 123
};
Synopsis
Properties
| Max | The maximum number of accelerators. |
| Min | The minimum number of accelerators. |
Properties
Max
The maximum number of accelerators.
double? Max { get; }
Property Value
Remarks
Instance types with more accelerators are excluded from selection.
Min
The minimum number of accelerators.
double? Min { get; }
Property Value
Remarks
Instance types with fewer accelerators are excluded from selection.