DBCluster
¶
Source code in docs_src/capo_rds/types/db_cluster.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | |
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.
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.
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_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.
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.