Skip to content

DatabasesProps

Properties for defining a Databases.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-rds-databases

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrds/datasource"
&datasource.DatabasesProps {
    DbInstanceId: interface{},
    DbName: interface{},
    DbStatus: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
DbInstanceId interface{} Property dbInstanceId: The ID of the RDS instance.
DbName interface{} Property dbName: The names of the databases whose information you want to query.
DbStatus interface{} Property dbStatus: The status of the databases whose information you want to query.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

DbInstanceIdRequired

DbInstanceId interface{}
  • Type: interface{}

Property dbInstanceId: The ID of the RDS instance.


DbNameOptional

DbName interface{}
  • Type: interface{}

Property dbName: The names of the databases whose information you want to query.


DbStatusOptional

DbStatus interface{}
  • Type: interface{}

Property dbStatus: The status of the databases whose information you want to query.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.