Interface DatabaseReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatabaseReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-15T14:52:01.744Z")
@Stability(Stable)
public interface DatabaseReference
extends software.amazon.jsii.JsiiSerializable
A reference to a Database resource.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lightsail.*; DatabaseReference databaseReference = DatabaseReference.builder() .databaseArn("databaseArn") .relationalDatabaseName("relationalDatabaseName") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forDatabaseReference
static final class
An implementation forDatabaseReference
-
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseReference.Builder
builder()
The ARN of the Database resource.The RelationalDatabaseName of the Database resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatabaseArn
The ARN of the Database resource. -
getRelationalDatabaseName
The RelationalDatabaseName of the Database resource. -
builder
- Returns:
- a
DatabaseReference.Builder
ofDatabaseReference
-