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

.NET
Go
Java
Python
TypeScript