ComputeEnvironmentComputeResourcesEc2Configuration constructor
const
ComputeEnvironmentComputeResourcesEc2Configuration({})
Creates a new ComputeEnvironmentComputeResourcesEc2Configuration.
imageIdOverride The 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 The 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 for the list of Kubernetes versions supported by AWS Batch on Amazon EKS.
imageType 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 Amazon Linux 2 AMI (ECS_AL2) is used.
Implementation
const ComputeEnvironmentComputeResourcesEc2Configuration({
this.imageIdOverride,
this.imageKubernetesVersion,
this.imageType,
});