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.116.0 (build 0eddcff)",
date="2025-10-24T13:34:45.558Z")
@Stability(Stable)
public interface IServerlessCluster
extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable, ISecretAttachmentTarget
Interface representing a serverless database cluster.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIServerlessCluster.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the cluster.The endpoint to use for read/write operations.Identifier of the cluster.Endpoint to use for load-balanced read-only operations.grantDataApiAccess(IGrantable grantee) Grant the given identity to access to the Data API.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnectionsMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.awscdk.services.secretsmanager.ISecretAttachmentTarget
asSecretAttachmentTargetMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterArn
The ARN of the cluster. -
getClusterEndpoint
The endpoint to use for read/write operations. -
getClusterIdentifier
Identifier of the cluster. -
getClusterReadEndpoint
Endpoint to use for load-balanced read-only operations. -
grantDataApiAccess
Grant the given identity to access to the Data API.- Parameters:
grantee- The principal to grant access to. This parameter is required.
-