imageType property
The image type to match with the instance type to select an AMI. If the
imageIdOverride parameter isn't specified, then a recent Amazon
ECS-optimized AMI is used.
- ECS_AL2
-
Amazon
Linux 2− Default for all AWS Graviton-based instance families (for
example,
C6g,M6g,R6g, andT4g) and can be used for all non-GPU instance types. - ECS_AL2_NVIDIA
-
Amazon
Linux 2 (GPU)−Default for all GPU instance families (for example
P4andG4) and can be used for all non-AWS Graviton-based instance types. - ECS_AL1
- Amazon Linux−Default for all non-GPU, non-AWS Graviton instance families. Amazon Linux is reaching the end-of-life of standard support. For more information, see Amazon Linux AMI.
Implementation
final String imageType;