Skip to content
v2.278.0

AcceleratorTotalMemoryMiBRequestProperty Struct ​

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 ​

ts
// 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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecs as ecs

accelerator_total_memory_mi_b_request_property = ecs.CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty(
    max=123,
    min=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;

AcceleratorTotalMemoryMiBRequestProperty acceleratorTotalMemoryMiBRequestProperty = AcceleratorTotalMemoryMiBRequestProperty.builder()
        .max(123)
        .min(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

acceleratorTotalMemoryMiBRequestProperty := &AcceleratorTotalMemoryMiBRequestProperty{
	Max: jsii.Number(123),
	Min: jsii.Number(123),
}

Properties ​

maxoptionalnumbermaxoptionalint | floatmaxoptionalNumberMaxoptionaldoubleMaxoptional*float64 #
The maximum total accelerator memory in MiB.

Instance types with more accelerator memory are excluded from selection.

minoptionalnumberminoptionalint | floatminoptionalNumberMinoptionaldoubleMinoptional*float64 #
The minimum total accelerator memory in MiB.

Instance types with less accelerator memory are excluded from selection.