Interface DatabaseInstanceLookupOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatabaseInstanceLookupOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:20.911Z")
@Stability(Stable)
public interface DatabaseInstanceLookupOptions
extends software.amazon.jsii.JsiiSerializable
Properties for looking up an existing DatabaseInstance.
Example:
Role myUserRole;
IDatabaseInstance dbFromLookup = DatabaseInstance.fromLookup(this, "dbFromLookup", DatabaseInstanceLookupOptions.builder()
.instanceIdentifier("instanceId")
.build());
// Grant a connection
dbFromLookup.grantConnect(myUserRole, "my-user-id");
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDatabaseInstanceLookupOptionsstatic final classAn implementation forDatabaseInstanceLookupOptions -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceIdentifier
The instance identifier of the DatabaseInstance. -
builder
-