Interface IServerlessCluster

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.202Z") @Stability(Stable) public interface IServerlessCluster extends, 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.

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