Skip to content

DBClustersProps

Properties for defining a DBClusters.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-polardb-dbclusters

Initializer

from ros_cdk_polardb import datasource
datasource.DBClustersProps(
  db_cluster_id: typing.Union[str, IResolvable] = None,
  db_type: typing.Union[str, IResolvable] = None,
  db_version: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  expired: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
db_cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property dbClusterId: The ID of the cluster.
db_type typing.Union[str, ros_cdk_core.IResolvable] Property dbType: The database engine that the cluster runs.
db_version typing.Union[str, ros_cdk_core.IResolvable] Property dbVersion: The version of the database engine that the cluster runs.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the cluster.
expired typing.Union[str, ros_cdk_core.IResolvable] Property expired: Indicates whether the cluster has expired.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group.

db_cluster_idOptional

db_cluster_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dbClusterId: The ID of the cluster.


db_typeOptional

db_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dbType: The database engine that the cluster runs.


db_versionOptional

db_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dbVersion: The version of the database engine that the cluster runs.

The range of the MySQL version number is as follows: *** 5.6 * * * *** 5.7 * * * *** 8.0 * * * The value range of PostgreSQL version number is as follows: *** 11 * * * *** 14 * * * The Oracle version number is 11.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of the cluster.


expiredOptional

expired: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property expired: Indicates whether the cluster has expired.

Valid values: true false


refresh_optionsOptional

refresh_options: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: The ID of the resource group.