public String getImageType() {
        return this.imageType;
    }
<p>
The image type to match with the instance type to select an AMI. The supported values are different for
<code>ECS</code> and <code>EKS</code> resources.
</p>
<dl>
<dt>ECS</dt>
<dd>
<p>
If the <code>imageIdOverride</code> parameter isn't specified, then a recent <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami">Amazon
ECS-optimized Amazon Linux 2 AMI</a> (<code>ECS_AL2</code>) is used. If a new image type is specified in an
update, but neither an <code>imageId</code> nor a <code>imageIdOverride</code> parameter is specified, then the
latest Amazon ECS optimized AMI for that image type that's supported by Batch is used.
</p>
<dl>
<dt>ECS_AL2</dt>
<dd>
<p>
<a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami">Amazon Linux
2</a>: Default for all non-GPU instance families.
</p>
</dd>
<dt>ECS_AL2_NVIDIA</dt>
<dd>
<p>
<a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami">Amazon Linux
2 (GPU)</a>: Default for all GPU instance families (for example <code>P4</code> and <code>G4</code>) and can be
used for all non Amazon Web Services Graviton-based instance types.
</p>
</dd>
<dt>ECS_AL2023</dt>
<dd>
<p>
<a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon Linux
2023</a>: Batch supports Amazon Linux 2023.
</p>
<note>
<p>
Amazon Linux 2023 does not support <code>A1</code> instances.
</p>
</note></dd>
<dt>ECS_AL1</dt>
<dd>
<p>
<a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami">Amazon
Linux</a>. Amazon Linux has reached the end-of-life of standard support. For more information, see <a
href="http://aws.amazon.com/amazon-linux-ami/">Amazon Linux AMI</a>.
</p>
</dd>
</dl>
</dd>
<dt>EKS</dt>
<dd>
<p>
If the <code>imageIdOverride</code> parameter isn't specified, then a recent <a
href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html">Amazon EKS-optimized Amazon Linux
AMI</a> (<code>EKS_AL2</code>) is used. If a new image type is specified in an update, but neither an
<code>imageId</code> nor a <code>imageIdOverride</code> parameter is specified, then the latest Amazon EKS
optimized AMI for that image type that Batch supports is used.
</p>
<dl>
<dt>EKS_AL2</dt>
<dd>
<p>
<a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html">Amazon Linux 2</a>: Default for
all non-GPU instance families.
</p>
</dd>
<dt>EKS_AL2_NVIDIA</dt>
<dd>
<p>
<a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html">Amazon Linux 2
(accelerated)</a>: Default for all GPU instance families (for example, <code>P4</code> and <code>G4</code>) and
can be used for all non Amazon Web Services Graviton-based instance types.
</p>
</dd>
</dl>
</dd>
</dl>

@return The image type to match with the instance type to select an AMI. The supported values are different for
        <code>ECS</code> and <code>EKS</code> resources.</p>
        <dl>
        <dt>ECS</dt>
        <dd>
        <p>
        If the <code>imageIdOverride</code> parameter isn't specified, then a recent <a
        href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami">Amazon
        ECS-optimized Amazon Linux 2 AMI</a> (<code>ECS_AL2</code>) is used. If a new image type is specified in
        an update, but neither an <code>imageId</code> nor a <code>imageIdOverride</code> parameter is specified,
        then the latest Amazon ECS optimized AMI for that image type that's supported by Batch is used.
        </p>
        <dl>
        <dt>ECS_AL2</dt>
        <dd>
        <p>
        <a
        href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami">Amazon
        Linux 2</a>: Default for all non-GPU instance families.
        </p>
        </dd>
        <dt>ECS_AL2_NVIDIA</dt>
        <dd>
        <p>
        <a
        href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami">Amazon
        Linux 2 (GPU)</a>: Default for all GPU instance families (for example <code>P4</code> and <code>G4</code>
        ) and can be used for all non Amazon Web Services Graviton-based instance types.
        </p>
        </dd>
        <dt>ECS_AL2023</dt>
        <dd>
        <p>
        <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon Linux
        2023</a>: Batch supports Amazon Linux 2023.
        </p>
        <note>
        <p>
        Amazon Linux 2023 does not support <code>A1</code> instances.
        </p>
        </note></dd>
        <dt>ECS_AL1</dt>
        <dd>
        <p>
        <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami">Amazon
        Linux</a>. Amazon Linux has reached the end-of-life of standard support. For more information, see <a
        href="http://aws.amazon.com/amazon-linux-ami/">Amazon Linux AMI</a>.
        </p>
        </dd>
        </dl>
        </dd>
        <dt>EKS</dt>
        <dd>
        <p>
        If the <code>imageIdOverride</code> parameter isn't specified, then a recent <a
        href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html">Amazon EKS-optimized
        Amazon Linux AMI</a> (<code>EKS_AL2</code>) is used. If a new image type is specified in an update, but
        neither an <code>imageId</code> nor a <code>imageIdOverride</code> parameter is specified, then the
        latest Amazon EKS optimized AMI for that image type that Batch supports is used.
        </p>
        <dl>
        <dt>EKS_AL2</dt>
        <dd>
        <p>
        <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html">Amazon Linux 2</a>:
        Default for all non-GPU instance families.
        </p>
        </dd>
        <dt>EKS_AL2_NVIDIA</dt>
        <dd>
        <p>
        <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html">Amazon Linux 2
        (accelerated)</a>: Default for all GPU instance families (for example, <code>P4</code> and
        <code>G4</code>) and can be used for all non Amazon Web Services Graviton-based instance types.
        </p>
        </dd>
        </dl>
        </dd>
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/Ec2Configuration.java