Skip to content

DBCluster

Source code in docs_src/capo_rds/types/db_cluster.py
class DBCluster(TypedDict, closed=True):
    allocated_storage: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p> <code>AllocatedStorage</code> specifies the allocated storage size in gibibytes (GiB). For Aurora, <code>AllocatedStorage</code> can vary because Aurora DB cluster storage size adjusts as needed.</p>"""
    availability_zones: NotRequired[
        "capo_rds.types.availability_zones.AvailabilityZones"
    ]
    """<p>The list of Availability Zones (AZs) where instances in the DB cluster can be created.</p>"""
    backup_retention_period: NotRequired[
        "capo_rds.types.integer_optional.IntegerOptional"
    ]
    """<p>The number of days for which automatic DB snapshots are retained.</p>"""
    character_set_name: NotRequired["capo_rds.types.string.String"]
    """<p>If present, specifies the name of the character set that this cluster is associated with.</p>"""
    database_name: NotRequired["capo_rds.types.string.String"]
    """<p>The name of the initial database that was specified for the DB cluster when it was created, if one was provided. This same name is returned for the life of the DB cluster.</p>"""
    db_cluster_identifier: NotRequired["capo_rds.types.string.String"]
    """<p>The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB cluster.</p>"""
    db_cluster_parameter_group: NotRequired["capo_rds.types.string.String"]
    """<p>The name of the DB cluster parameter group for the DB cluster.</p>"""
    db_subnet_group: NotRequired["capo_rds.types.string.String"]
    """<p>Information about the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.</p>"""
    status: NotRequired["capo_rds.types.string.String"]
    """<p>The current state of this DB cluster.</p>"""
    percent_progress: NotRequired["capo_rds.types.string.String"]
    """<p>The progress of the operation as a percentage.</p>"""
    earliest_restorable_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The earliest time to which a database can be restored with point-in-time restore.</p>"""
    endpoint: NotRequired["capo_rds.types.string.String"]
    """<p>The connection endpoint for the primary instance of the DB cluster.</p>"""
    reader_endpoint: NotRequired["capo_rds.types.string.String"]
    """<p>The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster.</p> <p>If a failover occurs, and the Aurora 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 Aurora Replicas in the cluster, you can then reconnect to the reader endpoint.</p>"""
    custom_endpoints: NotRequired["capo_rds.types.string_list.StringList"]
    """<p>The custom endpoints associated with the DB cluster.</p>"""
    multi_az: NotRequired["capo_rds.types.boolean_optional.BooleanOptional"]
    """<p>Indicates whether the DB cluster has instances in multiple Availability Zones.</p>"""
    engine: NotRequired["capo_rds.types.string.String"]
    """<p>The database engine used for this DB cluster.</p>"""
    engine_version: NotRequired["capo_rds.types.string.String"]
    """<p>The version of the database engine.</p>"""
    latest_restorable_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The latest time to which a database can be restored with point-in-time restore.</p>"""
    port: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p>The port that the database engine is listening on.</p>"""
    master_username: NotRequired["capo_rds.types.string.String"]
    """<p>The master username for the DB cluster.</p>"""
    db_cluster_option_group_memberships: NotRequired[
        "capo_rds.types.db_cluster_option_group_memberships.DBClusterOptionGroupMemberships"
    ]
    """<p>The list of option group memberships for this DB cluster.</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>"""
    preferred_maintenance_window: NotRequired["capo_rds.types.string.String"]
    """<p>The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).</p>"""
    upgrade_rollout_order: NotRequired[
        "capo_rds.types.upgrade_rollout_order.UpgradeRolloutOrder"
    ]
    """<p>This data type represents the order in which the clusters are upgraded.</p> <ul> <li> <p>[first] - Typically used for development or testing environments.</p> </li> <li> <p>[second] - Default order for resources not specifically configured.</p> </li> <li> <p>[last] - Usually reserved for production environments.</p> </li> </ul>"""
    replication_source_identifier: NotRequired["capo_rds.types.string.String"]
    """<p>The identifier of the source DB cluster if this DB cluster is a read replica.</p>"""
    read_replica_identifiers: NotRequired[
        "capo_rds.types.read_replica_identifier_list.ReadReplicaIdentifierList"
    ]
    """<p>Contains one or more identifiers of the read replicas associated with this DB cluster.</p>"""
    status_infos: NotRequired[
        "capo_rds.types.db_cluster_status_info_list.DBClusterStatusInfoList"
    ]
    """<p>Reserved for future use.</p>"""
    db_cluster_members: NotRequired[
        "capo_rds.types.db_cluster_member_list.DBClusterMemberList"
    ]
    """<p>The list of DB instances that make up the DB cluster.</p>"""
    vpc_security_groups: NotRequired[
        "capo_rds.types.vpc_security_group_membership_list.VpcSecurityGroupMembershipList"
    ]
    """<p>The list of VPC security groups that the DB cluster belongs to.</p>"""
    hosted_zone_id: NotRequired["capo_rds.types.string.String"]
    """<p>The ID that Amazon Route 53 assigns when you create a hosted zone.</p>"""
    storage_encrypted: NotRequired["capo_rds.types.boolean.Boolean"]
    """<p>Indicates whether the DB cluster 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. Possible values:</p> <ul> <li> <p> <code>none</code> - The DB cluster is not encrypted.</p> </li> <li> <p> <code>sse-rds</code> - The DB cluster is encrypted using an Amazon Web Services owned KMS key.</p> </li> <li> <p> <code>sse-kms</code> - The DB cluster is encrypted using a customer managed KMS key or Amazon Web Services managed KMS key.</p> </li> </ul>"""
    kms_key_id: NotRequired["capo_rds.types.string.String"]
    """<p>If <code>StorageEncrypted</code> is enabled, the Amazon Web Services KMS key identifier for the encrypted DB cluster.</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_resource_id: NotRequired["capo_rds.types.string.String"]
    """<p>The Amazon Web Services Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon Web Services CloudTrail log entries whenever the KMS key for the DB cluster is accessed.</p>"""
    db_cluster_arn: NotRequired["capo_rds.types.string.String"]
    """<p>The Amazon Resource Name (ARN) for the DB cluster.</p>"""
    associated_roles: NotRequired["capo_rds.types.db_cluster_roles.DBClusterRoles"]
    """<p>A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon Web Services on your behalf.</p>"""
    iam_database_authentication_enabled: NotRequired[
        "capo_rds.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.</p>"""
    clone_group_id: NotRequired["capo_rds.types.string.String"]
    """<p>The ID of the clone group with which the DB cluster is associated. For newly created clusters, the ID is typically null. </p> <p>If you clone a DB cluster when the ID is null, the operation populates the ID value for the source cluster and the clone because both clusters become part of the same clone group. Even if you delete the clone cluster, the clone group ID remains for the lifetime of the source cluster to show that it was used in a cloning operation.</p> <p>For PITR, the clone group ID is inherited from the source cluster. For snapshot restore operations, the clone group ID isn't inherited from the source cluster.</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>"""
    earliest_backtrack_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The earliest time to which a DB cluster can be backtracked.</p>"""
    backtrack_window: NotRequired["capo_rds.types.long_optional.LongOptional"]
    """<p>The target backtrack window, in seconds. If this value is set to <code>0</code>, backtracking is disabled for the DB cluster. Otherwise, backtracking is enabled.</p>"""
    backtrack_consumed_change_records: NotRequired[
        "capo_rds.types.long_optional.LongOptional"
    ]
    """<p>The number of change records stored for Backtrack.</p>"""
    enabled_cloudwatch_logs_exports: NotRequired[
        "capo_rds.types.log_type_list.LogTypeList"
    ]
    """<p>A list of log types that this DB cluster is configured to export to CloudWatch Logs.</p> <p>Log types vary by DB engine. For information about the log types for each DB engine, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html">Amazon RDS Database Log Files</a> in the <i>Amazon Aurora User Guide.</i> </p>"""
    capacity: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p>The current capacity of an Aurora Serverless v1 DB cluster. The capacity is <code>0</code> (zero) when the cluster is paused.</p> <p>For more information about Aurora Serverless v1, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html">Using Amazon Aurora Serverless v1</a> in the <i>Amazon Aurora User Guide</i>.</p>"""
    pending_modified_values: NotRequired[
        "capo_rds.types.cluster_pending_modified_values.ClusterPendingModifiedValues"
    ]
    """<p>Information about pending changes to the DB cluster. This information is returned only when there are pending changes. Specific changes are identified by subelements.</p>"""
    engine_mode: NotRequired["capo_rds.types.string.String"]
    """<p>The DB engine mode of the DB cluster, either <code>provisioned</code> or <code>serverless</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html"> CreateDBCluster</a>.</p>"""
    scaling_configuration_info: NotRequired[
        "capo_rds.types.scaling_configuration_info.ScalingConfigurationInfo"
    ]
    rds_custom_cluster_configuration: NotRequired[
        "capo_rds.types.rds_custom_cluster_configuration.RdsCustomClusterConfiguration"
    ]
    """<p>Reserved for future use.</p>"""
    db_cluster_instance_class: NotRequired["capo_rds.types.string.String"]
    """<p>The name of the compute and memory capacity class of the DB instance.</p> <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>"""
    storage_type: NotRequired["capo_rds.types.string.String"]
    """<p>The storage type associated with the DB cluster.</p>"""
    iops: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p>The Provisioned IOPS (I/O operations per second) value.</p> <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>"""
    storage_throughput: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p>The storage throughput for the DB cluster. 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>"""
    io_optimized_next_allowed_modification_time: NotRequired[
        "capo_rds.types.t_stamp.TStamp"
    ]
    """<p>The next time you can modify the DB cluster to use the <code>aurora-iopt1</code> storage type.</p> <p>This setting is only for Aurora DB clusters.</p>"""
    publicly_accessible: NotRequired["capo_rds.types.boolean_optional.BooleanOptional"]
    """<p>Indicates whether the DB cluster is publicly accessible.</p> <p>When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.</p> <p>When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a private IP address.</p> <p>For more information, see <a>CreateDBCluster</a>.</p> <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>"""
    auto_minor_version_upgrade: NotRequired["capo_rds.types.boolean.Boolean"]
    """<p>Indicates whether minor version patches are applied automatically.</p> <p>This setting is for Aurora DB clusters and Multi-AZ DB clusters.</p> <p>For more information about automatic minor version upgrades, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades">Automatically upgrading the minor engine version</a>.</p>"""
    deletion_protection: NotRequired["capo_rds.types.boolean_optional.BooleanOptional"]
    """<p>Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.</p>"""
    http_endpoint_enabled: NotRequired[
        "capo_rds.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster.</p> <p>When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using RDS Data API</a> in the <i>Amazon Aurora User Guide</i>.</p>"""
    activity_stream_mode: NotRequired[
        "capo_rds.types.activity_stream_mode.ActivityStreamMode"
    ]
    """<p>The mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.</p>"""
    activity_stream_status: NotRequired[
        "capo_rds.types.activity_stream_status.ActivityStreamStatus"
    ]
    """<p>The status of the database activity stream.</p>"""
    activity_stream_kms_key_id: NotRequired["capo_rds.types.string.String"]
    """<p>The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream.</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>"""
    activity_stream_kinesis_stream_name: NotRequired["capo_rds.types.string.String"]
    """<p>The name of the Amazon Kinesis data stream used for the database activity stream.</p>"""
    copy_tags_to_snapshot: NotRequired[
        "capo_rds.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster.</p>"""
    cross_account_clone: NotRequired["capo_rds.types.boolean_optional.BooleanOptional"]
    """<p>Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.</p>"""
    domain_memberships: NotRequired[
        "capo_rds.types.domain_membership_list.DomainMembershipList"
    ]
    """<p>The Active Directory Domain membership records associated with the DB cluster.</p>"""
    tag_list: NotRequired["capo_rds.types.tag_list.TagList"]
    global_cluster_identifier: NotRequired[
        "capo_rds.types.global_cluster_identifier.GlobalClusterIdentifier"
    ]
    """<p>Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database cluster.</p>"""
    global_write_forwarding_status: NotRequired[
        "capo_rds.types.write_forwarding_status.WriteForwardingStatus"
    ]
    """<p>The status of write forwarding for a secondary cluster in an Aurora global database.</p>"""
    global_write_forwarding_requested: NotRequired[
        "capo_rds.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. Because write forwarding takes time to enable, check the value of <code>GlobalWriteForwardingStatus</code> to confirm that the request has completed before using the write forwarding feature for this cluster.</p>"""
    network_type: NotRequired["capo_rds.types.string.String"]
    """<p>The network type of the DB instance.</p> <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB cluster. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html"> Working with a DB instance in a VPC</a> in the <i>Amazon Aurora User Guide.</i> </p> <p>This setting is only for Aurora DB clusters.</p> <p>Valid Values: <code>IPV4 | DUAL</code> </p>"""
    automatic_restart_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The time when a stopped DB cluster is restarted automatically.</p>"""
    serverless_v2_scaling_configuration: NotRequired[
        "capo_rds.types.serverless_v2_scaling_configuration_info.ServerlessV2ScalingConfigurationInfo"
    ]
    serverless_v2_platform_version: NotRequired["capo_rds.types.string.String"]
    """<p>The version of the Aurora Serverless V2 platform used by the DB cluster. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html">Using Aurora Serverless v2</a> in the <i>Amazon Aurora User Guide</i>.</p>"""
    monitoring_interval: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p>The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster.</p> <p>This setting is only for -Aurora DB clusters and Multi-AZ DB clusters.</p>"""
    monitoring_role_arn: NotRequired["capo_rds.types.string.String"]
    """<p>The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.</p> <p>This setting is only for Aurora DB clusters and Multi-AZ DB clusters.</p>"""
    database_insights_mode: NotRequired[
        "capo_rds.types.database_insights_mode.DatabaseInsightsMode"
    ]
    """<p>The mode of Database Insights that is enabled for the DB cluster.</p>"""
    performance_insights_enabled: NotRequired[
        "capo_rds.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates whether Performance Insights is enabled for the DB cluster.</p> <p>This setting is only for Aurora DB clusters and Multi-AZ DB clusters.</p>"""
    performance_insights_kms_key_id: NotRequired["capo_rds.types.string.String"]
    """<p>The Amazon Web Services KMS key identifier for encryption of Performance Insights data.</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> <p>This setting is only for Aurora DB clusters and Multi-AZ DB clusters.</p>"""
    performance_insights_retention_period: NotRequired[
        "capo_rds.types.integer_optional.IntegerOptional"
    ]
    """<p>The number of days to retain Performance Insights data.</p> <p>This setting is only for Aurora DB clusters and Multi-AZ DB clusters.</p> <p>Valid Values:</p> <ul> <li> <p> <code>7</code> </p> </li> <li> <p> <i>month</i> * 31, where <i>month</i> is a number of months from 1-23. Examples: <code>93</code> (3 months * 31), <code>341</code> (11 months * 31), <code>589</code> (19 months * 31)</p> </li> <li> <p> <code>731</code> </p> </li> </ul> <p>Default: <code>7</code> days</p>"""
    db_system_id: NotRequired["capo_rds.types.string.String"]
    """<p>Reserved for future use.</p>"""
    master_user_secret: NotRequired[
        "capo_rds.types.master_user_secret.MasterUserSecret"
    ]
    """<p>The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a> in the <i>Amazon RDS User Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a> in the <i>Amazon Aurora User Guide.</i> </p>"""
    local_write_forwarding_status: NotRequired[
        "capo_rds.types.local_write_forwarding_status.LocalWriteForwardingStatus"
    ]
    """<p>Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in the process of enabling it.</p>"""
    aws_backup_recovery_point_arn: NotRequired["capo_rds.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.</p>"""
    limitless_database: NotRequired[
        "capo_rds.types.limitless_database.LimitlessDatabase"
    ]
    """<p>The details for Aurora Limitless Database.</p>"""
    cluster_scalability_type: NotRequired[
        "capo_rds.types.cluster_scalability_type.ClusterScalabilityType"
    ]
    """<p>The scalability mode of the Aurora DB cluster. When set to <code>limitless</code>, the cluster operates as an Aurora Limitless Database. When set to <code>standard</code> (the default), the cluster uses normal DB instance creation.</p>"""
    certificate_details: NotRequired[
        "capo_rds.types.certificate_details.CertificateDetails"
    ]
    engine_lifecycle_support: NotRequired["capo_rds.types.string.String"]
    """<p>The lifecycle type for the DB cluster.</p> <p>For more information, see CreateDBCluster.</p>"""
    vpc_networking_enabled: NotRequired[
        "capo_rds.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates whether the DB cluster uses VPC-based networking.</p> <p>This setting is applicable only for Aurora PostgreSQL clusters created through express configuration.</p>"""
    internet_access_gateway_enabled: NotRequired[
        "capo_rds.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates whether the DB cluster has internet-based connectivity enabled through an internet access gateway.</p> <p>This setting is applicable only for Aurora PostgreSQL clusters created through express configuration.</p>"""

activity_stream_kinesis_stream_name instance-attribute

activity_stream_kinesis_stream_name: NotRequired[String]

The name of the Amazon Kinesis data stream used for the database activity stream.

activity_stream_kms_key_id instance-attribute

activity_stream_kms_key_id: NotRequired[String]

The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream.

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

activity_stream_mode instance-attribute

activity_stream_mode: NotRequired[ActivityStreamMode]

The mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.

activity_stream_status instance-attribute

activity_stream_status: NotRequired[ActivityStreamStatus]

The status of the database activity stream.

allocated_storage instance-attribute

allocated_storage: NotRequired[IntegerOptional]

AllocatedStorage specifies the allocated storage size in gibibytes (GiB). For Aurora, AllocatedStorage can vary because Aurora DB cluster storage size adjusts as needed.

associated_roles instance-attribute

associated_roles: NotRequired[DBClusterRoles]

A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon Web Services on your behalf.

auto_minor_version_upgrade instance-attribute

auto_minor_version_upgrade: NotRequired[Boolean]

Indicates whether minor version patches are applied automatically.

This setting is for Aurora DB clusters and Multi-AZ DB clusters.

For more information about automatic minor version upgrades, see Automatically upgrading the minor engine version.

automatic_restart_time instance-attribute

automatic_restart_time: NotRequired[TStamp]

The time when a stopped DB cluster is restarted automatically.

availability_zones instance-attribute

availability_zones: NotRequired[AvailabilityZones]

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

aws_backup_recovery_point_arn instance-attribute

aws_backup_recovery_point_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.

backtrack_consumed_change_records instance-attribute

backtrack_consumed_change_records: NotRequired[LongOptional]

The number of change records stored for Backtrack.

backtrack_window instance-attribute

backtrack_window: NotRequired[LongOptional]

The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled for the DB cluster. Otherwise, backtracking is enabled.

backup_retention_period instance-attribute

backup_retention_period: NotRequired[IntegerOptional]

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

capacity instance-attribute

capacity: NotRequired[IntegerOptional]

The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the cluster is paused.

For more information about Aurora Serverless v1, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.

certificate_details instance-attribute

certificate_details: NotRequired[CertificateDetails]

character_set_name instance-attribute

character_set_name: NotRequired[String]

If present, specifies the name of the character set that this cluster is associated with.

clone_group_id instance-attribute

clone_group_id: NotRequired[String]

The ID of the clone group with which the DB cluster is associated. For newly created clusters, the ID is typically null.

If you clone a DB cluster when the ID is null, the operation populates the ID value for the source cluster and the clone because both clusters become part of the same clone group. Even if you delete the clone cluster, the clone group ID remains for the lifetime of the source cluster to show that it was used in a cloning operation.

For PITR, the clone group ID is inherited from the source cluster. For snapshot restore operations, the clone group ID isn't inherited from the source cluster.

cluster_create_time instance-attribute

cluster_create_time: NotRequired[TStamp]

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

cluster_scalability_type instance-attribute

cluster_scalability_type: NotRequired[ClusterScalabilityType]

The scalability mode of the Aurora DB cluster. When set to limitless, the cluster operates as an Aurora Limitless Database. When set to standard (the default), the cluster uses normal DB instance creation.

copy_tags_to_snapshot instance-attribute

copy_tags_to_snapshot: NotRequired[BooleanOptional]

Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster.

cross_account_clone instance-attribute

cross_account_clone: NotRequired[BooleanOptional]

Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.

custom_endpoints instance-attribute

custom_endpoints: NotRequired[StringList]

The custom endpoints associated with the DB cluster.

database_insights_mode instance-attribute

database_insights_mode: NotRequired[DatabaseInsightsMode]

The mode of Database Insights that is enabled for the DB cluster.

database_name instance-attribute

database_name: NotRequired[String]

The name of the initial database that was specified for the DB cluster when it was created, if one was provided. This same name is returned for the life of the DB cluster.

db_cluster_arn instance-attribute

db_cluster_arn: NotRequired[String]

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

db_cluster_identifier instance-attribute

db_cluster_identifier: NotRequired[String]

The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB cluster.

db_cluster_instance_class instance-attribute

db_cluster_instance_class: NotRequired[String]

The name of the compute and memory capacity class of the DB instance.

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

db_cluster_members instance-attribute

db_cluster_members: NotRequired[DBClusterMemberList]

The list of DB instances that make up the DB cluster.

db_cluster_option_group_memberships instance-attribute

db_cluster_option_group_memberships: NotRequired[DBClusterOptionGroupMemberships]

The list of option group memberships for this DB cluster.

db_cluster_parameter_group instance-attribute

db_cluster_parameter_group: NotRequired[String]

The name of the DB cluster parameter group for the DB cluster.

db_cluster_resource_id instance-attribute

db_cluster_resource_id: NotRequired[String]

The Amazon Web Services Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon Web Services CloudTrail log entries whenever the KMS key for the DB cluster is accessed.

db_subnet_group instance-attribute

db_subnet_group: NotRequired[String]

Information about the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.

db_system_id instance-attribute

db_system_id: NotRequired[String]

Reserved for future use.

deletion_protection instance-attribute

deletion_protection: NotRequired[BooleanOptional]

Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.

domain_memberships instance-attribute

domain_memberships: NotRequired[DomainMembershipList]

The Active Directory Domain membership records associated with the DB cluster.

earliest_backtrack_time instance-attribute

earliest_backtrack_time: NotRequired[TStamp]

The earliest time to which a DB cluster can be backtracked.

earliest_restorable_time instance-attribute

earliest_restorable_time: NotRequired[TStamp]

The earliest time to which a database can be restored with point-in-time restore.

enabled_cloudwatch_logs_exports instance-attribute

enabled_cloudwatch_logs_exports: NotRequired[LogTypeList]

A list of log types that this DB cluster is configured to export to CloudWatch Logs.

Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log Files in the Amazon Aurora User Guide.

endpoint instance-attribute

endpoint: NotRequired[String]

The connection endpoint for the primary instance of the DB cluster.

engine instance-attribute

engine: NotRequired[String]

The database engine used for this DB cluster.

engine_lifecycle_support instance-attribute

engine_lifecycle_support: NotRequired[String]

The lifecycle type for the DB cluster.

For more information, see CreateDBCluster.

engine_mode instance-attribute

engine_mode: NotRequired[String]

The DB engine mode of the DB cluster, either provisioned or serverless.

For more information, see CreateDBCluster.

engine_version instance-attribute

engine_version: NotRequired[String]

The version of the database engine.

global_cluster_identifier instance-attribute

global_cluster_identifier: NotRequired[GlobalClusterIdentifier]

Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database cluster.

global_write_forwarding_requested instance-attribute

global_write_forwarding_requested: NotRequired[BooleanOptional]

Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. Because write forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the request has completed before using the write forwarding feature for this cluster.

global_write_forwarding_status instance-attribute

global_write_forwarding_status: NotRequired[WriteForwardingStatus]

The status of write forwarding for a secondary cluster in an Aurora global database.

hosted_zone_id instance-attribute

hosted_zone_id: NotRequired[String]

The ID that Amazon Route 53 assigns when you create a hosted zone.

http_endpoint_enabled instance-attribute

http_endpoint_enabled: NotRequired[BooleanOptional]

Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster.

When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor.

For more information, see Using RDS Data API in the Amazon Aurora User Guide.

iam_database_authentication_enabled instance-attribute

iam_database_authentication_enabled: NotRequired[BooleanOptional]

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

internet_access_gateway_enabled instance-attribute

internet_access_gateway_enabled: NotRequired[BooleanOptional]

Indicates whether the DB cluster has internet-based connectivity enabled through an internet access gateway.

This setting is applicable only for Aurora PostgreSQL clusters created through express configuration.

io_optimized_next_allowed_modification_time instance-attribute

io_optimized_next_allowed_modification_time: NotRequired[TStamp]

The next time you can modify the DB cluster to use the aurora-iopt1 storage type.

This setting is only for Aurora DB clusters.

iops instance-attribute

iops: NotRequired[IntegerOptional]

The Provisioned IOPS (I/O operations per second) value.

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

kms_key_id instance-attribute

kms_key_id: NotRequired[String]

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

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

latest_restorable_time instance-attribute

latest_restorable_time: NotRequired[TStamp]

The latest time to which a database can be restored with point-in-time restore.

limitless_database instance-attribute

limitless_database: NotRequired[LimitlessDatabase]

The details for Aurora Limitless Database.

local_write_forwarding_status instance-attribute

local_write_forwarding_status: NotRequired[LocalWriteForwardingStatus]

Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in the process of enabling it.

master_user_secret instance-attribute

master_user_secret: NotRequired[MasterUserSecret]

The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.

For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password management with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide.

master_username instance-attribute

master_username: NotRequired[String]

The master username for the DB cluster.

monitoring_interval instance-attribute

monitoring_interval: NotRequired[IntegerOptional]

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster.

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

monitoring_role_arn instance-attribute

monitoring_role_arn: NotRequired[String]

The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.

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

multi_az instance-attribute

multi_az: NotRequired[BooleanOptional]

Indicates whether the DB cluster has instances in multiple Availability Zones.

network_type instance-attribute

network_type: NotRequired[String]

The network type of the DB instance.

The network type is determined by the DBSubnetGroup specified for the DB cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).

For more information, see Working with a DB instance in a VPC in the Amazon Aurora User Guide.

This setting is only for Aurora DB clusters.

Valid Values: IPV4 | DUAL

pending_modified_values instance-attribute

pending_modified_values: NotRequired[ClusterPendingModifiedValues]

Information about pending changes to the DB cluster. This information is returned only when there are pending changes. Specific changes are identified by subelements.

percent_progress instance-attribute

percent_progress: NotRequired[String]

The progress of the operation as a percentage.

performance_insights_enabled instance-attribute

performance_insights_enabled: NotRequired[BooleanOptional]

Indicates whether Performance Insights is enabled for the DB cluster.

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

performance_insights_kms_key_id instance-attribute

performance_insights_kms_key_id: NotRequired[String]

The Amazon Web Services KMS key identifier for encryption of Performance Insights data.

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

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

performance_insights_retention_period instance-attribute

performance_insights_retention_period: NotRequired[IntegerOptional]

The number of days to retain Performance Insights data.

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

Valid Values:

  • 7

  • month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * 31), 341 (11 months * 31), 589 (19 months * 31)

  • 731

Default: 7 days

port instance-attribute

port: NotRequired[IntegerOptional]

The port that the database engine is listening on.

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.

preferred_maintenance_window instance-attribute

preferred_maintenance_window: NotRequired[String]

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

publicly_accessible instance-attribute

publicly_accessible: NotRequired[BooleanOptional]

Indicates whether the DB cluster is publicly accessible.

When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a private IP address.

For more information, see CreateDBCluster.

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

rds_custom_cluster_configuration instance-attribute

rds_custom_cluster_configuration: NotRequired[RdsCustomClusterConfiguration]

Reserved for future use.

read_replica_identifiers instance-attribute

read_replica_identifiers: NotRequired[ReadReplicaIdentifierList]

Contains one or more identifiers of the read replicas associated with this DB cluster.

reader_endpoint instance-attribute

reader_endpoint: NotRequired[String]

The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster.

If a failover occurs, and the Aurora 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 Aurora Replicas in the cluster, you can then reconnect to the reader endpoint.

replication_source_identifier instance-attribute

replication_source_identifier: NotRequired[String]

The identifier of the source DB cluster if this DB cluster is a read replica.

scaling_configuration_info instance-attribute

scaling_configuration_info: NotRequired[ScalingConfigurationInfo]

serverless_v2_platform_version instance-attribute

serverless_v2_platform_version: NotRequired[String]

The version of the Aurora Serverless V2 platform used by the DB cluster. For more information, see Using Aurora Serverless v2 in the Amazon Aurora User Guide.

serverless_v2_scaling_configuration instance-attribute

serverless_v2_scaling_configuration: NotRequired[ServerlessV2ScalingConfigurationInfo]

status instance-attribute

status: NotRequired[String]

The current state of this DB cluster.

status_infos instance-attribute

status_infos: NotRequired[DBClusterStatusInfoList]

Reserved for future use.

storage_encrypted instance-attribute

storage_encrypted: NotRequired[Boolean]

Indicates whether the DB cluster 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. Possible values:

  • none - The DB cluster is not encrypted.

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

  • sse-kms - The DB cluster 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. 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.

tag_list instance-attribute

tag_list: NotRequired[TagList]

upgrade_rollout_order instance-attribute

upgrade_rollout_order: NotRequired[UpgradeRolloutOrder]

This data type represents the order in which the clusters are upgraded.

  • [first] - Typically used for development or testing environments.

  • [second] - Default order for resources not specifically configured.

  • [last] - Usually reserved for production environments.

vpc_networking_enabled instance-attribute

vpc_networking_enabled: NotRequired[BooleanOptional]

Indicates whether the DB cluster uses VPC-based networking.

This setting is applicable only for Aurora PostgreSQL clusters created through express configuration.

vpc_security_groups instance-attribute

vpc_security_groups: NotRequired[VpcSecurityGroupMembershipList]

The list of VPC security groups that the DB cluster belongs to.