DBInstance
- Implements: com.aliyun.ros.cdk.rds.datasource.IDBInstance
This class encapsulates and extends the ROS resource type DATASOURCE::RDS::DBInstance.
Initializers
import com.aliyun.ros.cdk.rds.datasource.DBInstance;
DBInstance.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
// .dbInstanceId(java.lang.String)
// .dbInstanceId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
| Name | Type | Description |
|---|---|---|
scope | com.aliyun.ros.cdk.core.Construct | No description. |
id | java.lang.String | No description. |
enableResourcePropertyConstraint | java.lang.Boolean | No description. |
dbInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstanceId: The ID of the instance. |
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. |
scopeRequired
- Type: com.aliyun.ros.cdk.core.Construct
idRequired
- Type: java.lang.String
enableResourcePropertyConstraintOptional
- Type: java.lang.Boolean
dbInstanceIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceId: The ID of the instance.
refreshOptionsOptional
- 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.
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 java.lang.String toString()
Returns a string representation of this construct.
synthesize
public void synthesize(ISynthesisSession session)
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.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
addCondition
public void addCondition(RosCondition condition)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDependency
public void addDependency(Resource resource)
- Type: com.aliyun.ros.cdk.core.Resource
addResourceDesc
public void addResourceDesc(java.lang.String desc)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy(RemovalPolicy policy)
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
fetchCondition
public RosCondition fetchCondition()
fetchDependency
public java.util.List<java.lang.String> fetchDependency()
fetchResourceDesc
public java.lang.String fetchResourceDesc()
getAtt
public IResolvable getAtt(java.lang.String name)
- Type: java.lang.String
setMetadata
public void setMetadata(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
Static Functions
| Name | Description |
|---|---|
isConstruct | Return whether the given object is a Construct. |
isConstruct
import com.aliyun.ros.cdk.rds.datasource.DBInstance;
DBInstance.isConstruct(java.lang.Object x)
Return whether the given object is a Construct.
- Type: java.lang.Object
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node associated with this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
ref | java.lang.String | No description. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
resource | com.aliyun.ros.cdk.core.RosResource | No description. |
attrAccountMaxQuantity | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance. |
attrAdvancedFeatures | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AdvancedFeatures: The advanced features that are enabled for the instance. |
attrAutoUpgradeMinorVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AutoUpgradeMinorVersion: The method that is used to update the minor engine version of the instance. |
attrAvailabilityValue | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AvailabilityValue: The availability status of the instance in percentage. |
attrBabelfishConfig | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance. |
attrCategory | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Category: The RDS edition of the instance. |
attrCollation | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Collation: The character set collation of the instance. |
attrConnectionMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ConnectionMode: The connection mode of the instance. |
attrConnectionString | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ConnectionString: The internal endpoint of the instance. |
attrConsoleVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ConsoleVersion: The type of the proxy that is used by the instance. |
attrCreationTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreationTime: The creation time. |
attrCurrentKernelVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CurrentKernelVersion: The minor engine version of the instance. |
attrDbClusterNodes | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBClusterNodes: The information about the node in the cluster. |
attrDbInstanceClass | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceClass: The instance type of the instance. |
attrDbInstanceClassType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceClassType: The instance family to which the instance belongs. |
attrDbInstanceCpu | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceCPU: The number of CPU cores. |
attrDbInstanceDescription | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceDescription: The description of the instance. |
attrDbInstanceDiskUsed | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceDiskUsed: The disk usage of the instance. |
attrDbInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceId: The instance ID. |
attrDbInstanceMemory | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceMemory: The memory capacity of the instance. |
attrDbInstanceNetType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceNetType: The type of the network over which the instance is connected. |
attrDbInstanceStatus | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceStatus: The status of the instance. |
attrDbInstanceStorage | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceStorage: The storage capacity of the instance. |
attrDbInstanceStorageType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceStorageType: The storage type of the instance. |
attrDbInstanceType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBInstanceType: The type of the instance. |
attrDbMaxQuantity | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance. |
attrDedicatedHostGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DedicatedHostGroupId: The ID of the dedicated cluster. |
attrDeletionProtection | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DeletionProtection: Indicates whether the release protection feature is enabled. |
attrEngine | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Engine: The database engine of the instance. |
attrEngineVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EngineVersion: The database engine version. |
attrExpireTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ExpireTime: The expiration time. |
attrExtra | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Extra: The extended information of the instance. |
attrGeneralGroupName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute GeneralGroupName: The name of the dedicated cluster to which the instance belongs. |
attrGuardDbInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance. |
attrIncrementSourceDbInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute IncrementSourceDBInstanceId: The ID of the instance from which incremental data comes. |
attrInstanceNetworkType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute InstanceNetworkType: The network type of the instance. |
attrInstructionSetArch | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute InstructionSetArch: The architecture type of the instance. |
attrIpType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute IPType: The type of the IP address. |
attrLatestKernelVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance. |
attrLockMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute LockMode: The lock mode of the instance. |
attrLockReason | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute LockReason: The reason why the instance was locked. |
attrMaintainTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MaintainTime: The maintenance window of the instance. |
attrMasterInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MasterInstanceId: The ID of the primary instance. |
attrMasterZone | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MasterZone: The zone ID of the primary instance. |
attrMaxConnections | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MaxConnections: The maximum number of concurrent connections. |
attrMaxIombps | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MaxIOMBPS: The maximum I/O throughput. |
attrMaxIops | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MaxIOPS: The maximum number of I/O requests per second. |
attrPayType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PayType: The billing method of the instance. |
attrPgBouncerEnabled | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled. |
attrPort | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Port: The port that is used to connect to the instance over an internal network. |
attrProxyType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ProxyType: The type of the proxy that is supported by the instance. |
attrReadOnlyDbInstanceIds | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance. |
attrReadonlyInstanceSqlDelayedTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ReadonlyInstanceSQLDelayedTime: The latency at which the system replicates data to read-only instances. |
attrResourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceGroupId: The resource group ID. |
attrSecurityIpList | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute SecurityIPList: The IP addresses in the IP address whitelist. |
attrSecurityIpMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute SecurityIPMode: The whitelist mode of the instance. |
attrServerlessConfig | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ServerlessConfig: The settings of the serverless instance. |
attrSlaveZones | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute SlaveZones: The information about the zone of the secondary instance. |
attrSuperPermissionMode | java.lang.String OR com.aliyun.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 | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance. |
attrTimeZone | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute TimeZone: The time zone of the instance. |
attrTips | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Tips: The information about the exception that is detected on the instance. |
attrTipsLevel | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute TipsLevel: The severity level of the exception that is detected on the instance. |
attrVpcCloudInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute VpcCloudInstanceId: The VPC ID. |
attrVpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute VpcId: The virtual private cloud (VPC) ID of the instance. |
attrVSwitchId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute VSwitchId: The vSwitch ID. |
attrZoneId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ZoneId: The zone ID. |
props | DBInstanceProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with 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.
refRequired
public java.lang.String getRef();
- Type: java.lang.String
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resourceOptional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrAccountMaxQuantityRequired
public java.lang.Object getAttrAccountMaxQuantity();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance.
attrAdvancedFeaturesRequired
public java.lang.Object getAttrAdvancedFeatures();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrAutoUpgradeMinorVersion();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrAvailabilityValue();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute AvailabilityValue: The availability status of the instance in percentage.
attrBabelfishConfigRequired
public java.lang.Object getAttrBabelfishConfig();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance.
attrCategoryRequired
public java.lang.Object getAttrCategory();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrCollation();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Collation: The character set collation of the instance.
attrConnectionModeRequired
public java.lang.Object getAttrConnectionMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ConnectionMode: The connection mode of the instance.
Valid values: Standard: standard mode Safe: database proxy mode
attrConnectionStringRequired
public java.lang.Object getAttrConnectionString();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ConnectionString: The internal endpoint of the instance.
attrConsoleVersionRequired
public java.lang.Object getAttrConsoleVersion();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrCreationTime();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrCurrentKernelVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CurrentKernelVersion: The minor engine version of the instance.
attrDbClusterNodesRequired
public java.lang.Object getAttrDbClusterNodes();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBClusterNodes: The information about the node in the cluster.
attrDbInstanceClassRequired
public java.lang.Object getAttrDbInstanceClass();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBInstanceClass: The instance type of the instance.
attrDbInstanceClassTypeRequired
public java.lang.Object getAttrDbInstanceClassType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrDbInstanceCpu();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBInstanceCPU: The number of CPU cores.
attrDbInstanceDescriptionRequired
public java.lang.Object getAttrDbInstanceDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBInstanceDescription: The description of the instance.
attrDbInstanceDiskUsedRequired
public java.lang.Object getAttrDbInstanceDiskUsed();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBInstanceDiskUsed: The disk usage of the instance.
attrDbInstanceIdRequired
public java.lang.Object getAttrDbInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBInstanceId: The instance ID.
attrDbInstanceMemoryRequired
public java.lang.Object getAttrDbInstanceMemory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBInstanceMemory: The memory capacity of the instance.
Unit: MB.
attrDbInstanceNetTypeRequired
public java.lang.Object getAttrDbInstanceNetType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrDbInstanceStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBInstanceStatus: The status of the instance.
attrDbInstanceStorageRequired
public java.lang.Object getAttrDbInstanceStorage();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBInstanceStorage: The storage capacity of the instance.
Unit: GB.
attrDbInstanceStorageTypeRequired
public java.lang.Object getAttrDbInstanceStorageType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrDbInstanceType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrDbMaxQuantity();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance.
attrDedicatedHostGroupIdRequired
public java.lang.Object getAttrDedicatedHostGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DedicatedHostGroupId: The ID of the dedicated cluster.
attrDeletionProtectionRequired
public java.lang.Object getAttrDeletionProtection();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DeletionProtection: Indicates whether the release protection feature is enabled.
Valid values: true false
attrEngineRequired
public java.lang.Object getAttrEngine();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Engine: The database engine of the instance.
Valid values: MySQL PostgreSQL SQLServer MariaDB
attrEngineVersionRequired
public java.lang.Object getAttrEngineVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EngineVersion: The database engine version.
attrExpireTimeRequired
public java.lang.Object getAttrExpireTime();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrExtra();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Extra: The extended information of the instance.
attrGeneralGroupNameRequired
public java.lang.Object getAttrGeneralGroupName();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrGuardDbInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance.
attrIncrementSourceDbInstanceIdRequired
public java.lang.Object getAttrIncrementSourceDbInstanceId();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrInstanceNetworkType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceNetworkType: The network type of the instance.
Valid values: Classic VPC
attrInstructionSetArchRequired
public java.lang.Object getAttrInstructionSetArch();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute InstructionSetArch: The architecture type of the instance.
Valid values: x86 arm
attrIpTypeRequired
public java.lang.Object getAttrIpType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute IPType: The type of the IP address.
Only IPv4 addresses are supported.
attrLatestKernelVersionRequired
public java.lang.Object getAttrLatestKernelVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance.
attrLockModeRequired
public java.lang.Object getAttrLockMode();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrLockReason();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute LockReason: The reason why the instance was locked.
attrMaintainTimeRequired
public java.lang.Object getAttrMaintainTime();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrMasterInstanceId();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrMasterZone();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MasterZone: The zone ID of the primary instance.
attrMaxConnectionsRequired
public java.lang.Object getAttrMaxConnections();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MaxConnections: The maximum number of concurrent connections.
attrMaxIombpsRequired
public java.lang.Object getAttrMaxIombps();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MaxIOMBPS: The maximum I/O throughput.
Unit: MB/s.
attrMaxIopsRequired
public java.lang.Object getAttrMaxIops();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MaxIOPS: The maximum number of I/O requests per second.
attrPayTypeRequired
public java.lang.Object getAttrPayType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PayType: The billing method of the instance.
Valid values: Postpaid: pay-as-you-go Prepaid: subscription
attrPgBouncerEnabledRequired
public java.lang.Object getAttrPgBouncerEnabled();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled.
attrPortRequired
public java.lang.Object getAttrPort();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Port: The port that is used to connect to the instance over an internal network.
attrProxyTypeRequired
public java.lang.Object getAttrProxyType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrReadOnlyDbInstanceIds();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance.
attrReadonlyInstanceSqlDelayedTimeRequired
public java.lang.Object getAttrReadonlyInstanceSqlDelayedTime();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceGroupId: The resource group ID.
attrSecurityIpListRequired
public java.lang.Object getAttrSecurityIpList();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute SecurityIPList: The IP addresses in the IP address whitelist.
attrSecurityIpModeRequired
public java.lang.Object getAttrSecurityIpMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute SecurityIPMode: The whitelist mode of the instance.
Valid values: normal: standard whitelist mode safety: enhanced whitelist mode
attrServerlessConfigRequired
public java.lang.Object getAttrServerlessConfig();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ServerlessConfig: The settings of the serverless instance.
attrSlaveZonesRequired
public java.lang.Object getAttrSlaveZones();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute SlaveZones: The information about the zone of the secondary instance.
attrSuperPermissionModeRequired
public java.lang.Object getAttrSuperPermissionMode();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrTempDbInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance.
attrTimeZoneRequired
public java.lang.Object getAttrTimeZone();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute TimeZone: The time zone of the instance.
attrTipsRequired
public java.lang.Object getAttrTips();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrTipsLevel();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAttrVpcCloudInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute VpcCloudInstanceId: The VPC ID.
attrVpcIdRequired
public java.lang.Object getAttrVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute VpcId: The virtual private cloud (VPC) ID of the instance.
attrVSwitchIdRequired
public java.lang.Object getAttrVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute VSwitchId: The vSwitch ID.
attrZoneIdRequired
public java.lang.Object getAttrZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ZoneId: The zone ID.
propsRequired
public DBInstanceProps getProps();
- Type: DBInstanceProps