Skip to content

DBClusterAccessWhiteListProps

Properties for defining a DBClusterAccessWhiteList.

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

Initializer

import com.aliyun.ros.cdk.polardb.DBClusterAccessWhiteListProps;
DBClusterAccessWhiteListProps.builder()
    .dbClusterId(java.lang.String)
    .dbClusterId(IResolvable)
    .securityIps(java.lang.String)
    .securityIps(IResolvable)
//  .dbClusterIpArrayName(java.lang.String)
//  .dbClusterIpArrayName(IResolvable)
    .build();

Properties

Name Type Description
dbClusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster whose IP address whitelist is to be modified.
securityIps java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityIps: The IP addresses to be added to the IP address whitelist group to be modified.
dbClusterIpArrayName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbClusterIpArrayName: The name of the IP address whitelist group.

dbClusterIdRequired

public java.lang.Object getDbClusterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


securityIpsRequired

public java.lang.Object getSecurityIps();
  • Type: java.lang.String OR com.aliyun.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.


dbClusterIpArrayNameOptional

public java.lang.Object getDbClusterIpArrayName();
  • Type: java.lang.String OR com.aliyun.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.