memory
Parameters
The amount (in MiB) of memory used by the task. If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory value or a container-level memory value. This field is optional and any value can be used. If a task-level memory value is specified, the container-level memory value is optional. For more information regarding container-level memory and memory reservation, see ContainerDefinition. If your tasks runs on FARGATElong, this field is required. You must use one of the following values. The value you choose determines your range of valid values for the `cpu`
parameter.
512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available
`cpu`
values: 256 (.25 vCPU)1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available
`cpu`
values: 512 (.5 vCPU)2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available
`cpu`
values: 1024 (1 vCPU)Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available
`cpu`
values: 2048 (2 vCPU)Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available
`cpu`
values: 4096 (4 vCPU)Between 16 GB and 60 GB in 4 GB increments - Available
`cpu`
values: 8192 (8 vCPU) This option requires Linux platform`1.4.0`
or later.Between 32GB and 120 GB in 8 GB increments - Available
`cpu`
values: 16384 (16 vCPU) This option requires Linux platform`1.4.0`
or later.