結論
| メモリ | CPU |
|---|---|
| 128 | 2 |
| 256 | 2 |
| 512 | 2 |
| 1024 | 2 |
| 2048 | 2 |
| 3072 | 3 |
| 4096 | 3 |
| 5120 | 3 |
| 6144 | 4 |
| 7168 | 5 |
| 8192 | 5 |
| 9216 | 6 |
| 10240 | 6 |
調査方法
条件
調査日:2024年1月3日
アーキテクチャ:x86_64
ランタイム:Python 3.13
コード
import multiprocessing
def lambda_handler(event, context):
# TODO implement
return {
'statusCode': 200,
'body': multiprocessing.cpu_count()
}