MemoryGiBPerVCpuRequestProperty Struct
The minimum and maximum amount of memory per vCPU in gibibytes (GiB).
This helps ensure that instance types have the appropriate memory-to-CPU ratio 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 memoryGiBPerVCpuRequestProperty: ecs.CfnCapacityProvider.MemoryGiBPerVCpuRequestProperty = {
max: 123,
min: 123,
};
Properties
The maximum amount of memory per vCPU in GiB.
Instance types with a higher memory-to-vCPU ratio are excluded from selection.
The minimum amount of memory per vCPU in GiB.
Instance types with a lower memory-to-vCPU ratio are excluded from selection.