Interface IDatabaseCluster
- All Superinterfaces:
IConnectable,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,ISecretAttachmentTarget,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IDatabaseCluster.Jsii$Default
- All Known Implementing Classes:
DatabaseCluster,IDatabaseCluster.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:02.603Z")
@Stability(Stable)
public interface IDatabaseCluster
extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable, ISecretAttachmentTarget
Create a clustered database with a given number of instances.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIDatabaseCluster.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe endpoint to use for read/write operations.Identifier of the cluster.Endpoint to use for load-balanced read-only operations.Endpoints which address each individual replica.Identifiers of the replicas.The security group for this database cluster.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnectionsMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.services.secretsmanager.ISecretAttachmentTarget
asSecretAttachmentTargetMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterEndpoint
The endpoint to use for read/write operations. -
getClusterIdentifier
Identifier of the cluster. -
getClusterReadEndpoint
Endpoint to use for load-balanced read-only operations. -
getInstanceEndpoints
Endpoints which address each individual replica. -
getInstanceIdentifiers
Identifiers of the replicas. -
getSecurityGroupId
The security group for this database cluster.
-