Skip to content

IDrdsDB

  • Extends: com.aliyun.ros.cdk.core.IResource

  • Implemented By: com.aliyun.ros.cdk.drds.datasource.DrdsDB, com.aliyun.ros.cdk.drds.datasource.IDrdsDB

Represents a DrdsDB.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: Database creation timestamp.
attrDrdsDatabaseName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DrdsDatabaseName: The name of the Drds database.
attrInstRole java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstRole: Database type: MASTER primary instance, SLAVE read-only instance.
attrSchema java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Schema: The schema ID that is assigned to the partitioned database by the system.
attrSplitMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SplitMode: The partition mode of the database.Valid values: HORIZONTAL: The database is horizontally partitioned. VERTICAL: The database is vertically partitioned.
attrStorageType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StorageType: The storage type of the Drds database.
props DrdsDBProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrCreateTimeRequired

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

Attribute CreateTime: Database creation timestamp.


attrDrdsDatabaseNameRequired

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

Attribute DrdsDatabaseName: The name of the Drds database.


attrInstRoleRequired

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

Attribute InstRole: Database type: MASTER primary instance, SLAVE read-only instance.


attrSchemaRequired

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

Attribute Schema: The schema ID that is assigned to the partitioned database by the system.


attrSplitModeRequired

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

Attribute SplitMode: The partition mode of the database.Valid values: HORIZONTAL: The database is horizontally partitioned. VERTICAL: The database is vertically partitioned.


attrStorageTypeRequired

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

Attribute StorageType: The storage type of the Drds database.

Valid values: RDS PolarDB


propsRequired

public DrdsDBProps getProps();