WafSwitchProps
Properties for defining a WafSwitch
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-waf-wafswitch
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkwaf"
&alicloudroscdkwaf.WafSwitchProps {
Domain: interface{},
InstanceId: interface{},
ServiceOn: interface{},
Region: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Domain |
interface{} |
Property domain: Domain name. |
InstanceId |
interface{} |
Property instanceId: WAF instance ID. |
ServiceOn |
interface{} |
Property serviceOn: Web attack protection switch, the value of: 0: closed. |
Region |
interface{} |
Property region: Examples of areas where the WAF. |
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.
ServiceOn
Required
ServiceOn interface{}
- Type: interface{}
Property serviceOn: Web attack protection switch, the value of: 0: closed.
1: indicate on.
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