Skip to content

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.

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.


ServiceOnRequired

ServiceOn interface{}
  • Type: interface{}

Property serviceOn: Web attack protection switch, the value of: 0: closed.

1: indicate on.


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