AclRuleProps
Properties for defining a AclRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-waf-aclrule
Initializer
import com.aliyun.ros.cdk.waf.AclRuleProps;
AclRuleProps.builder()
.domain(java.lang.String)
.domain(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
.rules(java.lang.String)
.rules(IResolvable)
// .region(java.lang.String)
// .region(IResolvable)
// .ruleId(java.lang.Number)
// .ruleId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
domain |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property domain: Domain name. |
instanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceId: WAF instance ID. |
rules |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property rules: Detailed information of precise access control rules, expressed in JSON format strings. |
region |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property region: Examples of areas where the WAF. |
ruleId |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ruleId: Precise access control rule ID. |
domain
Required
public java.lang.Object getDomain();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property domain: Domain name.
instanceId
Required
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getRules();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property rules: Detailed information of precise access control rules, expressed in JSON format strings.
region
Optional
public java.lang.Object getRegion();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getRuleId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ruleId: Precise access control rule ID.