Skip to content

DBClustersProps

Properties for defining a DBClusters.

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

Initializer

import { datasource } from '@alicloud/ros-cdk-polardb'
const dBClustersProps: datasource.DBClustersProps = { ... }

Properties

Name Type Description
dbClusterId string | @alicloud/ros-cdk-core.IResolvable Property dbClusterId: The ID of the cluster.
dbType string | @alicloud/ros-cdk-core.IResolvable Property dbType: The database engine that the cluster runs.
dbVersion string | @alicloud/ros-cdk-core.IResolvable Property dbVersion: The version of the database engine that the cluster runs.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the cluster.
expired string | @alicloud/ros-cdk-core.IResolvable Property expired: Indicates whether the cluster has expired.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group.

dbClusterIdOptional

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

Property dbClusterId: The ID of the cluster.


dbTypeOptional

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

Property dbType: The database engine that the cluster runs.


dbVersionOptional

public readonly dbVersion: string | IResolvable;
  • Type: string | @alicloud/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

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

Property description: The description of the cluster.


expiredOptional

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

Property expired: Indicates whether the cluster has expired.

Valid values: true false


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/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.


resourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group.