Skip to content
v2.274.0

MemoryMiBRequestProperty Struct ​

The minimum and maximum amount of memory in mebibytes (MiB) for instance type selection.

This ensures that selected instance types have adequate memory for your workloads.

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 memoryMiBRequestProperty: ecs.CfnCapacityProvider.MemoryMiBRequestProperty = {
  min: 123,

  // the properties below are optional
  max: 123,
};

Properties ​

maxoptionalnumbermaxoptionalint | floatmaxoptionalNumberMaxoptionaldoubleMaxoptional*float64#
The maximum amount of memory in MiB.

Instance types with more memory than this value are excluded from selection.

minnumberminint | floatminNumberMindoubleMin*float64required#
The minimum amount of memory in MiB.

Instance types with less memory than this value are excluded from selection.