{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-put-auto-termination-policy-input-schema.json",
  "title": "PutAutoTerminationPolicyInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-auto-termination-policy-api-openapi.yml#/components/schemas/PutAutoTerminationPolicyInput",
  "type": "object",
  "properties": {
    "ClusterId": {
      "type": "string",
      "description": "Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached."
    },
    "AutoTerminationPolicy": {
      "$ref": "#/$defs/AutoTerminationPolicy"
    }
  },
  "required": [
    "ClusterId"
  ],
  "$defs": {
    "AutoTerminationPolicy": {
      "type": "object",
      "properties": {
        "IdleTimeout": {
          "type": "integer",
          "description": "Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days)."
        }
      }
    }
  }
}