DatabaseReference
- class aws_cdk.interfaces.aws_lightsail.DatabaseReference(*, database_arn, relational_database_name)
Bases:
objectA 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.interfaces import aws_lightsail as interfaces_aws_lightsail database_reference = interfaces_aws_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.