Skip to content

DBInstanceProps

Properties for defining a DBInstance.

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

Initializer

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

Properties

Name Type Description
DbInstanceId interface{} Property dbInstanceId: The ID of the instance.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

DbInstanceIdOptional

DbInstanceId interface{}
  • Type: interface{}

Property dbInstanceId: The ID of the instance.


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.