Interface IServerlessCluster
- All Superinterfaces:
IConnectable,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,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.120.0 (build 192dc88)",
date="2025-12-12T17:54:20.961Z")
@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.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, 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.
-