interface AcceleratorCountRequestProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnSpotFleetPropsMixin.AcceleratorCountRequestProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnSpotFleetPropsMixin_AcceleratorCountRequestProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnSpotFleetPropsMixin.AcceleratorCountRequestProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnSpotFleetPropsMixin.AcceleratorCountRequestProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnSpotFleetPropsMixin » AcceleratorCountRequestProperty |
The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set Max to 0 .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const acceleratorCountRequestProperty: ec2_mixins.CfnSpotFleetPropsMixin.AcceleratorCountRequestProperty = {
max: 123,
min: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| max? | number | The maximum number of accelerators. |
| min? | number | The minimum number of accelerators. |
max?
Type:
number
(optional)
The maximum number of accelerators.
To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .
min?
Type:
number
(optional)
The minimum number of accelerators.
To specify no minimum limit, omit this parameter.

.NET
Go
Java
Python
TypeScript