Skip to content

DrdsDBProps

Properties for defining a DrdsDB.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-drds-drdsdb

Initializer

import com.aliyun.ros.cdk.drds.datasource.DrdsDBProps;
DrdsDBProps.builder()
    .drdsDatabaseName(java.lang.String)
    .drdsDatabaseName(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();

Properties

Name Type Description
drdsDatabaseName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property drdsDatabaseName: The name of the Drds database.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

drdsDatabaseNameRequired

public java.lang.Object getDrdsDatabaseName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property drdsDatabaseName: The name of the Drds database.


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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.