Skip to content

WhitelistProps

Properties for defining a Whitelist.

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

Initializer

import { WhitelistProps } from '@alicloud/ros-cdk-memcache'
const whitelistProps: WhitelistProps = { ... }

Properties

Name Type Description
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: Instance ID (globally unique).
securityIps string | @alicloud/ros-cdk-core.IResolvable Property securityIps: The IP addresses in the whitelist.
securityIpGroupAttribute string | @alicloud/ros-cdk-core.IResolvable Property securityIpGroupAttribute: The default is empty.
securityIpGroupName string | @alicloud/ros-cdk-core.IResolvable Property securityIpGroupName: The name of the IP address whitelist.

instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: Instance ID (globally unique).


securityIpsRequired

public readonly securityIps: string | IResolvable;
  • Type: string | @alicloud/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 readonly securityIpGroupAttribute: string | IResolvable;
  • Type: string | @alicloud/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 readonly securityIpGroupName: string | IResolvable;
  • Type: string | @alicloud/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.><\/warning>


Protocols