Skip to content

DBClusterSnapshot

Source code in docs_src/capo_rds/types/db_cluster_snapshot.py
class DBClusterSnapshot(TypedDict, closed=True):
    availability_zones: NotRequired[
        "capo_rds.types.availability_zones.AvailabilityZones"
    ]
    """<p>The list of Availability Zones (AZs) where instances in the DB cluster snapshot can be restored.</p>"""
    db_cluster_snapshot_identifier: NotRequired["capo_rds.types.string.String"]
    """<p>The identifier for the DB cluster snapshot.</p>"""
    db_cluster_identifier: NotRequired["capo_rds.types.string.String"]
    """<p>The DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.</p>"""
    snapshot_create_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The time when the snapshot was taken, in Universal Coordinated Time (UTC).</p>"""
    engine: NotRequired["capo_rds.types.string.String"]
    """<p>The name of the database engine for this DB cluster snapshot.</p>"""
    engine_mode: NotRequired["capo_rds.types.string.String"]
    """<p>The engine mode of the database engine for this DB cluster snapshot.</p>"""
    allocated_storage: NotRequired["capo_rds.types.integer.Integer"]
    """<p>The allocated storage size of the DB cluster snapshot in gibibytes (GiB).</p>"""
    status: NotRequired["capo_rds.types.string.String"]
    """<p>The status of this DB cluster snapshot. Valid statuses are the following:</p> <ul> <li> <p> <code>available</code> </p> </li> <li> <p> <code>copying</code> </p> </li> <li> <p> <code>creating</code> </p> </li> </ul>"""
    port: NotRequired["capo_rds.types.integer.Integer"]
    """<p>The port that the DB cluster was listening on at the time of the snapshot.</p>"""
    vpc_id: NotRequired["capo_rds.types.string.String"]
    """<p>The VPC ID associated with the DB cluster snapshot.</p>"""
    cluster_create_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The time when the DB cluster was created, in Universal Coordinated Time (UTC).</p>"""
    master_username: NotRequired["capo_rds.types.string.String"]
    """<p>The master username for this DB cluster snapshot.</p>"""
    engine_version: NotRequired["capo_rds.types.string.String"]
    """<p>The version of the database engine for this DB cluster snapshot.</p>"""
    license_model: NotRequired["capo_rds.types.string.String"]
    """<p>The license model information for this DB cluster snapshot.</p>"""
    snapshot_type: NotRequired["capo_rds.types.string.String"]
    """<p>The type of the DB cluster snapshot.</p>"""
    percent_progress: NotRequired["capo_rds.types.integer.Integer"]
    """<p>The percentage of the estimated data that has been transferred.</p>"""
    storage_encrypted: NotRequired["capo_rds.types.boolean.Boolean"]
    """<p>Indicates whether the DB cluster snapshot is encrypted.</p>"""
    storage_encryption_type: NotRequired[
        "capo_rds.types.storage_encryption_type.StorageEncryptionType"
    ]
    """<p>The type of encryption used to protect data at rest in the DB cluster snapshot. Possible values:</p> <ul> <li> <p> <code>none</code> - The DB cluster snapshot is not encrypted.</p> </li> <li> <p> <code>sse-rds</code> - The DB cluster snapshot is encrypted using an Amazon Web Services owned KMS key.</p> </li> <li> <p> <code>sse-kms</code> - The DB cluster snapshot is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key.</p> </li> </ul>"""
    backup_retention_period: NotRequired[
        "capo_rds.types.integer_optional.IntegerOptional"
    ]
    """<p>The number of days for which automatic DB snapshots are retained.</p>"""
    preferred_backup_window: NotRequired["capo_rds.types.string.String"]
    """<p>The daily time range during which automated backups are created if automated backups are enabled, as determined by the <code>BackupRetentionPeriod</code>.</p>"""
    kms_key_id: NotRequired["capo_rds.types.string.String"]
    """<p>If <code>StorageEncrypted</code> is true, the Amazon Web Services KMS key identifier for the encrypted DB cluster snapshot.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>"""
    db_cluster_snapshot_arn: NotRequired["capo_rds.types.string.String"]
    """<p>The Amazon Resource Name (ARN) for the DB cluster snapshot.</p>"""
    source_db_cluster_snapshot_arn: NotRequired["capo_rds.types.string.String"]
    """<p>If the DB cluster snapshot was copied from a source DB cluster snapshot, the Amazon Resource Name (ARN) for the source DB cluster snapshot, otherwise, a null value.</p>"""
    iam_database_authentication_enabled: NotRequired["capo_rds.types.boolean.Boolean"]
    """<p>Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.</p>"""
    tag_list: NotRequired["capo_rds.types.tag_list.TagList"]
    storage_type: NotRequired["capo_rds.types.string.String"]
    """<p>The storage type associated with the DB cluster snapshot.</p> <p>This setting is only for Aurora DB clusters.</p>"""
    storage_throughput: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p>The storage throughput for the DB cluster snapshot. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p> <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>"""
    db_cluster_resource_id: NotRequired["capo_rds.types.string.String"]
    """<p>The resource ID of the DB cluster that this DB cluster snapshot was created from.</p>"""
    db_system_id: NotRequired["capo_rds.types.string.String"]
    """<p>Reserved for future use.</p>"""

allocated_storage instance-attribute

allocated_storage: NotRequired[Integer]

The allocated storage size of the DB cluster snapshot in gibibytes (GiB).

availability_zones instance-attribute

availability_zones: NotRequired[AvailabilityZones]

The list of Availability Zones (AZs) where instances in the DB cluster snapshot can be restored.

backup_retention_period instance-attribute

backup_retention_period: NotRequired[IntegerOptional]

The number of days for which automatic DB snapshots are retained.

cluster_create_time instance-attribute

cluster_create_time: NotRequired[TStamp]

The time when the DB cluster was created, in Universal Coordinated Time (UTC).

db_cluster_identifier instance-attribute

db_cluster_identifier: NotRequired[String]

The DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.

db_cluster_resource_id instance-attribute

db_cluster_resource_id: NotRequired[String]

The resource ID of the DB cluster that this DB cluster snapshot was created from.

db_cluster_snapshot_arn instance-attribute

db_cluster_snapshot_arn: NotRequired[String]

The Amazon Resource Name (ARN) for the DB cluster snapshot.

db_cluster_snapshot_identifier instance-attribute

db_cluster_snapshot_identifier: NotRequired[String]

The identifier for the DB cluster snapshot.

db_system_id instance-attribute

db_system_id: NotRequired[String]

Reserved for future use.

engine instance-attribute

engine: NotRequired[String]

The name of the database engine for this DB cluster snapshot.

engine_mode instance-attribute

engine_mode: NotRequired[String]

The engine mode of the database engine for this DB cluster snapshot.

engine_version instance-attribute

engine_version: NotRequired[String]

The version of the database engine for this DB cluster snapshot.

iam_database_authentication_enabled instance-attribute

iam_database_authentication_enabled: NotRequired[Boolean]

Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.

kms_key_id instance-attribute

kms_key_id: NotRequired[String]

If StorageEncrypted is true, the Amazon Web Services KMS key identifier for the encrypted DB cluster snapshot.

The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.

license_model instance-attribute

license_model: NotRequired[String]

The license model information for this DB cluster snapshot.

master_username instance-attribute

master_username: NotRequired[String]

The master username for this DB cluster snapshot.

percent_progress instance-attribute

percent_progress: NotRequired[Integer]

The percentage of the estimated data that has been transferred.

port instance-attribute

port: NotRequired[Integer]

The port that the DB cluster was listening on at the time of the snapshot.

preferred_backup_window instance-attribute

preferred_backup_window: NotRequired[String]

The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.

snapshot_create_time instance-attribute

snapshot_create_time: NotRequired[TStamp]

The time when the snapshot was taken, in Universal Coordinated Time (UTC).

snapshot_type instance-attribute

snapshot_type: NotRequired[String]

The type of the DB cluster snapshot.

source_db_cluster_snapshot_arn instance-attribute

source_db_cluster_snapshot_arn: NotRequired[String]

If the DB cluster snapshot was copied from a source DB cluster snapshot, the Amazon Resource Name (ARN) for the source DB cluster snapshot, otherwise, a null value.

status instance-attribute

status: NotRequired[String]

The status of this DB cluster snapshot. Valid statuses are the following:

  • available

  • copying

  • creating

storage_encrypted instance-attribute

storage_encrypted: NotRequired[Boolean]

Indicates whether the DB cluster snapshot is encrypted.

storage_encryption_type instance-attribute

storage_encryption_type: NotRequired[StorageEncryptionType]

The type of encryption used to protect data at rest in the DB cluster snapshot. Possible values:

  • none - The DB cluster snapshot is not encrypted.

  • sse-rds - The DB cluster snapshot is encrypted using an Amazon Web Services owned KMS key.

  • sse-kms - The DB cluster snapshot is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key.

storage_throughput instance-attribute

storage_throughput: NotRequired[IntegerOptional]

The storage throughput for the DB cluster snapshot. The throughput is automatically set based on the IOPS that you provision, and is not configurable.

This setting is only for non-Aurora Multi-AZ DB clusters.

storage_type instance-attribute

storage_type: NotRequired[String]

The storage type associated with the DB cluster snapshot.

This setting is only for Aurora DB clusters.

tag_list instance-attribute

tag_list: NotRequired[TagList]

vpc_id instance-attribute

vpc_id: NotRequired[String]

The VPC ID associated with the DB cluster snapshot.