{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-eks/json-schema/amazon-eks-update-nodegroup-version-request-schema.json",
  "title": "UpdateNodegroupVersionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-eks-operations-api-openapi.yml#/components/schemas/UpdateNodegroupVersionRequest",
  "type": "object",
  "properties": {
    "clusterName": {
      "type": "string",
      "description": "The name of your cluster."
    },
    "nodegroupName": {
      "type": "string",
      "description": "The name of the managed node group to update."
    },
    "version": {
      "type": "string",
      "description": "The Kubernetes version to update to. If no version is specified, then the node group will be updated to match the cluster's current Kubernetes version, and the latest available AMI for that version will be used. You can also specify the Kubernetes version of the cluster to update the node group to the latest AMI version of the cluster's Kubernetes version. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify version, or the node group update will fail. For more information about using launch templates with Amazon EKS, see Customizing managed nodes with "
    },
    "releaseVersion": {
      "type": "string",
      "description": "The AMI version of the Amazon EKS optimized AMI to use for the update. By default, the latest available AMI version for the node group's Kubernetes version is used. For information about Linux versions, see Amazon EKS optimized Amazon Linux AMI versions in the Amazon EKS User Guide. Amazon EKS managed node groups support the November 2022 and later releases of the Windows AMIs. For information about Windows versions, see Amazon EKS optimized Windows AMI versions in the Amazon EKS User Guide. If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify releaseVe"
    },
    "launchTemplate": {
      "$ref": "#/$defs/LaunchTemplateSpecification"
    },
    "force": {
      "type": "boolean",
      "description": "Force the update if any Pod on the existing node group can't be drained due to a Pod disruption budget issue. If an update fails because all Pods can't be drained, you can force the update after it fails to terminate the old node whether or not any Pod is running on the node."
    },
    "clientRequestToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."
    }
  },
  "required": [
    "clusterName",
    "nodegroupName"
  ],
  "$defs": {
    "LaunchTemplateSpecification": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the launch template. You must specify either the launch template name or the launch template ID in the request, but not both. After node group creation, you cannot use a different name."
        },
        "version": {
          "type": "string",
          "description": "The version number of the launch template to use. If no version is specified, then the template's default version is used. You can use a different version for node group updates."
        },
        "id": {
          "type": "string",
          "description": "The ID of the launch template. You must specify either the launch template ID or the launch template name in the request, but not both. After node group creation, you cannot use a different ID."
        }
      }
    }
  }
}