Skip to content

ECS  >  Structures  >  MemoryGiBPerVCpuRequest

MemoryGiBPerVCpuRequest

Structure Class

MemoryGiBPerVCpuRequest dataclass

Bases: _SerdeShape

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.

Attributes

max class-attribute instance-attribute
max: float | None = ...

The maximum amount of memory per vCPU in GiB. Instance types with a higher memory-to-vCPU ratio are excluded from selection.

min class-attribute instance-attribute
min: float | None = ...

The minimum amount of memory per vCPU in GiB. Instance types with a lower memory-to-vCPU ratio are excluded from selection.