Interface DatabaseClusterLookupOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatabaseClusterLookupOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:43.815Z")
@Stability(Stable)
public interface DatabaseClusterLookupOptions
extends software.amazon.jsii.JsiiSerializable
Properties for looking up an existing DatabaseCluster.
Example:
Role myUserRole;
IDatabaseCluster clusterFromLookup = DatabaseCluster.fromLookup(this, "ClusterFromLookup", DatabaseClusterLookupOptions.builder()
.clusterIdentifier("my-cluster-id")
.build());
// Grant a connection
clusterFromLookup.grantConnect(myUserRole, "my-user-id");
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDatabaseClusterLookupOptionsstatic final classAn implementation forDatabaseClusterLookupOptions -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterIdentifier
The cluster identifier of the DatabaseCluster. -
builder
-