AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster.
For an Amazon Aurora DB cluster, this data type is used as a response element in the
operations CreateDBCluster
, DeleteDBCluster
, DescribeDBClusters
,
FailoverDBCluster
, ModifyDBCluster
, PromoteReadReplicaDBCluster
,
RestoreDBClusterFromS3
, RestoreDBClusterFromSnapshot
, RestoreDBClusterToPointInTime
,
StartDBCluster
, and StopDBCluster
.
For a Multi-AZ DB cluster, this data type is used as a response element in the operations
CreateDBCluster
, DeleteDBCluster
, DescribeDBClusters
, FailoverDBCluster
,
ModifyDBCluster
, RebootDBCluster
, RestoreDBClusterFromSnapshot
,
and RestoreDBClusterToPointInTime
.
For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide.
For more information on Multi-AZ DB clusters, see Multi-AZ deployments with two readable standby DB instances in the Amazon RDS User Guide.
Namespace: Amazon.RDS.Model
Assembly: AWSSDK.RDS.dll
Version: 3.x.y.z
public class DBCluster
The DBCluster type exposes the following members
Name | Description | |
---|---|---|
DBCluster() |
Name | Type | Description | |
---|---|---|---|
ActivityStreamKinesisStreamName | System.String |
Gets and sets the property ActivityStreamKinesisStreamName. The name of the Amazon Kinesis data stream used for the database activity stream. |
|
ActivityStreamKmsKeyId | System.String |
Gets and sets the property ActivityStreamKmsKeyId. 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. |
|
ActivityStreamMode | Amazon.RDS.ActivityStreamMode |
Gets and sets the property 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. |
|
ActivityStreamStatus | Amazon.RDS.ActivityStreamStatus |
Gets and sets the property ActivityStreamStatus. The status of the database activity stream. |
|
AllocatedStorage | System.Int32 |
Gets and sets the property AllocatedStorage.
For all database engines except Amazon Aurora, |
|
AssociatedRoles | System.Collections.Generic.List<Amazon.RDS.Model.DBClusterRole> |
Gets and sets the property AssociatedRoles. 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. |
|
AutomaticRestartTime | System.DateTime |
Gets and sets the property AutomaticRestartTime. The time when a stopped DB cluster is restarted automatically. |
|
AutoMinorVersionUpgrade | System.Boolean |
Gets and sets the property AutoMinorVersionUpgrade. Indicates whether minor version patches are applied automatically. This setting is only for non-Aurora Multi-AZ DB clusters. |
|
AvailabilityZones | System.Collections.Generic.List<System.String> |
Gets and sets the property AvailabilityZones. The list of Availability Zones (AZs) where instances in the DB cluster can be created. |
|
AwsBackupRecoveryPointArn | System.String |
Gets and sets the property AwsBackupRecoveryPointArn. The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup. |
|
BacktrackConsumedChangeRecords | System.Int64 |
Gets and sets the property BacktrackConsumedChangeRecords. The number of change records stored for Backtrack. |
|
BacktrackWindow | System.Int64 |
Gets and sets the property BacktrackWindow.
The target backtrack window, in seconds. If this value is set to |
|
BackupRetentionPeriod | System.Int32 |
Gets and sets the property BackupRetentionPeriod. The number of days for which automatic DB snapshots are retained. |
|
Capacity | System.Int32 |
Gets and sets the property Capacity.
The current capacity of an Aurora Serverless v1 DB cluster. The capacity is For more information about Aurora Serverless v1, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide. |
|
CertificateDetails | Amazon.RDS.Model.CertificateDetails |
Gets and sets the property CertificateDetails. |
|
CharacterSetName | System.String |
Gets and sets the property CharacterSetName. If present, specifies the name of the character set that this cluster is associated with. |
|
CloneGroupId | System.String |
Gets and sets the property CloneGroupId. The ID of the clone group with which the DB cluster is associated. |
|
ClusterCreateTime | System.DateTime |
Gets and sets the property ClusterCreateTime. The time when the DB cluster was created, in Universal Coordinated Time (UTC). |
|
ClusterScalabilityType | Amazon.RDS.ClusterScalabilityType |
Gets and sets the property ClusterScalabilityType.
The scalability mode of the Aurora DB cluster. When set to |
|
CopyTagsToSnapshot | System.Boolean |
Gets and sets the property CopyTagsToSnapshot. Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. |
|
CrossAccountClone | System.Boolean |
Gets and sets the property CrossAccountClone. Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account. |
|
CustomEndpoints | System.Collections.Generic.List<System.String> |
Gets and sets the property CustomEndpoints. The custom endpoints associated with the DB cluster. |
|
DatabaseName | System.String |
Gets and sets the property DatabaseName. 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. |
|
DBClusterArn | System.String |
Gets and sets the property DBClusterArn. The Amazon Resource Name (ARN) for the DB cluster. |
|
DBClusterIdentifier | System.String |
Gets and sets the property DBClusterIdentifier. The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB cluster. |
|
DBClusterInstanceClass | System.String |
Gets and sets the property DBClusterInstanceClass. The name of the compute and memory capacity class of the DB instance. This setting is only for non-Aurora Multi-AZ DB clusters. |
|
DBClusterMembers | System.Collections.Generic.List<Amazon.RDS.Model.DBClusterMember> |
Gets and sets the property DBClusterMembers. The list of DB instances that make up the DB cluster. |
|
DBClusterOptionGroupMemberships | System.Collections.Generic.List<Amazon.RDS.Model.DBClusterOptionGroupStatus> |
Gets and sets the property DBClusterOptionGroupMemberships. The list of option group memberships for this DB cluster. |
|
DBClusterParameterGroup | System.String |
Gets and sets the property DBClusterParameterGroup. The name of the DB cluster parameter group for the DB cluster. |
|
DbClusterResourceId | System.String |
Gets and sets the property DbClusterResourceId. 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. |
|
DBSubnetGroup | System.String |
Gets and sets the property DBSubnetGroup. Information about the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group. |
|
DBSystemId | System.String |
Gets and sets the property DBSystemId. Reserved for future use. |
|
DeletionProtection | System.Boolean |
Gets and sets the property DeletionProtection. Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. |
|
DomainMemberships | System.Collections.Generic.List<Amazon.RDS.Model.DomainMembership> |
Gets and sets the property DomainMemberships. The Active Directory Domain membership records associated with the DB cluster. |
|
EarliestBacktrackTime | System.DateTime |
Gets and sets the property EarliestBacktrackTime. The earliest time to which a DB cluster can be backtracked. |
|
EarliestRestorableTime | System.DateTime |
Gets and sets the property EarliestRestorableTime. The earliest time to which a database can be restored with point-in-time restore. |
|
EnabledCloudwatchLogsExports | System.Collections.Generic.List<System.String> |
Gets and sets the property EnabledCloudwatchLogsExports. 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 | System.String |
Gets and sets the property Endpoint. The connection endpoint for the primary instance of the DB cluster. |
|
Engine | System.String |
Gets and sets the property Engine. The database engine used for this DB cluster. |
|
EngineLifecycleSupport | System.String |
Gets and sets the property EngineLifecycleSupport. The life cycle type for the DB cluster. For more information, see CreateDBCluster. |
|
EngineMode | System.String |
Gets and sets the property EngineMode.
The DB engine mode of the DB cluster, either For more information, see CreateDBCluster. |
|
EngineVersion | System.String |
Gets and sets the property EngineVersion. The version of the database engine. |
|
GlobalWriteForwardingRequested | System.Boolean |
Gets and sets the property GlobalWriteForwardingRequested.
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 | Amazon.RDS.WriteForwardingStatus |
Gets and sets the property GlobalWriteForwardingStatus. The status of write forwarding for a secondary cluster in an Aurora global database. |
|
HostedZoneId | System.String |
Gets and sets the property HostedZoneId. The ID that Amazon Route 53 assigns when you create a hosted zone. |
|
HttpEndpointEnabled | System.Boolean |
Gets and sets the property HttpEndpointEnabled. 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. |
|
IAMDatabaseAuthenticationEnabled | System.Boolean |
Gets and sets the property IAMDatabaseAuthenticationEnabled. Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled. |
|
IOOptimizedNextAllowedModificationTime | System.DateTime |
Gets and sets the property IOOptimizedNextAllowedModificationTime.
The next time you can modify the DB cluster to use the This setting is only for Aurora DB clusters. |
|
Iops | System.Int32 |
Gets and sets the property Iops. The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters. |
|
KmsKeyId | System.String |
Gets and sets the property KmsKeyId.
If The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. |
|
LatestRestorableTime | System.DateTime |
Gets and sets the property LatestRestorableTime. The latest time to which a database can be restored with point-in-time restore. |
|
LimitlessDatabase | Amazon.RDS.Model.LimitlessDatabase |
Gets and sets the property LimitlessDatabase. The details for Aurora Limitless Database. |
|
LocalWriteForwardingStatus | Amazon.RDS.LocalWriteForwardingStatus |
Gets and sets the property LocalWriteForwardingStatus. Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in the process of enabling it. |
|
MasterUsername | System.String |
Gets and sets the property MasterUsername. The master username for the DB cluster. |
|
MasterUserSecret | Amazon.RDS.Model.MasterUserSecret |
Gets and sets the property 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. |
|
MonitoringInterval | System.Int32 |
Gets and sets the property MonitoringInterval. The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. This setting is only for non-Aurora Multi-AZ DB clusters. |
|
MonitoringRoleArn | System.String |
Gets and sets the property MonitoringRoleArn. The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs. This setting is only for non-Aurora Multi-AZ DB clusters. |
|
MultiAZ | System.Boolean |
Gets and sets the property MultiAZ. Indicates whether the DB cluster has instances in multiple Availability Zones. |
|
NetworkType | System.String |
Gets and sets the property NetworkType. The network type of the DB instance.
The network type is determined by the 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: |
|
PendingModifiedValues | Amazon.RDS.Model.ClusterPendingModifiedValues |
Gets and sets the property PendingModifiedValues. Information about pending changes to the DB cluster. This information is returned only when there are pending changes. Specific changes are identified by subelements. |
|
PercentProgress | System.String |
Gets and sets the property PercentProgress. The progress of the operation as a percentage. |
|
PerformanceInsightsEnabled | System.Boolean |
Gets and sets the property PerformanceInsightsEnabled. Indicates whether Performance Insights is enabled for the DB cluster. This setting is only for non-Aurora Multi-AZ DB clusters. |
|
PerformanceInsightsKMSKeyId | System.String |
Gets and sets the property PerformanceInsightsKMSKeyId. 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 non-Aurora Multi-AZ DB clusters. |
|
PerformanceInsightsRetentionPeriod | System.Int32 |
Gets and sets the property PerformanceInsightsRetentionPeriod. The number of days to retain Performance Insights data. This setting is only for non-Aurora Multi-AZ DB clusters. Valid Values:
Default: |
|
Port | System.Int32 |
Gets and sets the property Port. The port that the database engine is listening on. |
|
PreferredBackupWindow | System.String |
Gets and sets the property PreferredBackupWindow.
The daily time range during which automated backups are created if automated backups
are enabled, as determined by the |
|
PreferredMaintenanceWindow | System.String |
Gets and sets the property PreferredMaintenanceWindow. The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). |
|
PubliclyAccessible | System.Boolean |
Gets and sets the property PubliclyAccessible. 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. |
|
RdsCustomClusterConfiguration | Amazon.RDS.Model.RdsCustomClusterConfiguration |
Gets and sets the property RdsCustomClusterConfiguration. Reserved for future use. |
|
ReaderEndpoint | System.String |
Gets and sets the property ReaderEndpoint. 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. |
|
ReadReplicaIdentifiers | System.Collections.Generic.List<System.String> |
Gets and sets the property ReadReplicaIdentifiers. Contains one or more identifiers of the read replicas associated with this DB cluster. |
|
ReplicationSourceIdentifier | System.String |
Gets and sets the property ReplicationSourceIdentifier. The identifier of the source DB cluster if this DB cluster is a read replica. |
|
ScalingConfigurationInfo | Amazon.RDS.Model.ScalingConfigurationInfo |
Gets and sets the property ScalingConfigurationInfo. |
|
ServerlessV2ScalingConfiguration | Amazon.RDS.Model.ServerlessV2ScalingConfigurationInfo |
Gets and sets the property ServerlessV2ScalingConfiguration. |
|
Status | System.String |
Gets and sets the property Status. The current state of this DB cluster. |
|
StatusInfos | System.Collections.Generic.List<Amazon.RDS.Model.DBClusterStatusInfo> |
Gets and sets the property StatusInfos. Reserved for future use. |
|
StorageEncrypted | System.Boolean |
Gets and sets the property StorageEncrypted. Indicates whether the DB cluster is encrypted. |
|
StorageThroughput | System.Int32 |
Gets and sets the property StorageThroughput. 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. |
|
StorageType | System.String |
Gets and sets the property StorageType. The storage type associated with the DB cluster. |
|
TagList | System.Collections.Generic.List<Amazon.RDS.Model.Tag> |
Gets and sets the property TagList. |
|
VpcSecurityGroups | System.Collections.Generic.List<Amazon.RDS.Model.VpcSecurityGroupMembership> |
Gets and sets the property VpcSecurityGroups. The list of VPC security groups that the DB cluster belongs to. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5