{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-documentdb/json-schema/amazon-documentdb-update-cluster-input-schema.json",
  "title": "UpdateClusterInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-documentdb-cluster-api-openapi.yml#/components/schemas/UpdateClusterInput",
  "type": "object",
  "properties": {
    "clusterArn": {
      "type": "string",
      "description": "The ARN identifier of the elastic cluster."
    },
    "authType": {
      "type": "string",
      "description": "The authentication type used to determine where to fetch the password used for accessing the elastic cluster. Valid types are PLAIN_TEXT or SECRET_ARN."
    },
    "shardCapacity": {
      "type": "integer",
      "description": "The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64."
    },
    "shardCount": {
      "type": "integer",
      "description": "The number of shards assigned to the elastic cluster. Maximum is 32."
    },
    "vpcSecurityGroupIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of EC2 VPC security groups to associate with the elastic cluster."
    },
    "subnetIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The Amazon EC2 subnet IDs for the elastic cluster."
    },
    "adminUserPassword": {
      "type": "string",
      "description": "The password associated with the elastic cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote (\"), or the \"at\" symbol (@). Constraints: Must contain from 8 to 100 characters."
    },
    "clientToken": {
      "type": "string",
      "description": "The client token for the elastic cluster."
    },
    "preferredMaintenanceWindow": {
      "type": "string",
      "description": "The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window."
    },
    "backupRetentionPeriod": {
      "type": "integer",
      "description": "The number of days for which automatic snapshots are retained."
    },
    "preferredBackupWindow": {
      "type": "string",
      "description": "The daily time range during which automated backups are created if automated backups are enabled, as determined by the backupRetentionPeriod."
    },
    "shardInstanceCount": {
      "type": "integer",
      "description": "The number of replica instances applying to all shards in the elastic cluster. A shardInstanceCount value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability."
    }
  },
  "required": [
    "clusterArn"
  ]
}