interface AcceleratorTotalMemoryMiBRequestProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnCapacityProvider_AcceleratorTotalMemoryMiBRequestProperty |
Java | software.amazon.awscdk.services.ecs.CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty |
Python | aws_cdk.aws_ecs.CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty |
TypeScript | aws-cdk-lib » aws_ecs » CfnCapacityProvider » AcceleratorTotalMemoryMiBRequestProperty |
The minimum and maximum total accelerator memory in mebibytes (MiB) for instance type selection.
This is important for GPU workloads that require specific amounts of video memory.
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 acceleratorTotalMemoryMiBRequestProperty: ecs.CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty = {
max: 123,
min: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| max? | number | The maximum total accelerator memory in MiB. |
| min? | number | The minimum total accelerator memory in MiB. |
max?
Type:
number
(optional)
The maximum total accelerator memory in MiB.
Instance types with more accelerator memory are excluded from selection.
min?
Type:
number
(optional)
The minimum total accelerator memory in MiB.
Instance types with less accelerator memory are excluded from selection.

.NET
Go
Java
Python
TypeScript