Skip to content

IDrdsInstance

  • Extends: @alicloud/ros-cdk-core.IResource

  • Implemented By: @alicloud/ros-cdk-drds.datasource.DrdsInstance, @alicloud/ros-cdk-drds.datasource.IDrdsInstance

Represents a DrdsInstance.

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node for this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
attrCommodityCode string | @alicloud/ros-cdk-core.IResolvable Attribute CommodityCode: The commodity code of the service.
attrCreateTime string | @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The timestamp that indicates when the instance is created.
attrDescription string | @alicloud/ros-cdk-core.IResolvable Attribute Description: The description of the instance.
attrDrdsInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute DrdsInstanceId: The ID of the Drds instance.
attrExpireDate string | @alicloud/ros-cdk-core.IResolvable Attribute ExpireDate: The timestamp that indicates when the instance expires.
attrInstanceSeries string | @alicloud/ros-cdk-core.IResolvable Attribute InstanceSeries: The edition of the instance.
attrInstanceSpec string | @alicloud/ros-cdk-core.IResolvable Attribute InstanceSpec: The specification of the instance.
attrInstRole string | @alicloud/ros-cdk-core.IResolvable Attribute InstRole: The role of the instance.
attrLabel string | @alicloud/ros-cdk-core.IResolvable Attribute Label: The tag of the instance.
attrMachineType string | @alicloud/ros-cdk-core.IResolvable Attribute MachineType: The machine type of the instance.
attrMasterInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute MasterInstanceId: The ID of the primary instance.
attrMysqlVersion string | @alicloud/ros-cdk-core.IResolvable Attribute MysqlVersion: Engine version.
attrNetworkType string | @alicloud/ros-cdk-core.IResolvable Attribute NetworkType: The network type of the instance.
attrOrderInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute OrderInstanceId: The ID of the purchased instance.
attrReadOnlyDbInstanceIds string | @alicloud/ros-cdk-core.IResolvable Attribute ReadOnlyDBInstanceIds: The IDs of read-only instances that are associated with the instance.
attrResourceGroupId string | @alicloud/ros-cdk-core.IResolvable Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
attrStorageType string | @alicloud/ros-cdk-core.IResolvable Attribute StorageType: The storage type of the Drds database.
attrType string | @alicloud/ros-cdk-core.IResolvable Attribute Type: The type of the instance.
attrVersion string | @alicloud/ros-cdk-core.IResolvable Attribute Version: The version of the instance.
attrVersionAction string | @alicloud/ros-cdk-core.IResolvable Attribute VersionAction: Indicates whether the version of the instance can be upgraded.
attrVips string | @alicloud/ros-cdk-core.IResolvable Attribute Vips: The list of returned virtual IP addresses (VIPs).
attrVpcCloudInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute VpcCloudInstanceId: The ID of the instance that is deployed in the VPC.
attrZoneId string | @alicloud/ros-cdk-core.IResolvable Attribute ZoneId: The ID of the zone in which the resource is located.
props DrdsInstanceProps No description.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/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 readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrCommodityCodeRequired

public readonly attrCommodityCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute CommodityCode: The commodity code of the service.


attrCreateTimeRequired

public readonly attrCreateTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute CreateTime: The timestamp that indicates when the instance is created.


attrDescriptionRequired

public readonly attrDescription: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Description: The description of the instance.


attrDrdsInstanceIdRequired

public readonly attrDrdsInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute DrdsInstanceId: The ID of the Drds instance.


attrExpireDateRequired

public readonly attrExpireDate: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ExpireDate: The timestamp that indicates when the instance expires.


attrInstanceSeriesRequired

public readonly attrInstanceSeries: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute InstanceSeries: The edition of the instance.

Valid values: starter: Starter Edition enterprise: Enterprise Edition standard: Standard Edition


attrInstanceSpecRequired

public readonly attrInstanceSpec: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute InstanceSpec: The specification of the instance.


attrInstRoleRequired

public readonly attrInstRole: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute InstRole: The role of the instance.

Valid values: MASTER: The instance is a primary instance. SLAVE: The instance is a read-only instance to analyze complex queries. SLAVE_FLOW: The instance is a read-only instance for high-concurrency scenarios.


attrLabelRequired

public readonly attrLabel: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Label: The tag of the instance.

Valid values: NORMAL: The instance is a standard instance. HA: The instance is a high-availability (HA) instance. VPC: The instance is a VPC-based instance.


attrMachineTypeRequired

public readonly attrMachineType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute MachineType: The machine type of the instance.

Valid value: ecs.


attrMasterInstanceIdRequired

public readonly attrMasterInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute MasterInstanceId: The ID of the primary instance.


attrMysqlVersionRequired

public readonly attrMysqlVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute MysqlVersion: Engine version.


attrNetworkTypeRequired

public readonly attrNetworkType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute NetworkType: The network type of the instance.

Valid values: CLASSIC VPC


attrOrderInstanceIdRequired

public readonly attrOrderInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute OrderInstanceId: The ID of the purchased instance.


attrReadOnlyDbInstanceIdsRequired

public readonly attrReadOnlyDbInstanceIds: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ReadOnlyDBInstanceIds: The IDs of read-only instances that are associated with the instance.


attrResourceGroupIdRequired

public readonly attrResourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.


attrStorageTypeRequired

public readonly attrStorageType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute StorageType: The storage type of the Drds database.

Valid values: RDS PolarDB


attrTypeRequired

public readonly attrType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Type: The type of the instance.

Valid values: PUBLIC: The returned instance is a shared instance. PRIVATE: The returned instance is a dedicated instance.


attrVersionRequired

public readonly attrVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Version: The version of the instance.


attrVersionActionRequired

public readonly attrVersionAction: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute VersionAction: Indicates whether the version of the instance can be upgraded.


attrVipsRequired

public readonly attrVips: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Vips: The list of returned virtual IP addresses (VIPs).


attrVpcCloudInstanceIdRequired

public readonly attrVpcCloudInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute VpcCloudInstanceId: The ID of the instance that is deployed in the VPC.


attrZoneIdRequired

public readonly attrZoneId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ZoneId: The ID of the zone in which the resource is located.


propsRequired

public readonly props: DrdsInstanceProps;