Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DBCluster

import type { DBCluster } from "https://aws-api.deno.dev/v0.3/services/rds.ts?docs=full";

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.

Note: The Multi-AZ DB clusters feature is in preview and is subject to change.

interface DBCluster {
ActivityStreamKinesisStreamName?: string | null;
ActivityStreamKmsKeyId?: string | null;
ActivityStreamMode?: ActivityStreamMode | null;
ActivityStreamStatus?: ActivityStreamStatus | null;
AllocatedStorage?: number | null;
AssociatedRoles: DBClusterRole[];
AutomaticRestartTime?: Date | number | null;
AutoMinorVersionUpgrade?: boolean | null;
AvailabilityZones: string[];
BacktrackConsumedChangeRecords?: number | null;
BacktrackWindow?: number | null;
BackupRetentionPeriod?: number | null;
Capacity?: number | null;
CharacterSetName?: string | null;
CloneGroupId?: string | null;
ClusterCreateTime?: Date | number | null;
CopyTagsToSnapshot?: boolean | null;
CrossAccountClone?: boolean | null;
CustomEndpoints: string[];
DatabaseName?: string | null;
DBClusterArn?: string | null;
DBClusterIdentifier?: string | null;
DBClusterInstanceClass?: string | null;
DBClusterMembers: DBClusterMember[];
DBClusterOptionGroupMemberships: DBClusterOptionGroupStatus[];
DBClusterParameterGroup?: string | null;
DbClusterResourceId?: string | null;
DBSubnetGroup?: string | null;
DeletionProtection?: boolean | null;
DomainMemberships: DomainMembership[];
EarliestBacktrackTime?: Date | number | null;
EarliestRestorableTime?: Date | number | null;
EnabledCloudwatchLogsExports: string[];
Endpoint?: string | null;
Engine?: string | null;
EngineMode?: string | null;
EngineVersion?: string | null;
GlobalWriteForwardingRequested?: boolean | null;
GlobalWriteForwardingStatus?: WriteForwardingStatus | null;
HostedZoneId?: string | null;
HttpEndpointEnabled?: boolean | null;
IAMDatabaseAuthenticationEnabled?: boolean | null;
Iops?: number | null;
KmsKeyId?: string | null;
LatestRestorableTime?: Date | number | null;
MasterUsername?: string | null;
MonitoringInterval?: number | null;
MonitoringRoleArn?: string | null;
MultiAZ?: boolean | null;
PendingModifiedValues?: ClusterPendingModifiedValues | null;
PercentProgress?: string | null;
PerformanceInsightsEnabled?: boolean | null;
PerformanceInsightsKMSKeyId?: string | null;
PerformanceInsightsRetentionPeriod?: number | null;
Port?: number | null;
PreferredBackupWindow?: string | null;
PreferredMaintenanceWindow?: string | null;
PubliclyAccessible?: boolean | null;
ReaderEndpoint?: string | null;
ReadReplicaIdentifiers: string[];
ReplicationSourceIdentifier?: string | null;
ScalingConfigurationInfo?: ScalingConfigurationInfo | null;
Status?: string | null;
StorageEncrypted?: boolean | null;
StorageType?: string | null;
TagList: Tag[];
VpcSecurityGroups: VpcSecurityGroupMembership[];
}

§Properties

§
ActivityStreamKinesisStreamName?: string | null
[src]

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

§
ActivityStreamKmsKeyId?: string | null
[src]

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?: ActivityStreamMode | null
[src]

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?: ActivityStreamStatus | null
[src]

The status of the database activity stream.

§
AllocatedStorage?: number | null
[src]

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.

§
AssociatedRoles: DBClusterRole[]
[src]

Provides 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?: Date | number | null
[src]

The time when a stopped DB cluster is restarted automatically.

§
AutoMinorVersionUpgrade?: boolean | null
[src]

A value that indicates that minor version patches are applied automatically.

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

§
AvailabilityZones: string[]
[src]

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

§
BacktrackConsumedChangeRecords?: number | null
[src]

The number of change records stored for Backtrack.

§
BacktrackWindow?: number | null
[src]

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

§
BackupRetentionPeriod?: number | null
[src]

Specifies the number of days for which automatic DB snapshots are retained.

§
Capacity?: number | null
[src]

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

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

§
CharacterSetName?: string | null
[src]

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

§
CloneGroupId?: string | null
[src]

Identifies the clone group to which the DB cluster is associated.

§
ClusterCreateTime?: Date | number | null
[src]

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

§
CopyTagsToSnapshot?: boolean | null
[src]

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

§
CrossAccountClone?: boolean | null
[src]

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

§
CustomEndpoints: string[]
[src]

Identifies all custom endpoints associated with the cluster.

§
DatabaseName?: string | null
[src]

Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.

§
DBClusterArn?: string | null
[src]

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

§
DBClusterIdentifier?: string | null
[src]

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

§
DBClusterInstanceClass?: string | null
[src]

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: DBClusterMember[]
[src]

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

§
DBClusterOptionGroupMemberships: DBClusterOptionGroupStatus[]
[src]

Provides the list of option group memberships for this DB cluster.

§
DBClusterParameterGroup?: string | null
[src]

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

§
DbClusterResourceId?: string | null
[src]

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?: string | null
[src]

Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.

§
DeletionProtection?: boolean | null
[src]

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

§
DomainMemberships: DomainMembership[]
[src]

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

§
EarliestBacktrackTime?: Date | number | null
[src]

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

§
EarliestRestorableTime?: Date | number | null
[src]

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

§
EnabledCloudwatchLogsExports: string[]
[src]

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?: string | null
[src]

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

§
Engine?: string | null
[src]

The name of the database engine to be used for this DB cluster.

§
EngineMode?: string | null
[src]

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

For more information, see CreateDBCluster.

§
EngineVersion?: string | null
[src]

Indicates the database engine version.

§
GlobalWriteForwardingRequested?: boolean | null
[src]

Specifies whether you have requested to enable write forwarding 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.

§
GlobalWriteForwardingStatus?: WriteForwardingStatus | null
[src]

Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.

§
HostedZoneId?: string | null
[src]

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

§
HttpEndpointEnabled?: boolean | null
[src]

A value that indicates whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.

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

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

§
IAMDatabaseAuthenticationEnabled?: boolean | null
[src]

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

§
Iops?: number | null
[src]

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

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

§
KmsKeyId?: string | null
[src]

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.

§
LatestRestorableTime?: Date | number | null
[src]

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

§
MasterUsername?: string | null
[src]

Contains the master username for the DB cluster.

§
MonitoringInterval?: number | null
[src]

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?: string | null
[src]

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?: boolean | null
[src]

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

§
PendingModifiedValues?: ClusterPendingModifiedValues | null
[src]

A value that specifies that changes to the DB cluster are pending. This element is only included when changes are pending. Specific changes are identified by subelements.

§
PercentProgress?: string | null
[src]

Specifies the progress of the operation as a percentage.

§
PerformanceInsightsEnabled?: boolean | null
[src]

True if Performance Insights is enabled for the DB cluster, and otherwise false.

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

§
PerformanceInsightsKMSKeyId?: string | null
[src]

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?: number | null
[src]

The amount of time, in days, to retain Performance Insights data. Valid values are 7 or 731 (2 years).

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

§
Port?: number | null
[src]

Specifies the port that the database engine is listening on.

§
PreferredBackupWindow?: string | null
[src]

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

§
PreferredMaintenanceWindow?: string | null
[src]

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

§
PubliclyAccessible?: boolean | null
[src]

Specifies the accessibility options for the DB instance.

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

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

For more information, see "CreateDBInstance".

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

§
ReaderEndpoint?: string | null
[src]

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: string[]
[src]

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

§
ReplicationSourceIdentifier?: string | null
[src]

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

§
ScalingConfigurationInfo?: ScalingConfigurationInfo | null
[src]
§
Status?: string | null
[src]

Specifies the current state of this DB cluster.

§
StorageEncrypted?: boolean | null
[src]

Specifies whether the DB cluster is encrypted.

§
StorageType?: string | null
[src]

The storage type associated with the DB cluster.

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

§
TagList: Tag[]
[src]
§
VpcSecurityGroups: VpcSecurityGroupMembership[]
[src]

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