Skip to content

SupabaseProjectProps

Properties for defining a SupabaseProject.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gpdb-supabaseproject

Initializer

import ros_cdk_gpdb
ros_cdk_gpdb.SupabaseProjectProps(
  account_password: typing.Union[str, IResolvable],
  project_name: typing.Union[str, IResolvable],
  project_spec: typing.Union[str, IResolvable],
  security_ip_list: typing.Union[str, IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  v_switch_id: typing.Union[str, IResolvable],
  zone_id: typing.Union[str, IResolvable],
  database_ip_list: typing.Union[str, IResolvable] = None,
  disk_performance_level: typing.Union[str, IResolvable] = None,
  pay_type: typing.Union[str, IResolvable] = None,
  period: typing.Union[str, IResolvable] = None,
  storage_size: typing.Union[typing.Union[int, float], IResolvable] = None,
  used_time: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
account_password typing.Union[str, ros_cdk_core.IResolvable] Property accountPassword: The password for the initial account.
project_name typing.Union[str, ros_cdk_core.IResolvable] Property projectName: Project name.The naming rules are as follows: The length is 1~128 characters. Only English letters, numbers, dash (-) and underscore (). Must start with English letters or underscores ().
project_spec typing.Union[str, ros_cdk_core.IResolvable] Property projectSpec: Supabase instance specification, default is 1C1G.
security_ip_list typing.Union[str, ros_cdk_core.IResolvable] Property securityIpList: IP whitelist.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: VPC ID.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: vSwitch ID.
zone_id typing.Union[str, ros_cdk_core.IResolvable] Property zoneId: Availability Zone ID.
database_ip_list typing.Union[str, ros_cdk_core.IResolvable] Property databaseIpList: Database IP list.
disk_performance_level typing.Union[str, ros_cdk_core.IResolvable] Property diskPerformanceLevel: Cloud disk PL level, default PL0.
pay_type typing.Union[str, ros_cdk_core.IResolvable] Property payType: The payment type.
period typing.Union[str, ros_cdk_core.IResolvable] Property period: The unit of the subscription duration.
storage_size typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property storageSize: Storage space size, unit GB, default 1GB.
used_time typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property usedTime: The subscription duration.

account_passwordRequired

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

Property accountPassword: The password for the initial account.

It consists of three or more types of capital letters, lowercase letters, numbers, and special characters. Supported special characters: !@#$%^&*()_+-= The length is 8~32 characters.


project_nameRequired

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

Property projectName: Project name.The naming rules are as follows: The length is 1~128 characters. Only English letters, numbers, dash (-) and underscore (). Must start with English letters or underscores ().


project_specRequired

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

Property projectSpec: Supabase instance specification, default is 1C1G.


security_ip_listRequired

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

Property securityIpList: IP whitelist.

127.0.0.1 means that any external IP access is prohibited. You can call the ModifySecurityIps interface to modify the IP whitelist after the instance is created.


vpc_idRequired

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

Property vpcId: VPC ID.

illustrate You can call the DescribeRdsVpcs interface to view the available VPC IDs. This parameter must be passed in.


v_switch_idRequired

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

Property vSwitchId: vSwitch ID.

illustrate vSwitchId is required. The Availability Zone where the vSwitch is located must be consistent with the ZoneId.


zone_idRequired

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

Property zoneId: Availability Zone ID.

Description You can call the DescribeRegions interface to view the available Availability Zone ID.


database_ip_listOptional

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

Property databaseIpList: Database IP list.


disk_performance_levelOptional

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

Property diskPerformanceLevel: Cloud disk PL level, default PL0.

Selectable value: PL0 PL1


pay_typeOptional

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

Property payType: The payment type.


periodOptional

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

Property period: The unit of the subscription duration.

Valid values:

  • Month
  • Year

This parameter is required if you use the subscription billing method.


storage_sizeOptional

storage_size: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property storageSize: Storage space size, unit GB, default 1GB.


used_timeOptional

used_time: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property usedTime: The subscription duration.

Valid values:

  • If Period is set to Month, the valid values are 1 to 11.
  • If Period is set to Year, the valid values are 1 to 3.

This parameter is required if you use the subscription billing method.