WhitelistProps
Properties for defining a Whitelist.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-whitelist
Initializer
import com.aliyun.ros.cdk.redis.WhitelistProps;
WhitelistProps.builder()
.instanceId(java.lang.String)
.instanceId(IResolvable)
.securityIps(java.lang.String)
.securityIps(IResolvable)
// .securityIpGroupAttribute(java.lang.String)
// .securityIpGroupAttribute(IResolvable)
// .securityIpGroupName(java.lang.String)
// .securityIpGroupName(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
instanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property instanceId: Instance ID (globally unique). |
securityIps | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property securityIps: The IP addresses in the whitelist. |
securityIpGroupAttribute | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property securityIpGroupAttribute: The default is empty. |
securityIpGroupName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property securityIpGroupName: The name of the IP address whitelist. |
instanceIdRequired
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: Instance ID (globally unique).
securityIpsRequired
public java.lang.Object getSecurityIps();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property securityIps: The IP addresses in the whitelist.
Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
securityIpGroupAttributeOptional
public java.lang.Object getSecurityIpGroupAttribute();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property securityIpGroupAttribute: The default is empty.
For distinguishing between different attribute values, the console will not display the value of hidden whitelist packet.
securityIpGroupNameOptional
public java.lang.Object getSecurityIpGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property securityIpGroupName: The name of the IP address whitelist.
You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.>