InstanceProps
Properties for defining a Instance.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-redis-instance
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkredis/datasource"
&datasource.InstanceProps {
DbInstanceId: interface{},
RefreshOptions: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DbInstanceId |
interface{} |
Property dbInstanceId: Database instance id. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
DbInstanceIdRequired
DbInstanceId interface{}
- Type: interface{}
Property dbInstanceId: Database instance id.
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.