WafSwitchProps
Properties for defining a WafSwitch
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-waf-wafswitch
Initializer
import com.aliyun.ros.cdk.waf.WafSwitchProps;
WafSwitchProps.builder()
.domain(java.lang.String)
.domain(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
.serviceOn(java.lang.Number)
.serviceOn(IResolvable)
// .region(java.lang.String)
// .region(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. |
serviceOn |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property serviceOn: Web attack protection switch, the value of: 0: closed. |
region |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property region: Examples of areas where the WAF. |
domain
Required
public java.lang.Object getDomain();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property domain: Domain name.
instanceId
Required
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.
serviceOn
Required
public java.lang.Object getServiceOn();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property serviceOn: Web attack protection switch, the value of: 0: closed.
1: indicate on.
region
Optional
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