cpu
The number of cpu
units used by the task. If you use the EC2 launch type, this field is optional. Any value can be used. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines your range of valid values for the memory
parameter.
If you're using the EC2 launch type or the external launch type, this field is optional. Supported values are between 128
CPU units (0.125
vCPUs) and 196608
CPU units (192
vCPUs).
This field is required for Fargate. For information about the valid values, see Task size in the Amazon Elastic Container Service Developer Guide.