Skip to content

DrdsInstancesProps

Properties for defining a DrdsInstances.

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

Initializer

import com.aliyun.ros.cdk.drds.datasource.DrdsInstancesProps;
DrdsInstancesProps.builder()
//  .description(java.lang.String)
//  .description(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .type(java.lang.String)
//  .type(IResolvable)
    .build();

Properties

Name Type Description
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Example description.
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.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: Instance type.

descriptionOptional

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

Property description: Example description.


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.

resourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group.


typeOptional

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

Property type: Instance type.

Enumeration Value: 1: PRIVATE 0: PUBLIC