1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. WafDedicatedPolicy
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.WafDedicatedPolicy

Explore with Pulumi AI

Manages a WAF dedicated policy resource within FlexibleEngine.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const policy1 = new flexibleengine.WafDedicatedPolicy("policy1", {
    level: 2,
    protectionMode: "log",
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

policy1 = flexibleengine.WafDedicatedPolicy("policy1",
    level=2,
    protection_mode="log")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := flexibleengine.NewWafDedicatedPolicy(ctx, "policy1", &flexibleengine.WafDedicatedPolicyArgs{
			Level:          pulumi.Float64(2),
			ProtectionMode: pulumi.String("log"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var policy1 = new Flexibleengine.WafDedicatedPolicy("policy1", new()
    {
        Level = 2,
        ProtectionMode = "log",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.WafDedicatedPolicy;
import com.pulumi.flexibleengine.WafDedicatedPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var policy1 = new WafDedicatedPolicy("policy1", WafDedicatedPolicyArgs.builder()
            .level(2)
            .protectionMode("log")
            .build());

    }
}
Copy
resources:
  policy1:
    type: flexibleengine:WafDedicatedPolicy
    properties:
      level: 2
      protectionMode: log
Copy

Create WafDedicatedPolicy Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new WafDedicatedPolicy(name: string, args?: WafDedicatedPolicyArgs, opts?: CustomResourceOptions);
@overload
def WafDedicatedPolicy(resource_name: str,
                       args: Optional[WafDedicatedPolicyArgs] = None,
                       opts: Optional[ResourceOptions] = None)

@overload
def WafDedicatedPolicy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       level: Optional[float] = None,
                       name: Optional[str] = None,
                       protection_mode: Optional[str] = None,
                       region: Optional[str] = None,
                       timeouts: Optional[WafDedicatedPolicyTimeoutsArgs] = None,
                       waf_dedicated_policy_id: Optional[str] = None)
func NewWafDedicatedPolicy(ctx *Context, name string, args *WafDedicatedPolicyArgs, opts ...ResourceOption) (*WafDedicatedPolicy, error)
public WafDedicatedPolicy(string name, WafDedicatedPolicyArgs? args = null, CustomResourceOptions? opts = null)
public WafDedicatedPolicy(String name, WafDedicatedPolicyArgs args)
public WafDedicatedPolicy(String name, WafDedicatedPolicyArgs args, CustomResourceOptions options)
type: flexibleengine:WafDedicatedPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args WafDedicatedPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args WafDedicatedPolicyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args WafDedicatedPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args WafDedicatedPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. WafDedicatedPolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var wafDedicatedPolicyResource = new Flexibleengine.WafDedicatedPolicy("wafDedicatedPolicyResource", new()
{
    Level = 0,
    Name = "string",
    ProtectionMode = "string",
    Region = "string",
    Timeouts = new Flexibleengine.Inputs.WafDedicatedPolicyTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
    },
    WafDedicatedPolicyId = "string",
});
Copy
example, err := flexibleengine.NewWafDedicatedPolicy(ctx, "wafDedicatedPolicyResource", &flexibleengine.WafDedicatedPolicyArgs{
Level: pulumi.Float64(0),
Name: pulumi.String("string"),
ProtectionMode: pulumi.String("string"),
Region: pulumi.String("string"),
Timeouts: &.WafDedicatedPolicyTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
WafDedicatedPolicyId: pulumi.String("string"),
})
Copy
var wafDedicatedPolicyResource = new WafDedicatedPolicy("wafDedicatedPolicyResource", WafDedicatedPolicyArgs.builder()
    .level(0)
    .name("string")
    .protectionMode("string")
    .region("string")
    .timeouts(WafDedicatedPolicyTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .build())
    .wafDedicatedPolicyId("string")
    .build());
Copy
waf_dedicated_policy_resource = flexibleengine.WafDedicatedPolicy("wafDedicatedPolicyResource",
    level=0,
    name="string",
    protection_mode="string",
    region="string",
    timeouts={
        "create": "string",
        "delete": "string",
    },
    waf_dedicated_policy_id="string")
Copy
const wafDedicatedPolicyResource = new flexibleengine.WafDedicatedPolicy("wafDedicatedPolicyResource", {
    level: 0,
    name: "string",
    protectionMode: "string",
    region: "string",
    timeouts: {
        create: "string",
        "delete": "string",
    },
    wafDedicatedPolicyId: "string",
});
Copy
type: flexibleengine:WafDedicatedPolicy
properties:
    level: 0
    name: string
    protectionMode: string
    region: string
    timeouts:
        create: string
        delete: string
    wafDedicatedPolicyId: string
Copy

WafDedicatedPolicy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The WafDedicatedPolicy resource accepts the following input properties:

Level double
Specifies the protection level. Defaults to 2. Valid values are:
Name string
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
ProtectionMode string
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
Region string
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
Timeouts WafDedicatedPolicyTimeouts
WafDedicatedPolicyId string
The policy ID in UUID format.
Level float64
Specifies the protection level. Defaults to 2. Valid values are:
Name string
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
ProtectionMode string
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
Region string
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
Timeouts WafDedicatedPolicyTimeoutsArgs
WafDedicatedPolicyId string
The policy ID in UUID format.
level Double
Specifies the protection level. Defaults to 2. Valid values are:
name String
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
protectionMode String
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
region String
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
timeouts WafDedicatedPolicyTimeouts
wafDedicatedPolicyId String
The policy ID in UUID format.
level number
Specifies the protection level. Defaults to 2. Valid values are:
name string
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
protectionMode string
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
region string
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
timeouts WafDedicatedPolicyTimeouts
wafDedicatedPolicyId string
The policy ID in UUID format.
level float
Specifies the protection level. Defaults to 2. Valid values are:
name str
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
protection_mode str
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
region str
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
timeouts WafDedicatedPolicyTimeoutsArgs
waf_dedicated_policy_id str
The policy ID in UUID format.
level Number
Specifies the protection level. Defaults to 2. Valid values are:
name String
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
protectionMode String
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
region String
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
timeouts Property Map
wafDedicatedPolicyId String
The policy ID in UUID format.

Outputs

All input properties are implicitly available as output properties. Additionally, the WafDedicatedPolicy resource produces the following output properties:

FullDetection bool
The detection mode in Precise Protection.
Id string
The provider-assigned unique ID for this managed resource.
Options List<WafDedicatedPolicyOption>
The protection switches. The options object structure is documented below.
FullDetection bool
The detection mode in Precise Protection.
Id string
The provider-assigned unique ID for this managed resource.
Options []WafDedicatedPolicyOption
The protection switches. The options object structure is documented below.
fullDetection Boolean
The detection mode in Precise Protection.
id String
The provider-assigned unique ID for this managed resource.
options List<WafDedicatedPolicyOption>
The protection switches. The options object structure is documented below.
fullDetection boolean
The detection mode in Precise Protection.
id string
The provider-assigned unique ID for this managed resource.
options WafDedicatedPolicyOption[]
The protection switches. The options object structure is documented below.
full_detection bool
The detection mode in Precise Protection.
id str
The provider-assigned unique ID for this managed resource.
options Sequence[WafDedicatedPolicyOption]
The protection switches. The options object structure is documented below.
fullDetection Boolean
The detection mode in Precise Protection.
id String
The provider-assigned unique ID for this managed resource.
options List<Property Map>
The protection switches. The options object structure is documented below.

Look up Existing WafDedicatedPolicy Resource

Get an existing WafDedicatedPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: WafDedicatedPolicyState, opts?: CustomResourceOptions): WafDedicatedPolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        full_detection: Optional[bool] = None,
        level: Optional[float] = None,
        name: Optional[str] = None,
        options: Optional[Sequence[WafDedicatedPolicyOptionArgs]] = None,
        protection_mode: Optional[str] = None,
        region: Optional[str] = None,
        timeouts: Optional[WafDedicatedPolicyTimeoutsArgs] = None,
        waf_dedicated_policy_id: Optional[str] = None) -> WafDedicatedPolicy
func GetWafDedicatedPolicy(ctx *Context, name string, id IDInput, state *WafDedicatedPolicyState, opts ...ResourceOption) (*WafDedicatedPolicy, error)
public static WafDedicatedPolicy Get(string name, Input<string> id, WafDedicatedPolicyState? state, CustomResourceOptions? opts = null)
public static WafDedicatedPolicy get(String name, Output<String> id, WafDedicatedPolicyState state, CustomResourceOptions options)
resources:  _:    type: flexibleengine:WafDedicatedPolicy    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
FullDetection bool
The detection mode in Precise Protection.
Level double
Specifies the protection level. Defaults to 2. Valid values are:
Name string
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
Options List<WafDedicatedPolicyOption>
The protection switches. The options object structure is documented below.
ProtectionMode string
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
Region string
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
Timeouts WafDedicatedPolicyTimeouts
WafDedicatedPolicyId string
The policy ID in UUID format.
FullDetection bool
The detection mode in Precise Protection.
Level float64
Specifies the protection level. Defaults to 2. Valid values are:
Name string
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
Options []WafDedicatedPolicyOptionArgs
The protection switches. The options object structure is documented below.
ProtectionMode string
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
Region string
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
Timeouts WafDedicatedPolicyTimeoutsArgs
WafDedicatedPolicyId string
The policy ID in UUID format.
fullDetection Boolean
The detection mode in Precise Protection.
level Double
Specifies the protection level. Defaults to 2. Valid values are:
name String
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
options List<WafDedicatedPolicyOption>
The protection switches. The options object structure is documented below.
protectionMode String
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
region String
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
timeouts WafDedicatedPolicyTimeouts
wafDedicatedPolicyId String
The policy ID in UUID format.
fullDetection boolean
The detection mode in Precise Protection.
level number
Specifies the protection level. Defaults to 2. Valid values are:
name string
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
options WafDedicatedPolicyOption[]
The protection switches. The options object structure is documented below.
protectionMode string
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
region string
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
timeouts WafDedicatedPolicyTimeouts
wafDedicatedPolicyId string
The policy ID in UUID format.
full_detection bool
The detection mode in Precise Protection.
level float
Specifies the protection level. Defaults to 2. Valid values are:
name str
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
options Sequence[WafDedicatedPolicyOptionArgs]
The protection switches. The options object structure is documented below.
protection_mode str
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
region str
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
timeouts WafDedicatedPolicyTimeoutsArgs
waf_dedicated_policy_id str
The policy ID in UUID format.
fullDetection Boolean
The detection mode in Precise Protection.
level Number
Specifies the protection level. Defaults to 2. Valid values are:
name String
Specifies the policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
options List<Property Map>
The protection switches. The options object structure is documented below.
protectionMode String
Specifies the protective action after a rule is matched. Defaults to log. Valid values are:
region String
Specifies the region in which to create the WAF policy resource. If omitted, the provider-level region will be used. Changing this will create a new WAF policy resource.
timeouts Property Map
wafDedicatedPolicyId String
The policy ID in UUID format.

Supporting Types

WafDedicatedPolicyOption
, WafDedicatedPolicyOptionArgs

BasicWebProtection This property is required. bool
Indicates whether Basic Web Protection is enabled.
Blacklist This property is required. bool
Indicates whether Blacklist and Whitelist is enabled.
CcAttackProtection This property is required. bool
Indicates whether CC Attack Protection is enabled.
Crawler This property is required. bool
Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
CrawlerEngine This property is required. bool
Indicates whether the Search Engine switch in Basic Web Protection is enabled.
CrawlerOther This property is required. bool
Indicates whether detection of other crawlers in Basic Web Protection is enabled.
CrawlerScanner This property is required. bool
Indicates whether the Scanner switch in Basic Web Protection is enabled.
CrawlerScript This property is required. bool
Indicates whether the Script Tool switch in Basic Web Protection is enabled.
DataMasking This property is required. bool
Indicates whether Data Masking is enabled.
FalseAlarmMasking This property is required. bool
Indicates whether False Alarm Masking is enabled.
GeneralCheck This property is required. bool
Indicates whether General Check in Basic Web Protection is enabled.
PreciseProtection This property is required. bool
Indicates whether Precise Protection is enabled.
WebTamperProtection This property is required. bool
Indicates whether Web Tamper Protection is enabled.
Webshell This property is required. bool
Indicates whether webshell detection in Basic Web Protection is enabled.
BasicWebProtection This property is required. bool
Indicates whether Basic Web Protection is enabled.
Blacklist This property is required. bool
Indicates whether Blacklist and Whitelist is enabled.
CcAttackProtection This property is required. bool
Indicates whether CC Attack Protection is enabled.
Crawler This property is required. bool
Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
CrawlerEngine This property is required. bool
Indicates whether the Search Engine switch in Basic Web Protection is enabled.
CrawlerOther This property is required. bool
Indicates whether detection of other crawlers in Basic Web Protection is enabled.
CrawlerScanner This property is required. bool
Indicates whether the Scanner switch in Basic Web Protection is enabled.
CrawlerScript This property is required. bool
Indicates whether the Script Tool switch in Basic Web Protection is enabled.
DataMasking This property is required. bool
Indicates whether Data Masking is enabled.
FalseAlarmMasking This property is required. bool
Indicates whether False Alarm Masking is enabled.
GeneralCheck This property is required. bool
Indicates whether General Check in Basic Web Protection is enabled.
PreciseProtection This property is required. bool
Indicates whether Precise Protection is enabled.
WebTamperProtection This property is required. bool
Indicates whether Web Tamper Protection is enabled.
Webshell This property is required. bool
Indicates whether webshell detection in Basic Web Protection is enabled.
basicWebProtection This property is required. Boolean
Indicates whether Basic Web Protection is enabled.
blacklist This property is required. Boolean
Indicates whether Blacklist and Whitelist is enabled.
ccAttackProtection This property is required. Boolean
Indicates whether CC Attack Protection is enabled.
crawler This property is required. Boolean
Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
crawlerEngine This property is required. Boolean
Indicates whether the Search Engine switch in Basic Web Protection is enabled.
crawlerOther This property is required. Boolean
Indicates whether detection of other crawlers in Basic Web Protection is enabled.
crawlerScanner This property is required. Boolean
Indicates whether the Scanner switch in Basic Web Protection is enabled.
crawlerScript This property is required. Boolean
Indicates whether the Script Tool switch in Basic Web Protection is enabled.
dataMasking This property is required. Boolean
Indicates whether Data Masking is enabled.
falseAlarmMasking This property is required. Boolean
Indicates whether False Alarm Masking is enabled.
generalCheck This property is required. Boolean
Indicates whether General Check in Basic Web Protection is enabled.
preciseProtection This property is required. Boolean
Indicates whether Precise Protection is enabled.
webTamperProtection This property is required. Boolean
Indicates whether Web Tamper Protection is enabled.
webshell This property is required. Boolean
Indicates whether webshell detection in Basic Web Protection is enabled.
basicWebProtection This property is required. boolean
Indicates whether Basic Web Protection is enabled.
blacklist This property is required. boolean
Indicates whether Blacklist and Whitelist is enabled.
ccAttackProtection This property is required. boolean
Indicates whether CC Attack Protection is enabled.
crawler This property is required. boolean
Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
crawlerEngine This property is required. boolean
Indicates whether the Search Engine switch in Basic Web Protection is enabled.
crawlerOther This property is required. boolean
Indicates whether detection of other crawlers in Basic Web Protection is enabled.
crawlerScanner This property is required. boolean
Indicates whether the Scanner switch in Basic Web Protection is enabled.
crawlerScript This property is required. boolean
Indicates whether the Script Tool switch in Basic Web Protection is enabled.
dataMasking This property is required. boolean
Indicates whether Data Masking is enabled.
falseAlarmMasking This property is required. boolean
Indicates whether False Alarm Masking is enabled.
generalCheck This property is required. boolean
Indicates whether General Check in Basic Web Protection is enabled.
preciseProtection This property is required. boolean
Indicates whether Precise Protection is enabled.
webTamperProtection This property is required. boolean
Indicates whether Web Tamper Protection is enabled.
webshell This property is required. boolean
Indicates whether webshell detection in Basic Web Protection is enabled.
basic_web_protection This property is required. bool
Indicates whether Basic Web Protection is enabled.
blacklist This property is required. bool
Indicates whether Blacklist and Whitelist is enabled.
cc_attack_protection This property is required. bool
Indicates whether CC Attack Protection is enabled.
crawler This property is required. bool
Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
crawler_engine This property is required. bool
Indicates whether the Search Engine switch in Basic Web Protection is enabled.
crawler_other This property is required. bool
Indicates whether detection of other crawlers in Basic Web Protection is enabled.
crawler_scanner This property is required. bool
Indicates whether the Scanner switch in Basic Web Protection is enabled.
crawler_script This property is required. bool
Indicates whether the Script Tool switch in Basic Web Protection is enabled.
data_masking This property is required. bool
Indicates whether Data Masking is enabled.
false_alarm_masking This property is required. bool
Indicates whether False Alarm Masking is enabled.
general_check This property is required. bool
Indicates whether General Check in Basic Web Protection is enabled.
precise_protection This property is required. bool
Indicates whether Precise Protection is enabled.
web_tamper_protection This property is required. bool
Indicates whether Web Tamper Protection is enabled.
webshell This property is required. bool
Indicates whether webshell detection in Basic Web Protection is enabled.
basicWebProtection This property is required. Boolean
Indicates whether Basic Web Protection is enabled.
blacklist This property is required. Boolean
Indicates whether Blacklist and Whitelist is enabled.
ccAttackProtection This property is required. Boolean
Indicates whether CC Attack Protection is enabled.
crawler This property is required. Boolean
Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
crawlerEngine This property is required. Boolean
Indicates whether the Search Engine switch in Basic Web Protection is enabled.
crawlerOther This property is required. Boolean
Indicates whether detection of other crawlers in Basic Web Protection is enabled.
crawlerScanner This property is required. Boolean
Indicates whether the Scanner switch in Basic Web Protection is enabled.
crawlerScript This property is required. Boolean
Indicates whether the Script Tool switch in Basic Web Protection is enabled.
dataMasking This property is required. Boolean
Indicates whether Data Masking is enabled.
falseAlarmMasking This property is required. Boolean
Indicates whether False Alarm Masking is enabled.
generalCheck This property is required. Boolean
Indicates whether General Check in Basic Web Protection is enabled.
preciseProtection This property is required. Boolean
Indicates whether Precise Protection is enabled.
webTamperProtection This property is required. Boolean
Indicates whether Web Tamper Protection is enabled.
webshell This property is required. Boolean
Indicates whether webshell detection in Basic Web Protection is enabled.

WafDedicatedPolicyTimeouts
, WafDedicatedPolicyTimeoutsArgs

Create string
Delete string
Create string
Delete string
create String
delete String
create string
delete string
create str
delete str
create String
delete String

Import

Policies can be imported using the id, e.g.

$ pulumi import flexibleengine:index/wafDedicatedPolicy:WafDedicatedPolicy policy_2 25e1df831bea4022a6e22bebe678915a
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.