DatabaseReference
- class aws_cdk.aws_lightsail.DatabaseReference(*, database_arn, relational_database_name)
Bases:
object
A reference to a Database resource.
- Parameters:
database_arn (
str
) – The ARN of the Database resource.relational_database_name (
str
) – The RelationalDatabaseName of the Database resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lightsail as lightsail database_reference = lightsail.DatabaseReference( database_arn="databaseArn", relational_database_name="relationalDatabaseName" )
Attributes
- database_arn
The ARN of the Database resource.
- relational_database_name
The RelationalDatabaseName of the Database resource.