interface AcceleratorCountRequestProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnCapacityProvider.AcceleratorCountRequestProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnCapacityProvider_AcceleratorCountRequestProperty |
Java | software.amazon.awscdk.services.ecs.CfnCapacityProvider.AcceleratorCountRequestProperty |
Python | aws_cdk.aws_ecs.CfnCapacityProvider.AcceleratorCountRequestProperty |
TypeScript | aws-cdk-lib » aws_ecs » CfnCapacityProvider » 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 { aws_ecs as ecs } from 'aws-cdk-lib';
const acceleratorCountRequestProperty: ecs.CfnCapacityProvider.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