Skip to content

AclRuleProps

Properties for defining a AclRule.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkwaf"
&alicloudroscdkwaf.AclRuleProps {
    Domain: interface{},
    InstanceId: interface{},
    Rules: interface{},
    Region: interface{},
    RuleId: interface{},
}

Properties

Name Type Description
Domain interface{} Property domain: Domain name.
InstanceId interface{} Property instanceId: WAF instance ID.
Rules interface{} Property rules: Detailed information of precise access control rules, expressed in JSON format strings.
Region interface{} Property region: Examples of areas where the WAF.
RuleId interface{} Property ruleId: Precise access control rule ID.

DomainRequired

Domain interface{}
  • Type: interface{}

Property domain: Domain name.


InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: WAF instance ID.

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


RulesRequired

Rules interface{}
  • Type: interface{}

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


RegionOptional

Region interface{}
  • Type: interface{}

Property region: Examples of areas where the WAF.

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


RuleIdOptional

RuleId interface{}
  • Type: interface{}

Property ruleId: Precise access control rule ID.