Skip to content

IJdbcDataSource

Represents a JdbcDataSource.

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.
attrConnectionMessage java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ConnectionMessage: Return Information: If the connection fails, an error message is returned.
attrConnectionStatus java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ConnectionStatus: Service Status:.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The creation time of the resource.
attrDataSourceDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DataSourceDescription: Data Source Description.
attrDataSourceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DataSourceId: The data source ID.
attrDataSourceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DataSourceName: Data Source Name.
attrDataSourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DataSourceType: Data Source Type.
attrExternalDataServiceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ExternalDataServiceId: External Data Service id.
attrJdbcConnectionString java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute JdbcConnectionString: The JDBC connection string.
attrJdbcPassword java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute JdbcPassword: The password of the database account.
attrJdbcUserName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute JdbcUserName: The name of the database account.
attrModifyTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ModifyTime: Last modification time.
attrStatusMessage java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StatusMessage: Service status information, such as exceptions, displays the reason for the exception.
props JdbcDataSourceProps 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.


attrConnectionMessageRequired

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

Attribute ConnectionMessage: Return Information: If the connection fails, an error message is returned.

Otherwise, "" is returned "".


attrConnectionStatusRequired

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

Attribute ConnectionStatus: Service Status:.


attrCreateTimeRequired

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

Attribute CreateTime: The creation time of the resource.


attrDataSourceDescriptionRequired

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

Attribute DataSourceDescription: Data Source Description.


attrDataSourceIdRequired

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

Attribute DataSourceId: The data source ID.


attrDataSourceNameRequired

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

Attribute DataSourceName: Data Source Name.


attrDataSourceTypeRequired

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

Attribute DataSourceType: Data Source Type.


attrExternalDataServiceIdRequired

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

Attribute ExternalDataServiceId: External Data Service id.


attrJdbcConnectionStringRequired

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

Attribute JdbcConnectionString: The JDBC connection string.


attrJdbcPasswordRequired

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

Attribute JdbcPassword: The password of the database account.


attrJdbcUserNameRequired

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

Attribute JdbcUserName: The name of the database account.


attrModifyTimeRequired

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

Attribute ModifyTime: Last modification time.


attrStatusMessageRequired

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

Attribute StatusMessage: Service status information, such as exceptions, displays the reason for the exception.

A null value in the normal Running state.


propsRequired

public JdbcDataSourceProps getProps();