interface DatabaseReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lightsail.DatabaseReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslightsail#DatabaseReference |
Java | software.amazon.awscdk.services.lightsail.DatabaseReference |
Python | aws_cdk.aws_lightsail.DatabaseReference |
TypeScript | aws-cdk-lib » aws_lightsail » DatabaseReference |
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 { aws_lightsail as lightsail } from 'aws-cdk-lib';
const databaseReference: lightsail.DatabaseReference = {
databaseArn: 'databaseArn',
relationalDatabaseName: 'relationalDatabaseName',
};
Properties
| Name | Type | Description |
|---|---|---|
| database | string | The ARN of the Database resource. |
| relational | string | The RelationalDatabaseName of the Database resource. |
databaseArn
Type:
string
The ARN of the Database resource.
relationalDatabaseName
Type:
string
The RelationalDatabaseName of the Database resource.

.NET
Go
Java
Python
TypeScript