AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.RDS.Model.DBCluster

Namespace: Amazon.RDS.Model
Assembly: AWSSDK.RDS.dll
Version: 3.x.y.z

Syntax

C#
public class DBCluster

The DBCluster type exposes the following members

Constructors

NameDescription
Public Method DBCluster()

Properties

NameTypeDescription
Public Property ActivityStreamKinesisStreamName System.String

Gets and sets the property ActivityStreamKinesisStreamName.

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

Public Property 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.

Public Property 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.

Public Property ActivityStreamStatus Amazon.RDS.ActivityStreamStatus

Gets and sets the property ActivityStreamStatus.

The status of the database activity stream.

Public Property AllocatedStorage System.Int32

Gets and sets the property AllocatedStorage.

For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed.

Public Property 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.

Public Property AutomaticRestartTime System.DateTime

Gets and sets the property AutomaticRestartTime.

The time when a stopped DB cluster is restarted automatically.

Public Property 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.

Public Property 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.

Public Property AwsBackupRecoveryPointArn System.String

Gets and sets the property AwsBackupRecoveryPointArn.

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

Public Property BacktrackConsumedChangeRecords System.Int64

Gets and sets the property BacktrackConsumedChangeRecords.

The number of change records stored for Backtrack.

Public Property BacktrackWindow System.Int64

Gets and sets the property BacktrackWindow.

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

Public Property BackupRetentionPeriod System.Int32

Gets and sets the property BackupRetentionPeriod.

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

Public Property Capacity System.Int32

Gets and sets the property Capacity.

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.

Public Property CertificateDetails Amazon.RDS.Model.CertificateDetails

Gets and sets the property CertificateDetails.

Public Property CharacterSetName System.String

Gets and sets the property CharacterSetName.

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

Public Property CloneGroupId System.String

Gets and sets the property CloneGroupId.

The ID of the clone group with which the DB cluster is associated.

Public Property ClusterCreateTime System.DateTime

Gets and sets the property ClusterCreateTime.

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

Public Property CopyTagsToSnapshot System.Boolean

Gets and sets the property CopyTagsToSnapshot.

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

Public Property 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.

Public Property CustomEndpoints System.Collections.Generic.List<System.String>

Gets and sets the property CustomEndpoints.

The custom endpoints associated with the DB cluster.

Public Property 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.

Public Property DBClusterArn System.String

Gets and sets the property DBClusterArn.

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

Public Property 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.

Public Property 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.

Public Property 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.

Public Property 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.

Public Property DBClusterParameterGroup System.String

Gets and sets the property DBClusterParameterGroup.

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

Public Property 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.

Public Property 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.

Public Property DBSystemId System.String

Gets and sets the property DBSystemId.

Reserved for future use.

Public Property 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.

Public Property 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.

Public Property EarliestBacktrackTime System.DateTime

Gets and sets the property EarliestBacktrackTime.

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

Public Property EarliestRestorableTime System.DateTime

Gets and sets the property EarliestRestorableTime.

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

Public Property 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.

Public Property Endpoint System.String

Gets and sets the property Endpoint.

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

Public Property Engine System.String

Gets and sets the property Engine.

The database engine used for this DB cluster.

Public Property EngineMode System.String

Gets and sets the property EngineMode.

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

For more information, see CreateDBCluster.

Public Property EngineVersion System.String

Gets and sets the property EngineVersion.

The version of the database engine.

Public Property 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 to confirm that the request has completed before using the write forwarding feature for this cluster.

Public Property GlobalWriteForwardingStatus Amazon.RDS.WriteForwardingStatus

Gets and sets the property GlobalWriteForwardingStatus.

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

Public Property HostedZoneId System.String

Gets and sets the property HostedZoneId.

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

Public Property 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.

Public Property 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.

Public Property IOOptimizedNextAllowedModificationTime System.DateTime

Gets and sets the property IOOptimizedNextAllowedModificationTime.

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

This setting is only for Aurora DB clusters.

Public Property 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.

Public Property KmsKeyId System.String

Gets and sets the property KmsKeyId.

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.

Public Property LatestRestorableTime System.DateTime

Gets and sets the property LatestRestorableTime.

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

Public Property LimitlessDatabase Amazon.RDS.Model.LimitlessDatabase

Gets and sets the property LimitlessDatabase.

The details for Aurora Limitless Database.

Public Property 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.

Public Property MasterUsername System.String

Gets and sets the property MasterUsername.

The master username for the DB cluster.

Public Property 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.

Public Property 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.

Public Property 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.

Public Property MultiAZ System.Boolean

Gets and sets the property MultiAZ.

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

Public Property NetworkType System.String

Gets and sets the property NetworkType.

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

Public Property 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.

Public Property PercentProgress System.String

Gets and sets the property PercentProgress.

The progress of the operation as a percentage.

Public Property 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.

Public Property 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.

Public Property 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:

  • 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

Public Property Port System.Int32

Gets and sets the property Port.

The port that the database engine is listening on.

Public Property 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 BackupRetentionPeriod.

Public Property PreferredMaintenanceWindow System.String

Gets and sets the property PreferredMaintenanceWindow.

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

Public Property PubliclyAccessible System.Boolean

Gets and sets the property PubliclyAccessible.

Indicates whether the DB cluster is publicly accessible.

When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB cluster's VPC. 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.

Public Property RdsCustomClusterConfiguration Amazon.RDS.Model.RdsCustomClusterConfiguration

Gets and sets the property RdsCustomClusterConfiguration.

Reserved for future use.

Public Property 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.

Public Property 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.

Public Property ReplicationSourceIdentifier System.String

Gets and sets the property ReplicationSourceIdentifier.

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

Public Property ScalingConfigurationInfo Amazon.RDS.Model.ScalingConfigurationInfo

Gets and sets the property ScalingConfigurationInfo.

Public Property ServerlessV2ScalingConfiguration Amazon.RDS.Model.ServerlessV2ScalingConfigurationInfo

Gets and sets the property ServerlessV2ScalingConfiguration.

Public Property Status System.String

Gets and sets the property Status.

The current state of this DB cluster.

Public Property StatusInfos System.Collections.Generic.List<Amazon.RDS.Model.DBClusterStatusInfo>

Gets and sets the property StatusInfos.

Reserved for future use.

Public Property StorageEncrypted System.Boolean

Gets and sets the property StorageEncrypted.

Indicates whether the DB cluster is encrypted.

Public Property 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.

Public Property StorageType System.String

Gets and sets the property StorageType.

The storage type associated with the DB cluster.

Public Property TagList System.Collections.Generic.List<Amazon.RDS.Model.Tag>

Gets and sets the property TagList.

Public Property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5