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. |
domain
Required
public readonly domain: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property domain: Domain name.
instanceId
Required
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.
rules
Required
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.
region
Optional
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
ruleId
Optional
public readonly ruleId: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property ruleId: Precise access control rule ID.