interface AcceleratorCountRequestProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnCapacityProviderPropsMixin.AcceleratorCountRequestProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnCapacityProviderPropsMixin_AcceleratorCountRequestProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnCapacityProviderPropsMixin.AcceleratorCountRequestProperty |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnCapacityProviderPropsMixin.AcceleratorCountRequestProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnCapacityProviderPropsMixin » AcceleratorCountRequestProperty |
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 { mixins as ecs_mixins } from '@aws-cdk/mixins-preview/aws-ecs';
const acceleratorCountRequestProperty: ecs_mixins.CfnCapacityProviderPropsMixin.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.
Instance types with more accelerators are excluded from selection.
min?
Type:
number
(optional)
The minimum number of accelerators.
Instance types with fewer accelerators are excluded from selection.

.NET
Go
Java
Python
TypeScript