# MemoryMiBRequestProperty

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.

- Source: Generated code
- Type last changed: v2.219.0 · 1 Oct 2025

## 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

- `max`: number — The maximum amount of memory in MiB.

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

- `min`: number (required) — The minimum amount of memory in MiB.

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