{
  "typeName" : "AWS::DocDB::DBCluster",
  "description" : "Resource Type definition for AWS::DocDB::DBCluster",
  "additionalProperties" : false,
  "properties" : {
    "StorageEncrypted" : {
      "type" : "boolean"
    },
    "RestoreToTime" : {
      "type" : "string"
    },
    "SnapshotIdentifier" : {
      "type" : "string"
    },
    "Port" : {
      "type" : "integer"
    },
    "DBClusterIdentifier" : {
      "type" : "string"
    },
    "PreferredBackupWindow" : {
      "type" : "string"
    },
    "ClusterResourceId" : {
      "type" : "string"
    },
    "Endpoint" : {
      "type" : "string"
    },
    "VpcSecurityGroupIds" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "CopyTagsToSnapshot" : {
      "type" : "boolean"
    },
    "RestoreType" : {
      "type" : "string"
    },
    "Tags" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    },
    "EngineVersion" : {
      "type" : "string"
    },
    "KmsKeyId" : {
      "type" : "string"
    },
    "AvailabilityZones" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "PreferredMaintenanceWindow" : {
      "type" : "string"
    },
    "DBSubnetGroupName" : {
      "type" : "string"
    },
    "DeletionProtection" : {
      "type" : "boolean"
    },
    "UseLatestRestorableTime" : {
      "type" : "boolean"
    },
    "MasterUserPassword" : {
      "type" : "string"
    },
    "SourceDBClusterIdentifier" : {
      "type" : "string"
    },
    "MasterUsername" : {
      "type" : "string"
    },
    "ReadEndpoint" : {
      "type" : "string"
    },
    "DBClusterParameterGroupName" : {
      "type" : "string"
    },
    "BackupRetentionPeriod" : {
      "type" : "integer"
    },
    "Id" : {
      "type" : "string"
    },
    "EnableCloudwatchLogsExports" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    }
  },
  "definitions" : {
    "Tag" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Value" : {
          "type" : "string"
        },
        "Key" : {
          "type" : "string"
        }
      },
      "required" : [ "Value", "Key" ]
    }
  },
  "createOnlyProperties" : [ "/properties/KmsKeyId", "/properties/SnapshotIdentifier", "/properties/MasterUsername", "/properties/SourceDBClusterIdentifier", "/properties/DBClusterIdentifier", "/properties/AvailabilityZones", "/properties/DBSubnetGroupName", "/properties/EngineVersion", "/properties/StorageEncrypted" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/ReadEndpoint", "/properties/Id", "/properties/Endpoint", "/properties/ClusterResourceId" ]
}