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

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    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",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    policy1 = flexibleengine.WafDedicatedPolicy("policy1",
        level=2,
        protection_mode="log")
    
    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
    	})
    }
    
    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",
        });
    
    });
    
    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());
    
        }
    }
    
    resources:
      policy1:
        type: flexibleengine:WafDedicatedPolicy
        properties:
          level: 2
          protectionMode: log
    

    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 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 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 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 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 String
    The unique name of the resource.
    args 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",
    });
    
    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: &flexibleengine.WafDedicatedPolicyTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    	WafDedicatedPolicyId: pulumi.String("string"),
    })
    
    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());
    
    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")
    
    const wafDedicatedPolicyResource = new flexibleengine.WafDedicatedPolicy("wafDedicatedPolicyResource", {
        level: 0,
        name: "string",
        protectionMode: "string",
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
        wafDedicatedPolicyId: "string",
    });
    
    type: flexibleengine:WafDedicatedPolicy
    properties:
        level: 0
        name: string
        protectionMode: string
        region: string
        timeouts:
            create: string
            delete: string
        wafDedicatedPolicyId: string
    

    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 bool
    Indicates whether Basic Web Protection is enabled.
    Blacklist bool
    Indicates whether Blacklist and Whitelist is enabled.
    CcAttackProtection bool
    Indicates whether CC Attack Protection is enabled.
    Crawler bool
    Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
    CrawlerEngine bool
    Indicates whether the Search Engine switch in Basic Web Protection is enabled.
    CrawlerOther bool
    Indicates whether detection of other crawlers in Basic Web Protection is enabled.
    CrawlerScanner bool
    Indicates whether the Scanner switch in Basic Web Protection is enabled.
    CrawlerScript bool
    Indicates whether the Script Tool switch in Basic Web Protection is enabled.
    DataMasking bool
    Indicates whether Data Masking is enabled.
    FalseAlarmMasking bool
    Indicates whether False Alarm Masking is enabled.
    GeneralCheck bool
    Indicates whether General Check in Basic Web Protection is enabled.
    PreciseProtection bool
    Indicates whether Precise Protection is enabled.
    WebTamperProtection bool
    Indicates whether Web Tamper Protection is enabled.
    Webshell bool
    Indicates whether webshell detection in Basic Web Protection is enabled.
    BasicWebProtection bool
    Indicates whether Basic Web Protection is enabled.
    Blacklist bool
    Indicates whether Blacklist and Whitelist is enabled.
    CcAttackProtection bool
    Indicates whether CC Attack Protection is enabled.
    Crawler bool
    Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
    CrawlerEngine bool
    Indicates whether the Search Engine switch in Basic Web Protection is enabled.
    CrawlerOther bool
    Indicates whether detection of other crawlers in Basic Web Protection is enabled.
    CrawlerScanner bool
    Indicates whether the Scanner switch in Basic Web Protection is enabled.
    CrawlerScript bool
    Indicates whether the Script Tool switch in Basic Web Protection is enabled.
    DataMasking bool
    Indicates whether Data Masking is enabled.
    FalseAlarmMasking bool
    Indicates whether False Alarm Masking is enabled.
    GeneralCheck bool
    Indicates whether General Check in Basic Web Protection is enabled.
    PreciseProtection bool
    Indicates whether Precise Protection is enabled.
    WebTamperProtection bool
    Indicates whether Web Tamper Protection is enabled.
    Webshell bool
    Indicates whether webshell detection in Basic Web Protection is enabled.
    basicWebProtection Boolean
    Indicates whether Basic Web Protection is enabled.
    blacklist Boolean
    Indicates whether Blacklist and Whitelist is enabled.
    ccAttackProtection Boolean
    Indicates whether CC Attack Protection is enabled.
    crawler Boolean
    Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
    crawlerEngine Boolean
    Indicates whether the Search Engine switch in Basic Web Protection is enabled.
    crawlerOther Boolean
    Indicates whether detection of other crawlers in Basic Web Protection is enabled.
    crawlerScanner Boolean
    Indicates whether the Scanner switch in Basic Web Protection is enabled.
    crawlerScript Boolean
    Indicates whether the Script Tool switch in Basic Web Protection is enabled.
    dataMasking Boolean
    Indicates whether Data Masking is enabled.
    falseAlarmMasking Boolean
    Indicates whether False Alarm Masking is enabled.
    generalCheck Boolean
    Indicates whether General Check in Basic Web Protection is enabled.
    preciseProtection Boolean
    Indicates whether Precise Protection is enabled.
    webTamperProtection Boolean
    Indicates whether Web Tamper Protection is enabled.
    webshell Boolean
    Indicates whether webshell detection in Basic Web Protection is enabled.
    basicWebProtection boolean
    Indicates whether Basic Web Protection is enabled.
    blacklist boolean
    Indicates whether Blacklist and Whitelist is enabled.
    ccAttackProtection boolean
    Indicates whether CC Attack Protection is enabled.
    crawler boolean
    Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
    crawlerEngine boolean
    Indicates whether the Search Engine switch in Basic Web Protection is enabled.
    crawlerOther boolean
    Indicates whether detection of other crawlers in Basic Web Protection is enabled.
    crawlerScanner boolean
    Indicates whether the Scanner switch in Basic Web Protection is enabled.
    crawlerScript boolean
    Indicates whether the Script Tool switch in Basic Web Protection is enabled.
    dataMasking boolean
    Indicates whether Data Masking is enabled.
    falseAlarmMasking boolean
    Indicates whether False Alarm Masking is enabled.
    generalCheck boolean
    Indicates whether General Check in Basic Web Protection is enabled.
    preciseProtection boolean
    Indicates whether Precise Protection is enabled.
    webTamperProtection boolean
    Indicates whether Web Tamper Protection is enabled.
    webshell boolean
    Indicates whether webshell detection in Basic Web Protection is enabled.
    basic_web_protection bool
    Indicates whether Basic Web Protection is enabled.
    blacklist bool
    Indicates whether Blacklist and Whitelist is enabled.
    cc_attack_protection bool
    Indicates whether CC Attack Protection is enabled.
    crawler bool
    Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
    crawler_engine bool
    Indicates whether the Search Engine switch in Basic Web Protection is enabled.
    crawler_other bool
    Indicates whether detection of other crawlers in Basic Web Protection is enabled.
    crawler_scanner bool
    Indicates whether the Scanner switch in Basic Web Protection is enabled.
    crawler_script bool
    Indicates whether the Script Tool switch in Basic Web Protection is enabled.
    data_masking bool
    Indicates whether Data Masking is enabled.
    false_alarm_masking bool
    Indicates whether False Alarm Masking is enabled.
    general_check bool
    Indicates whether General Check in Basic Web Protection is enabled.
    precise_protection bool
    Indicates whether Precise Protection is enabled.
    web_tamper_protection bool
    Indicates whether Web Tamper Protection is enabled.
    webshell bool
    Indicates whether webshell detection in Basic Web Protection is enabled.
    basicWebProtection Boolean
    Indicates whether Basic Web Protection is enabled.
    blacklist Boolean
    Indicates whether Blacklist and Whitelist is enabled.
    ccAttackProtection Boolean
    Indicates whether CC Attack Protection is enabled.
    crawler Boolean
    Indicates whether the master crawler detection switch in Basic Web Protection is enabled.
    crawlerEngine Boolean
    Indicates whether the Search Engine switch in Basic Web Protection is enabled.
    crawlerOther Boolean
    Indicates whether detection of other crawlers in Basic Web Protection is enabled.
    crawlerScanner Boolean
    Indicates whether the Scanner switch in Basic Web Protection is enabled.
    crawlerScript Boolean
    Indicates whether the Script Tool switch in Basic Web Protection is enabled.
    dataMasking Boolean
    Indicates whether Data Masking is enabled.
    falseAlarmMasking Boolean
    Indicates whether False Alarm Masking is enabled.
    generalCheck Boolean
    Indicates whether General Check in Basic Web Protection is enabled.
    preciseProtection Boolean
    Indicates whether Precise Protection is enabled.
    webTamperProtection Boolean
    Indicates whether Web Tamper Protection is enabled.
    webshell 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
    

    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.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud