Class CfnEC2Fleet.AcceleratorCountRequestProperty
The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEC2Fleet.AcceleratorCountRequestProperty : CfnEC2Fleet.IAcceleratorCountRequestProperty
Syntax (vb)
Public Class CfnEC2Fleet.AcceleratorCountRequestProperty Implements CfnEC2Fleet.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
Constructors
| AcceleratorCountRequestProperty() | The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. |
Properties
| Max | The maximum number of accelerators. |
| Min | The minimum number of accelerators. |
Constructors
AcceleratorCountRequestProperty()
The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
public AcceleratorCountRequestProperty()
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
};
Properties
Max
The maximum number of accelerators.
public double? Max { get; set; }
Property Value
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.
public double? Min { get; set; }
Property Value
Remarks
To specify no minimum limit, omit this parameter.