Amazon DocumentDB · Schema

CreateDBClusterMessage

Amazon Web ServicesDatabaseDocument DatabaseDocumentDBManaged DatabaseMongoDBNoSQL

Properties

Name Type Description
AvailabilityZones array A list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
BackupRetentionPeriod integer The number of days for which automated backups are retained. You must specify a minimum value of 1. Default: 1 Constraints: Must be a value from 1 to 35.
DBClusterIdentifier string The cluster identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyp
DBClusterParameterGroupName string The name of the cluster parameter group to associate with this cluster.
VpcSecurityGroupIds array A list of EC2 VPC security groups to associate with this cluster.
DBSubnetGroupName string A subnet group to associate with this cluster. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup
Engine string The name of the database engine to be used for this cluster. Valid values: docdb
EngineVersion string The version number of the database engine to use. The --engine-version will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with
Port integer The port number on which the instances in the cluster accept connections.
MasterUsername string The name of the master user for the cluster. Constraints: Must be from 1 to 63 letters or numbers. The first character must be a letter. Cannot be a reserved word for the chosen database engine.
MasterUserPassword string The password for the master database user. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@). Constraints: Must contain from 8
PreferredBackupWindow string The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an
PreferredMaintenanceWindow string The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi The default is a 30-minute window selected at random from an 8-hou
Tags array The tags to be assigned to the cluster.
StorageEncrypted boolean Specifies whether the cluster is encrypted.
KmsKeyId string The KMS key identifier for an encrypted cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon Web Services a
PreSignedUrl string Not currently supported.
EnableCloudwatchLogsExports array A list of log types that need to be enabled for exporting to Amazon CloudWatch Logs. You can enable audit logs or profiler logs. For more information, see Auditing Amazon DocumentDB Events and Profili
DeletionProtection boolean Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection protects clu
GlobalClusterIdentifier string The cluster identifier of the new global cluster.
StorageType string The storage type to associate with the DB cluster. For information on storage types for Amazon DocumentDB clusters, see Cluster storage configurations in the Amazon DocumentDB Developer Guide. Valid v
ServerlessV2ScalingConfiguration object
ManageMasterUserPassword boolean Specifies whether to manage the master user password with Amazon Web Services Secrets Manager. Constraint: You can't manage the master user password with Amazon Web Services Secrets Manager if MasterU
MasterUserSecretKmsKeyId string The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager. This setting is valid only if the master user passwor
NetworkType string The network type of the cluster. The network type is determined by the DBSubnetGroup specified for the cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (D
CopyTagsToSnapshot boolean Specifies whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them.
View JSON Schema on GitHub

JSON Schema

amazon-documentdb-create-dbcluster-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-documentdb/json-schema/amazon-documentdb-create-dbcluster-message-schema.json",
  "title": "CreateDBClusterMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-documentdb-db-cluster-api-openapi.yml#/components/schemas/CreateDBClusterMessage",
  "type": "object",
  "properties": {
    "AvailabilityZones": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of Amazon EC2 Availability Zones that instances in the cluster can be created in."
    },
    "BackupRetentionPeriod": {
      "type": "integer",
      "description": "The number of days for which automated backups are retained. You must specify a minimum value of 1. Default: 1 Constraints: Must be a value from 1 to 35."
    },
    "DBClusterIdentifier": {
      "type": "string",
      "description": "The cluster identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster"
    },
    "DBClusterParameterGroupName": {
      "type": "string",
      "description": "The name of the cluster parameter group to associate with this cluster."
    },
    "VpcSecurityGroupIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of EC2 VPC security groups to associate with this cluster."
    },
    "DBSubnetGroupName": {
      "type": "string",
      "description": "A subnet group to associate with this cluster. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup"
    },
    "Engine": {
      "type": "string",
      "description": "The name of the database engine to be used for this cluster. Valid values: docdb"
    },
    "EngineVersion": {
      "type": "string",
      "description": "The version number of the database engine to use. The --engine-version will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with the intended major engine version."
    },
    "Port": {
      "type": "integer",
      "description": "The port number on which the instances in the cluster accept connections."
    },
    "MasterUsername": {
      "type": "string",
      "description": "The name of the master user for the cluster. Constraints: Must be from 1 to 63 letters or numbers. The first character must be a letter. Cannot be a reserved word for the chosen database engine."
    },
    "MasterUserPassword": {
      "type": "string",
      "description": "The password for the master database user. 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."
    },
    "PreferredBackupWindow": {
      "type": "string",
      "description": "The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. Constraints: Must be in the format hh24:mi-hh24:mi. Must be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes."
    },
    "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 The default is 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."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags to be assigned to the cluster."
    },
    "StorageEncrypted": {
      "type": "boolean",
      "description": "Specifies whether the cluster is encrypted."
    },
    "KmsKeyId": {
      "type": "string",
      "description": "The KMS key identifier for an encrypted cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon Web Services account that owns the KMS encryption key that is used to encrypt the new cluster, you can use the KMS key alias instead of the ARN for the KMS encryption key. If an encryption key is not specified in KmsKeyId: If the StorageEncrypted parameter is true, Amazon DocumentDB uses your default encryption key. KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Ser"
    },
    "PreSignedUrl": {
      "type": "string",
      "description": "Not currently supported."
    },
    "EnableCloudwatchLogsExports": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of log types that need to be enabled for exporting to Amazon CloudWatch Logs. You can enable audit logs or profiler logs. For more information, see Auditing Amazon DocumentDB Events and Profiling Amazon DocumentDB Operations."
    },
    "DeletionProtection": {
      "type": "boolean",
      "description": "Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection protects clusters from being accidentally deleted."
    },
    "GlobalClusterIdentifier": {
      "type": "string",
      "description": "The cluster identifier of the new global cluster."
    },
    "StorageType": {
      "type": "string",
      "description": "The storage type to associate with the DB cluster. For information on storage types for Amazon DocumentDB clusters, see Cluster storage configurations in the Amazon DocumentDB Developer Guide. Valid values for storage type - standard | iopt1 Default value is standard When you create an Amazon DocumentDB cluster with the storage type set to iopt1, the storage type is returned in the response. The storage type isn't returned when you set it to standard."
    },
    "ServerlessV2ScalingConfiguration": {
      "$ref": "#/$defs/ServerlessV2ScalingConfiguration"
    },
    "ManageMasterUserPassword": {
      "type": "boolean",
      "description": "Specifies whether to manage the master user password with Amazon Web Services Secrets Manager. Constraint: You can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword is specified."
    },
    "MasterUserSecretKmsKeyId": {
      "type": "string",
      "description": "The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager. This setting is valid only if the master user password is managed by Amazon DocumentDB in Amazon Web Services Secrets Manager for the DB cluster. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager KMS key is used to encrypt t"
    },
    "NetworkType": {
      "type": "string",
      "description": "The network type of the cluster. The network type is determined by the DBSubnetGroup specified for the cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see DocumentDB clusters in a VPC in the Amazon DocumentDB Developer Guide. Valid Values: IPV4 | DUAL"
    },
    "CopyTagsToSnapshot": {
      "type": "boolean",
      "description": "Specifies whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them."
    }
  },
  "required": [
    "DBClusterIdentifier",
    "Engine"
  ],
  "$defs": {
    "ServerlessV2ScalingConfiguration": {
      "type": "object",
      "properties": {
        "MinCapacity": {
          "type": "number",
          "description": "The minimum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster. You can specify DCU values in half-step increments, such as 8, 8.5, 9, and so on."
        },
        "MaxCapacity": {
          "type": "number",
          "description": "The maximum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster. You can specify DCU values in half-step increments, such as 32, 32.5, 33, and so on."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with \"aws:\" or \"rds:\". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\")."
        },
        "Value": {
          "type": "string",
          "description": "The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with \"aws:\" or \"rds:\". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\")."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-documentdb-create-dbcluster-message"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.