Skip to content

DBInstance

  • Implements: @alicloud/ros-cdk-rds.datasource.IDBInstance

This class encapsulates and extends the ROS resource type DATASOURCE::RDS::DBInstance.

Initializers

import { datasource } from '@alicloud/ros-cdk-rds'
new datasource.DBInstance(scope: Construct, id: string, props?: DBInstanceProps, enableResourcePropertyConstraint?: boolean)
Name Type Description
scope @alicloud/ros-cdk-core.Construct No description.
id string No description.
props DBInstanceProps No description.
enableResourcePropertyConstraint boolean No description.

scopeRequired

  • Type: @alicloud/ros-cdk-core.Construct

idRequired

  • Type: string

propsOptional


enableResourcePropertyConstraintOptional

  • Type: boolean

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
fetchCondition No description.
fetchDependency No description.
fetchResourceDesc No description.
getAtt No description.
setMetadata No description.

toString

public toString(): string

Returns a string representation of this construct.

synthesize

public synthesize(session: ISynthesisSession): void

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: @alicloud/ros-cdk-core.ISynthesisSession

The synthesis session.


addCondition

public addCondition(condition: RosCondition): void

conditionRequired

  • Type: @alicloud/ros-cdk-core.RosCondition

addCount

public addCount(count: number | IResolvable): void

countRequired

  • Type: number | @alicloud/ros-cdk-core.IResolvable

addDependency

public addDependency(resource: Resource): void

resourceRequired

  • Type: @alicloud/ros-cdk-core.Resource

addResourceDesc

public addResourceDesc(desc: string): void

descRequired

  • Type: string

applyRemovalPolicy

public applyRemovalPolicy(policy: RemovalPolicy): void

policyRequired

  • Type: @alicloud/ros-cdk-core.RemovalPolicy

fetchCondition

public fetchCondition(): RosCondition

fetchDependency

public fetchDependency(): string[]

fetchResourceDesc

public fetchResourceDesc(): string

getAtt

public getAtt(name: string): IResolvable

nameRequired

  • Type: string

setMetadata

public setMetadata(key: string, value: any): void

keyRequired

  • Type: string

valueRequired

  • Type: any

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import { datasource } from '@alicloud/ros-cdk-rds'
datasource.DBInstance.isConstruct(x: any)

Return whether the given object is a Construct.

xRequired

  • Type: any

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node associated with this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
ref string No description.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
resource @alicloud/ros-cdk-core.RosResource No description.
attrAccountMaxQuantity string | @alicloud/ros-cdk-core.IResolvable Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance.
attrAdvancedFeatures string | @alicloud/ros-cdk-core.IResolvable Attribute AdvancedFeatures: The advanced features that are enabled for the instance.
attrAutoUpgradeMinorVersion string | @alicloud/ros-cdk-core.IResolvable Attribute AutoUpgradeMinorVersion: The method that is used to update the minor engine version of the instance.
attrAvailabilityValue string | @alicloud/ros-cdk-core.IResolvable Attribute AvailabilityValue: The availability status of the instance in percentage.
attrBabelfishConfig string | @alicloud/ros-cdk-core.IResolvable Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance.
attrCategory string | @alicloud/ros-cdk-core.IResolvable Attribute Category: The RDS edition of the instance.
attrCollation string | @alicloud/ros-cdk-core.IResolvable Attribute Collation: The character set collation of the instance.
attrConnectionMode string | @alicloud/ros-cdk-core.IResolvable Attribute ConnectionMode: The connection mode of the instance.
attrConnectionString string | @alicloud/ros-cdk-core.IResolvable Attribute ConnectionString: The internal endpoint of the instance.
attrConsoleVersion string | @alicloud/ros-cdk-core.IResolvable Attribute ConsoleVersion: The type of the proxy that is used by the instance.
attrCreationTime string | @alicloud/ros-cdk-core.IResolvable Attribute CreationTime: The creation time.
attrCurrentKernelVersion string | @alicloud/ros-cdk-core.IResolvable Attribute CurrentKernelVersion: The minor engine version of the instance.
attrDbClusterNodes string | @alicloud/ros-cdk-core.IResolvable Attribute DBClusterNodes: The information about the node in the cluster.
attrDbInstanceClass string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceClass: The instance type of the instance.
attrDbInstanceClassType string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceClassType: The instance family to which the instance belongs.
attrDbInstanceCpu string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceCPU: The number of CPU cores.
attrDbInstanceDescription string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceDescription: The description of the instance.
attrDbInstanceDiskUsed string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceDiskUsed: The disk usage of the instance.
attrDbInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceId: The instance ID.
attrDbInstanceMemory string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceMemory: The memory capacity of the instance.
attrDbInstanceNetType string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceNetType: The type of the network over which the instance is connected.
attrDbInstanceStatus string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceStatus: The status of the instance.
attrDbInstanceStorage string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceStorage: The storage capacity of the instance.
attrDbInstanceStorageType string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceStorageType: The storage type of the instance.
attrDbInstanceType string | @alicloud/ros-cdk-core.IResolvable Attribute DBInstanceType: The type of the instance.
attrDbMaxQuantity string | @alicloud/ros-cdk-core.IResolvable Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance.
attrDedicatedHostGroupId string | @alicloud/ros-cdk-core.IResolvable Attribute DedicatedHostGroupId: The ID of the dedicated cluster.
attrDeletionProtection string | @alicloud/ros-cdk-core.IResolvable Attribute DeletionProtection: Indicates whether the release protection feature is enabled.
attrEngine string | @alicloud/ros-cdk-core.IResolvable Attribute Engine: The database engine of the instance.
attrEngineVersion string | @alicloud/ros-cdk-core.IResolvable Attribute EngineVersion: The database engine version.
attrExpireTime string | @alicloud/ros-cdk-core.IResolvable Attribute ExpireTime: The expiration time.
attrExtra string | @alicloud/ros-cdk-core.IResolvable Attribute Extra: The extended information of the instance.
attrGeneralGroupName string | @alicloud/ros-cdk-core.IResolvable Attribute GeneralGroupName: The name of the dedicated cluster to which the instance belongs.
attrGuardDbInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance.
attrIncrementSourceDbInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute IncrementSourceDBInstanceId: The ID of the instance from which incremental data comes.
attrInstanceNetworkType string | @alicloud/ros-cdk-core.IResolvable Attribute InstanceNetworkType: The network type of the instance.
attrInstructionSetArch string | @alicloud/ros-cdk-core.IResolvable Attribute InstructionSetArch: The architecture type of the instance.
attrIpType string | @alicloud/ros-cdk-core.IResolvable Attribute IPType: The type of the IP address.
attrLatestKernelVersion string | @alicloud/ros-cdk-core.IResolvable Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance.
attrLockMode string | @alicloud/ros-cdk-core.IResolvable Attribute LockMode: The lock mode of the instance.
attrLockReason string | @alicloud/ros-cdk-core.IResolvable Attribute LockReason: The reason why the instance was locked.
attrMaintainTime string | @alicloud/ros-cdk-core.IResolvable Attribute MaintainTime: The maintenance window of the instance.
attrMasterInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute MasterInstanceId: The ID of the primary instance.
attrMasterZone string | @alicloud/ros-cdk-core.IResolvable Attribute MasterZone: The zone ID of the primary instance.
attrMaxConnections string | @alicloud/ros-cdk-core.IResolvable Attribute MaxConnections: The maximum number of concurrent connections.
attrMaxIombps string | @alicloud/ros-cdk-core.IResolvable Attribute MaxIOMBPS: The maximum I/O throughput.
attrMaxIops string | @alicloud/ros-cdk-core.IResolvable Attribute MaxIOPS: The maximum number of I/O requests per second.
attrPayType string | @alicloud/ros-cdk-core.IResolvable Attribute PayType: The billing method of the instance.
attrPgBouncerEnabled string | @alicloud/ros-cdk-core.IResolvable Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled.
attrPort string | @alicloud/ros-cdk-core.IResolvable Attribute Port: The port that is used to connect to the instance over an internal network.
attrProxyType string | @alicloud/ros-cdk-core.IResolvable Attribute ProxyType: The type of the proxy that is supported by the instance.
attrReadOnlyDbInstanceIds string | @alicloud/ros-cdk-core.IResolvable Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance.
attrReadonlyInstanceSqlDelayedTime string | @alicloud/ros-cdk-core.IResolvable Attribute ReadonlyInstanceSQLDelayedTime: The latency at which the system replicates data to read-only instances.
attrResourceGroupId string | @alicloud/ros-cdk-core.IResolvable Attribute ResourceGroupId: The resource group ID.
attrSecurityIpList string | @alicloud/ros-cdk-core.IResolvable Attribute SecurityIPList: The IP addresses in the IP address whitelist.
attrSecurityIpMode string | @alicloud/ros-cdk-core.IResolvable Attribute SecurityIPMode: The whitelist mode of the instance.
attrServerlessConfig string | @alicloud/ros-cdk-core.IResolvable Attribute ServerlessConfig: The settings of the serverless instance.
attrSlaveZones string | @alicloud/ros-cdk-core.IResolvable Attribute SlaveZones: The information about the zone of the secondary instance.
attrSuperPermissionMode string | @alicloud/ros-cdk-core.IResolvable Attribute SuperPermissionMode: Indicates whether the instance supports superuser accounts, such as the system administrator (SA) account, the Active Directory (AD) account, and the host account.
attrTempDbInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance.
attrTimeZone string | @alicloud/ros-cdk-core.IResolvable Attribute TimeZone: The time zone of the instance.
attrTips string | @alicloud/ros-cdk-core.IResolvable Attribute Tips: The information about the exception that is detected on the instance.
attrTipsLevel string | @alicloud/ros-cdk-core.IResolvable Attribute TipsLevel: The severity level of the exception that is detected on the instance.
attrVpcCloudInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute VpcCloudInstanceId: The VPC ID.
attrVpcId string | @alicloud/ros-cdk-core.IResolvable Attribute VpcId: The virtual private cloud (VPC) ID of the instance.
attrVSwitchId string | @alicloud/ros-cdk-core.IResolvable Attribute VSwitchId: The vSwitch ID.
attrZoneId string | @alicloud/ros-cdk-core.IResolvable Attribute ZoneId: The zone ID.
props DBInstanceProps No description.

nodeRequired

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

The construct tree node associated with 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.


refRequired

public readonly ref: string;
  • Type: string

stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


resourceOptional

public readonly resource: RosResource;
  • Type: @alicloud/ros-cdk-core.RosResource

attrAccountMaxQuantityRequired

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

Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance.


attrAdvancedFeaturesRequired

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

Attribute AdvancedFeatures: The advanced features that are enabled for the instance.

If multiple advanced features are enabled, the advanced features are separated by commas (,). This parameter is available only to instances that run SQL Server. Valid values: LinkedServer DistributeTransaction


attrAutoUpgradeMinorVersionRequired

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

Attribute AutoUpgradeMinorVersion: The method that is used to update the minor engine version of the instance.

Valid values: Auto: automatic update. Manual: manual update. The minor engine version of the instance is forcefully updated only when the in-use minor engine version is phased out.


attrAvailabilityValueRequired

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

Attribute AvailabilityValue: The availability status of the instance in percentage.


attrBabelfishConfigRequired

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

Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance.


attrCategoryRequired

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

Attribute Category: The RDS edition of the instance.

Valid values: Basic: RDS Basic Edition HighAvailability: RDS High-availability Edition cluster: RDS Cluster Edition for ApsaraDB RDS for MySQL AlwaysOn: RDS Cluster Edition for ApsaraDB RDS for SQL Server Finance: RDS Enterprise Edition Serverless_basic: RDS Basic Edition for serverless instances


attrCollationRequired

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

Attribute Collation: The character set collation of the instance.


attrConnectionModeRequired

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

Attribute ConnectionMode: The connection mode of the instance.

Valid values: Standard: standard mode Safe: database proxy mode


attrConnectionStringRequired

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

Attribute ConnectionString: The internal endpoint of the instance.


attrConsoleVersionRequired

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

Attribute ConsoleVersion: The type of the proxy that is used by the instance.

Valid values: 1: shared proxy 2: dedicated proxy


attrCreationTimeRequired

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

Attribute CreationTime: The creation time.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


attrCurrentKernelVersionRequired

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

Attribute CurrentKernelVersion: The minor engine version of the instance.


attrDbClusterNodesRequired

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

Attribute DBClusterNodes: The information about the node in the cluster.


attrDbInstanceClassRequired

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

Attribute DBInstanceClass: The instance type of the instance.


attrDbInstanceClassTypeRequired

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

Attribute DBInstanceClassType: The instance family to which the instance belongs.

Valid values: s: shared instance family x: general-purpose instance family d: dedicated instance family h: dedicated host instance family


attrDbInstanceCpuRequired

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

Attribute DBInstanceCPU: The number of CPU cores.


attrDbInstanceDescriptionRequired

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

Attribute DBInstanceDescription: The description of the instance.


attrDbInstanceDiskUsedRequired

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

Attribute DBInstanceDiskUsed: The disk usage of the instance.


attrDbInstanceIdRequired

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

Attribute DBInstanceId: The instance ID.


attrDbInstanceMemoryRequired

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

Attribute DBInstanceMemory: The memory capacity of the instance.

Unit: MB.


attrDbInstanceNetTypeRequired

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

Attribute DBInstanceNetType: The type of the network over which the instance is connected.

Valid values: Internet: Internet Intranet: internal network


attrDbInstanceStatusRequired

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

Attribute DBInstanceStatus: The status of the instance.


attrDbInstanceStorageRequired

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

Attribute DBInstanceStorage: The storage capacity of the instance.

Unit: GB.


attrDbInstanceStorageTypeRequired

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

Attribute DBInstanceStorageType: The storage type of the instance.

Valid values: local_ssd and ephemeral_ssd: local SSD cloud_ssd: standard SSD cloud_essd: enhanced SSD (ESSD)


attrDbInstanceTypeRequired

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

Attribute DBInstanceType: The type of the instance.

Valid values: Primary: primary instance Readonly: read-only instance Guard: disaster recovery instance Temp: temporary instance


attrDbMaxQuantityRequired

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

Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance.


attrDedicatedHostGroupIdRequired

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

Attribute DedicatedHostGroupId: The ID of the dedicated cluster.


attrDeletionProtectionRequired

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

Attribute DeletionProtection: Indicates whether the release protection feature is enabled.

Valid values: true false


attrEngineRequired

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

Attribute Engine: The database engine of the instance.

Valid values: MySQL PostgreSQL SQLServer MariaDB


attrEngineVersionRequired

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

Attribute EngineVersion: The database engine version.


attrExpireTimeRequired

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

Attribute ExpireTime: The expiration time.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. Note: Pay-as-you-go instances never expire.


attrExtraRequired

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

Attribute Extra: The extended information of the instance.


attrGeneralGroupNameRequired

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

Attribute GeneralGroupName: The name of the dedicated cluster to which the instance belongs.

This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.


attrGuardDbInstanceIdRequired

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

Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance.


attrIncrementSourceDbInstanceIdRequired

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

Attribute IncrementSourceDBInstanceId: The ID of the instance from which incremental data comes.

The incremental data of a disaster recovery instance or read-only instance comes from its primary instance. If this parameter is not returned, the instance is a primary instance.


attrInstanceNetworkTypeRequired

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

Attribute InstanceNetworkType: The network type of the instance.

Valid values: Classic VPC


attrInstructionSetArchRequired

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

Attribute InstructionSetArch: The architecture type of the instance.

Valid values: x86 arm


attrIpTypeRequired

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

Attribute IPType: The type of the IP address.

Only IPv4 addresses are supported.


attrLatestKernelVersionRequired

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

Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance.


attrLockModeRequired

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

Attribute LockMode: The lock mode of the instance.

Valid values: Unlock: The instance is not locked. ManualLock: The instance is manually locked. LockByExpiration: The instance is automatically locked due to instance expiration. LockByRestoration: The instance is automatically locked due to instance restoration. LockByDiskQuota: The instance is automatically locked due to exhausted storage space. LockReadInstanceByDiskQuota: The instance is a read-only instance and is automatically locked due to exhausted storage.


attrLockReasonRequired

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

Attribute LockReason: The reason why the instance was locked.


attrMaintainTimeRequired

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

Attribute MaintainTime: The maintenance window of the instance.

The time is displayed in UTC. Take note that the maintenance window displayed in the ApsaraDB RDS console is equal to the value of this parameter plus 8 hours.


attrMasterInstanceIdRequired

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

Attribute MasterInstanceId: The ID of the primary instance.

Note: If this parameter is not returned, the instance is the primary instance.


attrMasterZoneRequired

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

Attribute MasterZone: The zone ID of the primary instance.


attrMaxConnectionsRequired

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

Attribute MaxConnections: The maximum number of concurrent connections.


attrMaxIombpsRequired

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

Attribute MaxIOMBPS: The maximum I/O throughput.

Unit: MB/s.


attrMaxIopsRequired

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

Attribute MaxIOPS: The maximum number of I/O requests per second.


attrPayTypeRequired

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

Attribute PayType: The billing method of the instance.

Valid values: Postpaid: pay-as-you-go Prepaid: subscription


attrPgBouncerEnabledRequired

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

Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled.


attrPortRequired

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

Attribute Port: The port that is used to connect to the instance over an internal network.


attrProxyTypeRequired

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

Attribute ProxyType: The type of the proxy that is supported by the instance.

Valid values: 0: The instance does not support database proxies. 1: The instance supports shared proxies, with which the instance runs in multi-tenant mode. 2: The instance supports dedicated proxies, with which the instance runs in single-tenant mode.


attrReadOnlyDbInstanceIdsRequired

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

Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance.


attrReadonlyInstanceSqlDelayedTimeRequired

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

Attribute ReadonlyInstanceSQLDelayedTime: The latency at which the system replicates data to read-only instances.

The system replicates data from the primary instance to the read-only instances at the latency that is specified by the ReadonlyInstanceSQLDelayedTime parameter. Unit: seconds.


attrResourceGroupIdRequired

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

Attribute ResourceGroupId: The resource group ID.


attrSecurityIpListRequired

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

Attribute SecurityIPList: The IP addresses in the IP address whitelist.


attrSecurityIpModeRequired

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

Attribute SecurityIPMode: The whitelist mode of the instance.

Valid values: normal: standard whitelist mode safety: enhanced whitelist mode


attrServerlessConfigRequired

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

Attribute ServerlessConfig: The settings of the serverless instance.


attrSlaveZonesRequired

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

Attribute SlaveZones: The information about the zone of the secondary instance.


attrSuperPermissionModeRequired

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

Attribute SuperPermissionMode: Indicates whether the instance supports superuser accounts, such as the system administrator (SA) account, the Active Directory (AD) account, and the host account.

Enable Disabled


attrTempDbInstanceIdRequired

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

Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance.


attrTimeZoneRequired

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

Attribute TimeZone: The time zone of the instance.


attrTipsRequired

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

Attribute Tips: The information about the exception that is detected on the instance.

This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.


attrTipsLevelRequired

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

Attribute TipsLevel: The severity level of the exception that is detected on the instance.

This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition. Valid values: 1: The instance is normal. 2: The specifications of the read-only instances do not match the specifications of the primary instance. You must adjust the specifications of these instances based on your business requirements.


attrVpcCloudInstanceIdRequired

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

Attribute VpcCloudInstanceId: The VPC ID.


attrVpcIdRequired

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

Attribute VpcId: The virtual private cloud (VPC) ID of the instance.


attrVSwitchIdRequired

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

Attribute VSwitchId: The vSwitch ID.


attrZoneIdRequired

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

Attribute ZoneId: The zone ID.


propsRequired

public readonly props: DBInstanceProps;