Class ComputeEnvironmentComputeResourcesEc2Configuration


  • public final class ComputeEnvironmentComputeResourcesEc2Configuration
    extends java.lang.Object
    • Method Detail

      • imageIdOverride

        public java.util.Optional<java.lang.String> imageIdOverride()
        Returns:
        AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` argument in the `computeResources` block.
      • imageKubernetesVersion

        public java.util.Optional<java.lang.String> imageKubernetesVersion()
        Returns:
        Kubernetes version for the compute environment. If you don't specify a value, the latest version that AWS Batch supports is used. See [Supported Kubernetes versions](https://docs.aws.amazon.com/batch/latest/userguide/supported_kubernetes_version.html) for the list of Kubernetes versions supported by AWS Batch on Amazon EKS.
      • imageType

        public java.util.Optional<java.lang.String> imageType()
        Returns:
        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 Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) (`ECS_AL2`) is used.