Interface IDatabaseCluster

All Superinterfaces:
IConnectable, IConstruct, software.constructs.IConstruct, 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.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.919Z") @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.