Interface CfnCapacityProvider.IAcceleratorTotalMemoryMiBRequestProperty
The minimum and maximum total accelerator memory in mebibytes (MiB) for instance type selection.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnCapacityProvider.IAcceleratorTotalMemoryMiBRequestProperty
Syntax (vb)
Public Interface CfnCapacityProvider.IAcceleratorTotalMemoryMiBRequestProperty
Remarks
This is important for GPU workloads that require specific amounts of video memory.
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.ECS;
var acceleratorTotalMemoryMiBRequestProperty = new AcceleratorTotalMemoryMiBRequestProperty {
Max = 123,
Min = 123
};
Synopsis
Properties
| Max | The maximum total accelerator memory in MiB. |
| Min | The minimum total accelerator memory in MiB. |
Properties
Max
The maximum total accelerator memory in MiB.
double? Max { get; }
Property Value
Remarks
Instance types with more accelerator memory are excluded from selection.
Min
The minimum total accelerator memory in MiB.
double? Min { get; }
Property Value
Remarks
Instance types with less accelerator memory are excluded from selection.