Interface CfnSpotFleet.IAcceleratorCountRequestProperty
The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAcceleratorCountRequestProperty
Syntax (vb)
Public Interface IAcceleratorCountRequestProperty
Remarks
To exclude accelerator-enabled instance types, set Max
to 0
.
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.AWS.EC2;
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.
virtual Nullable<double> Max { get; }
Property Value
System.Nullable<System.Double>
Remarks
To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max
to 0
.
Min
The minimum number of accelerators.
virtual Nullable<double> Min { get; }
Property Value
System.Nullable<System.Double>
Remarks
To specify no minimum limit, omit this parameter.