Interface IDatabaseCluster

All Superinterfaces:
IConnectable, software.constructs.IConstruct, software.constructs.IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IDatabaseCluster.Jsii$Default
All Known Implementing Classes:
DatabaseCluster, DatabaseClusterBase, IDatabaseCluster.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:41.629Z") @Stability(Experimental) public interface IDatabaseCluster extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable
(experimental) Create a clustered database with a given number of instances.
  • Method Details

    • getClusterEndpoint

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

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

      @Stability(Experimental) @NotNull Endpoint getClusterReadEndpoint()
      (experimental) Endpoint to use for load-balanced read-only operations.
    • getClusterResourceIdentifier

      @Stability(Experimental) @NotNull String getClusterResourceIdentifier()
      (experimental) Resource identifier of the cluster.
    • grant

      @Stability(Experimental) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull @NotNull String... actions)
      (experimental) Grant the given identity the specified actions.

      Parameters:
      grantee - the identity to be granted the actions. This parameter is required.
      actions - the data-access actions. This parameter is required.
      See Also:
    • grantConnect

      @Stability(Experimental) @NotNull Grant grantConnect(@NotNull IGrantable grantee)
      (experimental) Grant the given identity connection access to the database.

      Parameters:
      grantee - This parameter is required.
    • metric

      @Stability(Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
      (experimental) Return the given named metric associated with this DatabaseCluster instance.

      Parameters:
      metricName - This parameter is required.
      props -
      See Also:
    • metric

      @Stability(Experimental) @NotNull Metric metric(@NotNull String metricName)
      (experimental) Return the given named metric associated with this DatabaseCluster instance.

      Parameters:
      metricName - This parameter is required.
      See Also: