Skip to content

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.

domainRequired

public java.lang.Object getDomain();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property domain: Domain name.


instanceIdRequired

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.


rulesRequired

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.


regionOptional

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


ruleIdOptional

public java.lang.Object getRuleId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property ruleId: Precise access control rule ID.