Skip to content

WhitelistProps

Properties for defining a Whitelist.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-whitelist

Initializer

import ros_cdk_redis
ros_cdk_redis.WhitelistProps(
  instance_id: typing.Union[str, IResolvable],
  security_ips: typing.Union[str, IResolvable],
  security_ip_group_attribute: typing.Union[str, IResolvable] = None,
  security_ip_group_name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: Instance ID (globally unique).
security_ips typing.Union[str, ros_cdk_core.IResolvable] Property securityIps: The IP addresses in the whitelist.
security_ip_group_attribute typing.Union[str, ros_cdk_core.IResolvable] Property securityIpGroupAttribute: The default is empty.
security_ip_group_name typing.Union[str, ros_cdk_core.IResolvable] Property securityIpGroupName: The name of the IP address whitelist.

instance_idRequired

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

Property instanceId: Instance ID (globally unique).


security_ipsRequired

security_ips: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


security_ip_group_attributeOptional

security_ip_group_attribute: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


security_ip_group_nameOptional

security_ip_group_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.>


Protocols