WafSwitchProps
Properties for defining a WafSwitch
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-waf-wafswitch
Initializer
import { WafSwitchProps } from '@alicloud/ros-cdk-waf'
const wafSwitchProps: WafSwitchProps = { ... }
Properties
Name | Type | Description |
---|---|---|
domain |
string | @alicloud/ros-cdk-core.IResolvable |
Property domain: Domain name. |
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: WAF instance ID. |
serviceOn |
number | @alicloud/ros-cdk-core.IResolvable |
Property serviceOn: Web attack protection switch, the value of: 0: closed. |
region |
string | @alicloud/ros-cdk-core.IResolvable |
Property region: Examples of areas where the WAF. |
domain
Required
public readonly domain: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property domain: Domain name.
instanceId
Required
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/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 readonly serviceOn: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property serviceOn: Web attack protection switch, the value of: 0: closed.
1: indicate on.
region
Optional
public readonly region: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property region: Examples of areas where the WAF.
Value: cn: China mainland (default) cn-hongkong: China HongKong and other overseas