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. |
Domain
Required
Domain interface{}
- Type: interface{}
Property domain: Domain name.
InstanceId
Required
InstanceId interface{}
- Type: interface{}
Property instanceId: WAF instance ID.
Description Interface You can view your current WAF instance ID by calling DescribePayInfo.
Rules
Required
Rules interface{}
- Type: interface{}
Property rules: Detailed information of precise access control rules, expressed in JSON format strings.
Region
Optional
Region interface{}
- Type: interface{}
Property region: Examples of areas where the WAF.
Value: cn: China mainland (default) cn-hongkong: China HongKong and other overseas
RuleId
Optional
RuleId interface{}
- Type: interface{}
Property ruleId: Precise access control rule ID.