Skip to content

AclRuleProps

Properties for defining a AclRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-waf-aclrule

Initializer

import ros_cdk_waf
ros_cdk_waf.AclRuleProps(
  domain: typing.Union[str, IResolvable],
  instance_id: typing.Union[str, IResolvable],
  rules: typing.Union[str, IResolvable],
  region: typing.Union[str, IResolvable] = None,
  rule_id: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
domain typing.Union[str, ros_cdk_core.IResolvable] Property domain: Domain name.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: WAF instance ID.
rules typing.Union[str, ros_cdk_core.IResolvable] Property rules: Detailed information of precise access control rules, expressed in JSON format strings.
region typing.Union[str, ros_cdk_core.IResolvable] Property region: Examples of areas where the WAF.
rule_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property ruleId: Precise access control rule ID.

domainRequired

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

Property domain: Domain name.


instance_idRequired

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

Property instanceId: WAF instance ID.

Description Interface You can view your current WAF instance ID by calling DescribePayInfo.


rulesRequired

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

Property rules: Detailed information of precise access control rules, expressed in JSON format strings.


regionOptional

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

Property region: Examples of areas where the WAF.

Value: cn: China mainland (default) cn-hongkong: China HongKong and other overseas


rule_idOptional

rule_id: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property ruleId: Precise access control rule ID.