aws.rds.describe_db_snapshots
Example SQL Queries
SELECT * FROMaws.rds.describe_db_snapshots;Description
Returns information about DB snapshots. This API action supports pagination.
Table Definition
| Column Name | Column Data Type |
|---|---|
| db_instance_identifier Input Column Specifies the DB instance identifier of the DB instance this DB snapshot was created from. | VARCHAR |
| db_snapshot_identifier Input Column Specifies the identifier for the DB snapshot. | VARCHAR |
| dbi_resource_id Input Column The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region. | VARCHAR |
| filters Input Column A filter that specifies one or more DB snapshots to describe. Supported filters:
| STRUCT( |
Show child fields
| |
| include_public Input Column Specifies whether to include manual DB cluster snapshots that are public and can be copied or restored by any Amazon Web Services account. By default, the public snapshots are not included. You can share a manual DB snapshot as public by using the ModifyDBSnapshotAttribute API. This setting doesn't apply to RDS Custom. | BOOLEAN |
| include_shared Input Column Specifies whether to include shared manual DB cluster snapshots from other Amazon Web Services accounts that this Amazon Web Services account has been given permission to copy or restore. By default, these snapshots are not included. You can give an Amazon Web Services account permission to restore a manual DB snapshot from another Amazon Web Services account by using the ModifyDBSnapshotAttribute API action. This setting doesn't apply to RDS Custom. | BOOLEAN |
| snapshot_type Input Column Provides the type of the DB snapshot. | VARCHAR |
| _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 |
| allocated_storage Specifies the allocated storage size in gibibytes (GiB). | BIGINT |
| availability_zone Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot. | VARCHAR |
| db_snapshot_arn The Amazon Resource Name (ARN) for the DB snapshot. | VARCHAR |
| db_system_id The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. The Oracle SID is also the name of your CDB. | VARCHAR |
| dedicated_log_volume Indicates whether the DB instance has a dedicated log volume (DLV) enabled. | BOOLEAN |
| encrypted Indicates whether the DB snapshot is encrypted. | BOOLEAN |
| engine Specifies the name of the database engine. | VARCHAR |
| engine_version Specifies the version of the database engine. | VARCHAR |
| iam_database_authentication_enabled Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled. | BOOLEAN |
| instance_create_time Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created. | TIMESTAMP_S |
| iops Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot. | BIGINT |
| kms_key_id If Encrypted is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. | VARCHAR |
| license_model License model information for the restored DB instance. | VARCHAR |
| master_username Provides the master username for the DB snapshot. | VARCHAR |
| multi_tenant Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE). | BOOLEAN |
| option_group_name Provides the option group name for the DB snapshot. | VARCHAR |
| original_snapshot_create_time Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied. | TIMESTAMP_S |
| percent_progress The percentage of the estimated data that has been transferred. | BIGINT |
| port Specifies the port that the database engine was listening on at the time of the snapshot. | BIGINT |
| processor_features The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created. | STRUCT( |
Show child fields
| |
| snapshot_create_time Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied. | TIMESTAMP_S |
| snapshot_database_time The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed. If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours. | TIMESTAMP_S |
| snapshot_target Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region. | VARCHAR |
| source_db_snapshot_identifier The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value in the case of a cross-account or cross-Region copy. | VARCHAR |
| source_region The Amazon Web Services Region that the DB snapshot was created in or copied from. | VARCHAR |
| status Specifies the status of this DB snapshot. | VARCHAR |
| storage_throughput Specifies the storage throughput for the DB snapshot. | BIGINT |
| storage_type Specifies the storage type associated with DB snapshot. | VARCHAR |
| tag_list A list of tags. For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. | STRUCT( |
Show child fields
| |
| tde_credential_arn The ARN from the key store with which to associate the instance for TDE encryption. | VARCHAR |
| timezone The time zone of the DB snapshot. In most cases, the Timezone element is empty. Timezone content appears only for snapshots taken from Microsoft SQL Server DB instances that were created with a time zone specified. | VARCHAR |
| vpc_id Provides the VPC ID associated with the DB snapshot. | VARCHAR |