Interface DatabaseReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatabaseReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:44.789Z")
@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 classA builder forDatabaseReferencestatic final classAn implementation forDatabaseReference -
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseReference.Builderbuilder()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.BuilderofDatabaseReference
-