Interface IServerlessCluster

All Superinterfaces:
IConnectable, software.constructs.IConstruct, software.constructs.IDependable, IResource, ISecretAttachmentTarget, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IServerlessCluster.Jsii$Default
All Known Implementing Classes:
IServerlessCluster.Jsii$Proxy, ServerlessCluster, ServerlessClusterFromSnapshot

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-11T03:46:00.268Z") @Stability(Stable) public interface IServerlessCluster extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable, ISecretAttachmentTarget
Interface representing a serverless database cluster.
  • Method Details

    • getClusterArn

      @Stability(Stable) @NotNull String getClusterArn()
      The ARN of the cluster.
    • 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.
    • grantDataApiAccess

      @Stability(Stable) @NotNull Grant grantDataApiAccess(@NotNull IGrantable grantee)
      Grant the given identity to access to the Data API.

      Parameters:
      grantee - The principal to grant access to. This parameter is required.