Class ServerlessClusterFromSnapshot
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.rds.ServerlessClusterFromSnapshot
- All Implemented Interfaces:
IResource,IConnectable,IServerlessCluster,ISecretAttachmentTarget,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:45.597Z")
@Stability(Stable)
public class ServerlessClusterFromSnapshot
extends Resource
implements IServerlessCluster
A Aurora Serverless v1 Cluster restored from a snapshot.
Example:
Vpc vpc;
ServerlessClusterFromSnapshot.Builder.create(this, "Cluster")
.engine(DatabaseClusterEngine.AURORA_MYSQL)
.vpc(vpc)
.snapshotIdentifier("mySnapshot")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forServerlessClusterFromSnapshot.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.rds.IServerlessCluster
IServerlessCluster.Jsii$Default, IServerlessCluster.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedServerlessClusterFromSnapshot(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedServerlessClusterFromSnapshot(software.amazon.jsii.JsiiObjectRef objRef) ServerlessClusterFromSnapshot(software.constructs.Construct scope, String id, ServerlessClusterFromSnapshotProps props) -
Method Summary
Modifier and TypeMethodDescriptionRenders the secret attachment target specifications.The ARN of the cluster.The endpoint to use for read/write operations.Identifier of the cluster.The endpoint to use for read/write operations.Access to the network connections.protected Booleanprotected CfnDBClusterPropsThe secret attached to this cluster.protected List<ISecurityGroup> grantDataApiAccess(IGrantable grantee) Grant the given identity to access to the Data API, including read access to the secret attached to the cluster if present.protected voidsetEnableDataApi(Boolean value) Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
ServerlessClusterFromSnapshot
protected ServerlessClusterFromSnapshot(software.amazon.jsii.JsiiObjectRef objRef) -
ServerlessClusterFromSnapshot
protected ServerlessClusterFromSnapshot(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ServerlessClusterFromSnapshot
@Stability(Stable) public ServerlessClusterFromSnapshot(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ServerlessClusterFromSnapshotProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
asSecretAttachmentTarget
Renders the secret attachment target specifications.- Specified by:
asSecretAttachmentTargetin interfaceISecretAttachmentTarget
-
grantDataApiAccess
Grant the given identity to access to the Data API, including read access to the secret attached to the cluster if present.- Specified by:
grantDataApiAccessin interfaceIServerlessCluster- Parameters:
grantee- The principal to grant access to. This parameter is required.
-
getClusterArn
The ARN of the cluster.- Specified by:
getClusterArnin interfaceIServerlessCluster
-
getClusterEndpoint
The endpoint to use for read/write operations.- Specified by:
getClusterEndpointin interfaceIServerlessCluster
-
getClusterIdentifier
Identifier of the cluster.- Specified by:
getClusterIdentifierin interfaceIServerlessCluster
-
getClusterReadEndpoint
The endpoint to use for read/write operations.- Specified by:
getClusterReadEndpointin interfaceIServerlessCluster
-
getConnections
Access to the network connections.- Specified by:
getConnectionsin interfaceIConnectable
-
getNewCfnProps
-
getSecurityGroups
-
getSecret
The secret attached to this cluster. -
getEnableDataApi
-
setEnableDataApi
-