Skip to content

DBClusterAccessWhiteListProps

Properties for defining a DBClusterAccessWhiteList.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-dbclusteraccesswhitelist

Initializer

import ros_cdk_polardb
ros_cdk_polardb.DBClusterAccessWhiteListProps(
  db_cluster_id: typing.Union[str, IResolvable],
  security_ips: typing.Union[str, IResolvable],
  db_cluster_ip_array_name: 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 ApsaraDB for POLARDB cluster whose IP address whitelist is to be modified.
security_ips typing.Union[str, ros_cdk_core.IResolvable] Property securityIps: The IP addresses to be added to the IP address whitelist group to be modified.
db_cluster_ip_array_name typing.Union[str, ros_cdk_core.IResolvable] Property dbClusterIpArrayName: The name of the IP address whitelist group.

db_cluster_idRequired

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

Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster whose IP address whitelist is to be modified.


security_ipsRequired

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

Property securityIps: The IP addresses to be added to the IP address whitelist group to be modified.

Each whitelist group can contain a maximum of 1,000 IP addresses. Separate multiple IP addresses with a comma (,). The following two formats are supported: IP address: for example, 10.23.12.24. Classless inter-domain routing (CIDR) block: for example, 10.23.12.24/24, where the suffix /24 indicates the number of bits for the prefix of the IP address. The suffix ranges from 1 to 32.


db_cluster_ip_array_nameOptional

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

Property dbClusterIpArrayName: The name of the IP address whitelist group.

If you do not specify this parameter, the Default whitelist group is modified by default. Note You can create up to 50 whitelist groups for an ApsaraDB for POLARDB cluster.