Skip to content

AclRuleProps

Properties for defining a AclRule.

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

Initializer

import { AclRuleProps } from '@alicloud/ros-cdk-waf'
const aclRuleProps: AclRuleProps = { ... }

Properties

Name Type Description
domain string | @alicloud/ros-cdk-core.IResolvable Property domain: Domain name.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: WAF instance ID.
rules string | @alicloud/ros-cdk-core.IResolvable Property rules: Detailed information of precise access control rules, expressed in JSON format strings.
region string | @alicloud/ros-cdk-core.IResolvable Property region: Examples of areas where the WAF.
ruleId number | @alicloud/ros-cdk-core.IResolvable Property ruleId: Precise access control rule ID.

domainRequired

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

Property domain: Domain name.


instanceIdRequired

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

Property instanceId: WAF instance ID.

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


rulesRequired

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

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


regionOptional

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

Property region: Examples of areas where the WAF.

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


ruleIdOptional

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

Property ruleId: Precise access control rule ID.