aws.docdb.describe_db_clusters
Example SQL Queries
SELECT * FROMaws.docdb.describe_db_clusters;Description
Returns information about provisioned Amazon DocumentDB clusters. This API operation supports pagination. For certain management features such as cluster and instance lifecycle management, Amazon DocumentDB leverages operational technology that is shared with Amazon RDS and Amazon Neptune. Use the filterName=engine,Values=docdb filter parameter to return only Amazon DocumentDB clusters.
Table Definition
| Column Name | Column Data Type |
|---|---|
| db_cluster_identifier Input Column Contains a user-supplied cluster identifier. This identifier is the unique key that identifies a cluster. | VARCHAR |
| filters Input Column A filter that specifies one or more clusters to describe. Supported filters:
| STRUCT( |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| associated_roles Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster. (IAM) roles that are associated with a cluster grant permission for the cluster to access other Amazon Web Services services on your behalf. | STRUCT( |
Show child fields
| |
| availability_zones Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in. | VARCHAR[] |
Show child fields
| |
| backup_retention_period Specifies the number of days for which automatic snapshots are retained. | BIGINT |
| clone_group_id Identifies the clone group to which the DB cluster is associated. | VARCHAR |
| cluster_create_time Specifies the time when the cluster was created, in Universal Coordinated Time (UTC). | TIMESTAMP_S |
| db_cluster_arn The Amazon Resource Name (ARN) for the cluster. | VARCHAR |
| db_cluster_members Provides the list of instances that make up the cluster. | STRUCT( |
Show child fields
| |
| db_cluster_parameter_group Specifies the name of the cluster parameter group for the cluster. | VARCHAR |
| db_cluster_resource_id The Amazon Web Services Region-unique, immutable identifier for the cluster. This identifier is found in CloudTrail log entries whenever the KMS key for the cluster is accessed. | VARCHAR |
| db_subnet_group Specifies information on the subnet group that is associated with the cluster, including the name, description, and subnets in the subnet group. | VARCHAR |
| deletion_protection 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. | BOOLEAN |
| earliest_restorable_time The earliest time to which a database can be restored with point-in-time restore. | TIMESTAMP_S |
| enabled_cloudwatch_logs_exports A list of log types that this cluster is configured to export to Amazon CloudWatch Logs. | VARCHAR[] |
Show child fields
| |
| endpoint Specifies the connection endpoint for the primary instance of the cluster. | VARCHAR |
| engine Provides the name of the database engine to be used for this cluster. | VARCHAR |
| engine_version Indicates the database engine version. | VARCHAR |
| hosted_zone_id Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. | VARCHAR |
| kms_key_id If StorageEncrypted is true, the KMS key identifier for the encrypted cluster. | VARCHAR |
| latest_restorable_time Specifies the latest time to which a database can be restored with point-in-time restore. | TIMESTAMP_S |
| master_username Contains the master user name for the cluster. | VARCHAR |
| multi_az Specifies whether the cluster has instances in multiple Availability Zones. | BOOLEAN |
| percent_progress Specifies the progress of the operation as a percentage. | VARCHAR |
| port Specifies the port that the database engine is listening on. | BIGINT |
| preferred_backup_window Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. | VARCHAR |
| preferred_maintenance_window Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). | VARCHAR |
| read_replica_identifiers Contains one or more identifiers of the secondary clusters that are associated with this cluster. | VARCHAR[] |
Show child fields
| |
| reader_endpoint The reader endpoint for the cluster. The reader endpoint for a cluster load balances connections across the Amazon DocumentDB replicas that are available in a cluster. As clients request new connections to the reader endpoint, Amazon DocumentDB distributes the connection requests among the Amazon DocumentDB replicas in the cluster. This functionality can help balance your read workload across multiple Amazon DocumentDB replicas in your cluster. If a failover occurs, and the Amazon DocumentDB replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Amazon DocumentDB replicas in the cluster, you can then reconnect to the reader endpoint. | VARCHAR |
| replication_source_identifier Contains the identifier of the source cluster if this cluster is a secondary cluster. | VARCHAR |
| status Specifies the current state of this cluster. | VARCHAR |
| storage_encrypted Specifies whether the cluster is encrypted. | BOOLEAN |
| storage_type Storage type associated with your cluster Storage type associated with your 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 | VARCHAR |
| vpc_security_groups Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to. | STRUCT( |
Show child fields
| |