Interface IDatabaseCluster

All Superinterfaces:
IConnectable, software.constructs.IConstruct, software.constructs.IDependable, 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.104.0 (build e79254c)", date="2024-12-17T21:37:29.346Z") @Stability(Stable) public interface IDatabaseCluster extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable, ISecretAttachmentTarget
Create a clustered database with a given number of instances.
  • Method Details

    • getClusterEndpoint

      @Stability(Stable) @NotNull Endpoint getClusterEndpoint()
      The endpoint to use for read/write operations.
    • getClusterIdentifier

      @Stability(Stable) @NotNull String getClusterIdentifier()
      Identifier of the cluster.
    • getClusterReadEndpoint

      @Stability(Stable) @NotNull Endpoint getClusterReadEndpoint()
      Endpoint to use for load-balanced read-only operations.
    • getInstanceEndpoints

      @Stability(Stable) @NotNull List<Endpoint> getInstanceEndpoints()
      Endpoints which address each individual replica.
    • getInstanceIdentifiers

      @Stability(Stable) @NotNull List<String> getInstanceIdentifiers()
      Identifiers of the replicas.
    • getSecurityGroupId

      @Stability(Stable) @NotNull String getSecurityGroupId()
      The security group for this database cluster.