Skip to content

ZonesProps

Properties for defining a Zones.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-rds-zones

Initializer

import { datasource } from '@alicloud/ros-cdk-rds'
const zonesProps: datasource.ZonesProps = { ... }

Properties

Name Type Description
engine string | @alicloud/ros-cdk-core.IResolvable Property engine: The database engine that is run by the instance.
category string | @alicloud/ros-cdk-core.IResolvable Property category: The RDS edition of the instance.
commodityCode string | @alicloud/ros-cdk-core.IResolvable Property commodityCode: The commodity code of the instance.
dispenseMode string | @alicloud/ros-cdk-core.IResolvable Property dispenseMode: Specifies whether to return the zones in which the single-zone deployment method is supported.
engineVersion string | @alicloud/ros-cdk-core.IResolvable Property engineVersion: The version of the database engine that is run by the instance.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: The ID of the zone in which the instance is located.

engineRequired

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

Property engine: The database engine that is run by the instance.


categoryOptional

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

Property category: The RDS edition of the instance.

Valid values: Basic: RDS Basic Edition HighAvailability: RDS High-availability Edition AlwaysOn: RDS Cluster Edition Finance: RDS Enterprise Edition


commodityCodeOptional

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

Property commodityCode: The commodity code of the instance.


dispenseModeOptional

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

Property dispenseMode: Specifies whether to return the zones in which the single-zone deployment method is supported.

Valid values: 1: returns the zones. 0: does not return the zones. Default value: 0.


engineVersionOptional

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

Property engineVersion: The version of the database engine that is run by the instance.


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.


zoneIdOptional

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

Property zoneId: The ID of the zone in which the instance is located.

If the instance spans more than one zone, the value of this parameter contains an MAZ part, such as cn-hangzhou-MAZ6(b,f) and cn-hangzhou-MAZ5(b,e,f).


Protocols