interface MemoryMiBRequestProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnCapacityProvider.MemoryMiBRequestProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnCapacityProvider_MemoryMiBRequestProperty |
Java | software.amazon.awscdk.services.ecs.CfnCapacityProvider.MemoryMiBRequestProperty |
Python | aws_cdk.aws_ecs.CfnCapacityProvider.MemoryMiBRequestProperty |
TypeScript | aws-cdk-lib » aws_ecs » CfnCapacityProvider » 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.
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 memoryMiBRequestProperty: ecs.CfnCapacityProvider.MemoryMiBRequestProperty = {
min: 123,
// the properties below are optional
max: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| min | number | The minimum amount of memory in MiB. |
| max? | number | The maximum amount of memory in MiB. |
min
Type:
number
The minimum amount of memory in MiB.
Instance types with less memory than this value are excluded from selection.
max?
Type:
number
(optional)
The maximum amount of memory in MiB.
Instance types with more memory than this value are excluded from selection.

.NET
Go
Java
Python
TypeScript