published on Tuesday, Jun 30, 2026 by tencentcloudstack
published on Tuesday, Jun 30, 2026 by tencentcloudstack
Provides a resource to create a WAF api sec sensitive custom event rule
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.WafApiSecSensitiveCustomEventRule("example", {
domain: "www.example.com",
ruleName: "tf-example",
status: 1,
description: "tf example custom event rule",
reqFrequencies: [
10,
1,
],
riskLevel: "100",
source: "custom",
apiNameOps: [{
op: "belong",
values: ["/api/login"],
apiNameMethods: [{
apiName: "/api/login",
method: "POST",
}],
}],
matchRuleLists: [{
key: "get_key",
operate: "exist",
values: [
"admin",
"root",
],
}],
statRuleLists: [{
key: "status",
operate: "num_gt",
values: ["50"],
name: "200",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.WafApiSecSensitiveCustomEventRule("example",
domain="www.example.com",
rule_name="tf-example",
status=1,
description="tf example custom event rule",
req_frequencies=[
10,
1,
],
risk_level="100",
source="custom",
api_name_ops=[{
"op": "belong",
"values": ["/api/login"],
"api_name_methods": [{
"api_name": "/api/login",
"method": "POST",
}],
}],
match_rule_lists=[{
"key": "get_key",
"operate": "exist",
"values": [
"admin",
"root",
],
}],
stat_rule_lists=[{
"key": "status",
"operate": "num_gt",
"values": ["50"],
"name": "200",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewWafApiSecSensitiveCustomEventRule(ctx, "example", &tencentcloud.WafApiSecSensitiveCustomEventRuleArgs{
Domain: pulumi.String("www.example.com"),
RuleName: pulumi.String("tf-example"),
Status: pulumi.Float64(1),
Description: pulumi.String("tf example custom event rule"),
ReqFrequencies: pulumi.Float64Array{
pulumi.Float64(10),
pulumi.Float64(1),
},
RiskLevel: pulumi.String("100"),
Source: pulumi.String("custom"),
ApiNameOps: tencentcloud.WafApiSecSensitiveCustomEventRuleApiNameOpArray{
&tencentcloud.WafApiSecSensitiveCustomEventRuleApiNameOpArgs{
Op: pulumi.String("belong"),
Values: pulumi.StringArray{
pulumi.String("/api/login"),
},
ApiNameMethods: tencentcloud.WafApiSecSensitiveCustomEventRuleApiNameOpApiNameMethodArray{
&tencentcloud.WafApiSecSensitiveCustomEventRuleApiNameOpApiNameMethodArgs{
ApiName: pulumi.String("/api/login"),
Method: pulumi.String("POST"),
},
},
},
},
MatchRuleLists: tencentcloud.WafApiSecSensitiveCustomEventRuleMatchRuleListArray{
&tencentcloud.WafApiSecSensitiveCustomEventRuleMatchRuleListArgs{
Key: pulumi.String("get_key"),
Operate: pulumi.String("exist"),
Values: pulumi.StringArray{
pulumi.String("admin"),
pulumi.String("root"),
},
},
},
StatRuleLists: tencentcloud.WafApiSecSensitiveCustomEventRuleStatRuleListArray{
&tencentcloud.WafApiSecSensitiveCustomEventRuleStatRuleListArgs{
Key: pulumi.String("status"),
Operate: pulumi.String("num_gt"),
Values: pulumi.StringArray{
pulumi.String("50"),
},
Name: pulumi.String("200"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.WafApiSecSensitiveCustomEventRule("example", new()
{
Domain = "www.example.com",
RuleName = "tf-example",
Status = 1,
Description = "tf example custom event rule",
ReqFrequencies = new[]
{
10,
1,
},
RiskLevel = "100",
Source = "custom",
ApiNameOps = new[]
{
new Tencentcloud.Inputs.WafApiSecSensitiveCustomEventRuleApiNameOpArgs
{
Op = "belong",
Values = new[]
{
"/api/login",
},
ApiNameMethods = new[]
{
new Tencentcloud.Inputs.WafApiSecSensitiveCustomEventRuleApiNameOpApiNameMethodArgs
{
ApiName = "/api/login",
Method = "POST",
},
},
},
},
MatchRuleLists = new[]
{
new Tencentcloud.Inputs.WafApiSecSensitiveCustomEventRuleMatchRuleListArgs
{
Key = "get_key",
Operate = "exist",
Values = new[]
{
"admin",
"root",
},
},
},
StatRuleLists = new[]
{
new Tencentcloud.Inputs.WafApiSecSensitiveCustomEventRuleStatRuleListArgs
{
Key = "status",
Operate = "num_gt",
Values = new[]
{
"50",
},
Name = "200",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WafApiSecSensitiveCustomEventRule;
import com.pulumi.tencentcloud.WafApiSecSensitiveCustomEventRuleArgs;
import com.pulumi.tencentcloud.inputs.WafApiSecSensitiveCustomEventRuleApiNameOpArgs;
import com.pulumi.tencentcloud.inputs.WafApiSecSensitiveCustomEventRuleMatchRuleListArgs;
import com.pulumi.tencentcloud.inputs.WafApiSecSensitiveCustomEventRuleStatRuleListArgs;
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 example = new WafApiSecSensitiveCustomEventRule("example", WafApiSecSensitiveCustomEventRuleArgs.builder()
.domain("www.example.com")
.ruleName("tf-example")
.status(1.0)
.description("tf example custom event rule")
.reqFrequencies(
10.0,
1.0)
.riskLevel("100")
.source("custom")
.apiNameOps(WafApiSecSensitiveCustomEventRuleApiNameOpArgs.builder()
.op("belong")
.values("/api/login")
.apiNameMethods(WafApiSecSensitiveCustomEventRuleApiNameOpApiNameMethodArgs.builder()
.apiName("/api/login")
.method("POST")
.build())
.build())
.matchRuleLists(WafApiSecSensitiveCustomEventRuleMatchRuleListArgs.builder()
.key("get_key")
.operate("exist")
.values(
"admin",
"root")
.build())
.statRuleLists(WafApiSecSensitiveCustomEventRuleStatRuleListArgs.builder()
.key("status")
.operate("num_gt")
.values("50")
.name("200")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:WafApiSecSensitiveCustomEventRule
properties:
domain: www.example.com
ruleName: tf-example
status: 1
description: tf example custom event rule
reqFrequencies:
- 10
- 1
riskLevel: '100'
source: custom
apiNameOps:
- op: belong
values:
- /api/login
apiNameMethods:
- apiName: /api/login
method: POST
matchRuleLists:
- key: get_key
operate: exist
values:
- admin
- root
statRuleLists:
- key: status
operate: num_gt
values:
- '50'
name: '200'
Example coming soon!
Create WafApiSecSensitiveCustomEventRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WafApiSecSensitiveCustomEventRule(name: string, args: WafApiSecSensitiveCustomEventRuleArgs, opts?: CustomResourceOptions);@overload
def WafApiSecSensitiveCustomEventRule(resource_name: str,
args: WafApiSecSensitiveCustomEventRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WafApiSecSensitiveCustomEventRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
rule_name: Optional[str] = None,
status: Optional[float] = None,
api_name_ops: Optional[Sequence[WafApiSecSensitiveCustomEventRuleApiNameOpArgs]] = None,
description: Optional[str] = None,
match_rule_lists: Optional[Sequence[WafApiSecSensitiveCustomEventRuleMatchRuleListArgs]] = None,
req_frequencies: Optional[Sequence[float]] = None,
risk_level: Optional[str] = None,
source: Optional[str] = None,
stat_rule_lists: Optional[Sequence[WafApiSecSensitiveCustomEventRuleStatRuleListArgs]] = None,
waf_api_sec_sensitive_custom_event_rule_id: Optional[str] = None)func NewWafApiSecSensitiveCustomEventRule(ctx *Context, name string, args WafApiSecSensitiveCustomEventRuleArgs, opts ...ResourceOption) (*WafApiSecSensitiveCustomEventRule, error)public WafApiSecSensitiveCustomEventRule(string name, WafApiSecSensitiveCustomEventRuleArgs args, CustomResourceOptions? opts = null)
public WafApiSecSensitiveCustomEventRule(String name, WafApiSecSensitiveCustomEventRuleArgs args)
public WafApiSecSensitiveCustomEventRule(String name, WafApiSecSensitiveCustomEventRuleArgs args, CustomResourceOptions options)
type: tencentcloud:WafApiSecSensitiveCustomEventRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_wafapisecsensitivecustomeventrule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WafApiSecSensitiveCustomEventRuleArgs
- 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 WafApiSecSensitiveCustomEventRuleArgs
- 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 WafApiSecSensitiveCustomEventRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WafApiSecSensitiveCustomEventRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WafApiSecSensitiveCustomEventRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WafApiSecSensitiveCustomEventRule 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 WafApiSecSensitiveCustomEventRule resource accepts the following input properties:
- Domain string
- Domain name.
- Rule
Name string - Rule name.
- Status double
- Rule switch, 0: off, 1: on.
- Api
Name List<WafOps Api Sec Sensitive Custom Event Rule Api Name Op> - API match list.
- Description string
- Event description.
- Match
Rule List<WafLists Api Sec Sensitive Custom Event Rule Match Rule List> - Match rule list.
- Req
Frequencies List<double> - Access frequency, the first field represents the count, the second field represents the minute.
- Risk
Level string - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- Source string
- Rule source.
- Stat
Rule List<WafLists Api Sec Sensitive Custom Event Rule Stat Rule List> - Statistics rule list.
- Waf
Api stringSec Sensitive Custom Event Rule Id - ID of the resource.
- Domain string
- Domain name.
- Rule
Name string - Rule name.
- Status float64
- Rule switch, 0: off, 1: on.
- Api
Name []WafOps Api Sec Sensitive Custom Event Rule Api Name Op Args - API match list.
- Description string
- Event description.
- Match
Rule []WafLists Api Sec Sensitive Custom Event Rule Match Rule List Args - Match rule list.
- Req
Frequencies []float64 - Access frequency, the first field represents the count, the second field represents the minute.
- Risk
Level string - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- Source string
- Rule source.
- Stat
Rule []WafLists Api Sec Sensitive Custom Event Rule Stat Rule List Args - Statistics rule list.
- Waf
Api stringSec Sensitive Custom Event Rule Id - ID of the resource.
- domain string
- Domain name.
- rule_
name string - Rule name.
- status number
- Rule switch, 0: off, 1: on.
- api_
name_ list(object)ops - API match list.
- description string
- Event description.
- match_
rule_ list(object)lists - Match rule list.
- req_
frequencies list(number) - Access frequency, the first field represents the count, the second field represents the minute.
- risk_
level string - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- source string
- Rule source.
- stat_
rule_ list(object)lists - Statistics rule list.
- waf_
api_ stringsec_ sensitive_ custom_ event_ rule_ id - ID of the resource.
- domain String
- Domain name.
- rule
Name String - Rule name.
- status Double
- Rule switch, 0: off, 1: on.
- api
Name List<WafOps Api Sec Sensitive Custom Event Rule Api Name Op> - API match list.
- description String
- Event description.
- match
Rule List<WafLists Api Sec Sensitive Custom Event Rule Match Rule List> - Match rule list.
- req
Frequencies List<Double> - Access frequency, the first field represents the count, the second field represents the minute.
- risk
Level String - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- source String
- Rule source.
- stat
Rule List<WafLists Api Sec Sensitive Custom Event Rule Stat Rule List> - Statistics rule list.
- waf
Api StringSec Sensitive Custom Event Rule Id - ID of the resource.
- domain string
- Domain name.
- rule
Name string - Rule name.
- status number
- Rule switch, 0: off, 1: on.
- api
Name WafOps Api Sec Sensitive Custom Event Rule Api Name Op[] - API match list.
- description string
- Event description.
- match
Rule WafLists Api Sec Sensitive Custom Event Rule Match Rule List[] - Match rule list.
- req
Frequencies number[] - Access frequency, the first field represents the count, the second field represents the minute.
- risk
Level string - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- source string
- Rule source.
- stat
Rule WafLists Api Sec Sensitive Custom Event Rule Stat Rule List[] - Statistics rule list.
- waf
Api stringSec Sensitive Custom Event Rule Id - ID of the resource.
- domain str
- Domain name.
- rule_
name str - Rule name.
- status float
- Rule switch, 0: off, 1: on.
- api_
name_ Sequence[Wafops Api Sec Sensitive Custom Event Rule Api Name Op Args] - API match list.
- description str
- Event description.
- match_
rule_ Sequence[Waflists Api Sec Sensitive Custom Event Rule Match Rule List Args] - Match rule list.
- req_
frequencies Sequence[float] - Access frequency, the first field represents the count, the second field represents the minute.
- risk_
level str - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- source str
- Rule source.
- stat_
rule_ Sequence[Waflists Api Sec Sensitive Custom Event Rule Stat Rule List Args] - Statistics rule list.
- waf_
api_ strsec_ sensitive_ custom_ event_ rule_ id - ID of the resource.
- domain String
- Domain name.
- rule
Name String - Rule name.
- status Number
- Rule switch, 0: off, 1: on.
- api
Name List<Property Map>Ops - API match list.
- description String
- Event description.
- match
Rule List<Property Map>Lists - Match rule list.
- req
Frequencies List<Number> - Access frequency, the first field represents the count, the second field represents the minute.
- risk
Level String - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- source String
- Rule source.
- stat
Rule List<Property Map>Lists - Statistics rule list.
- waf
Api StringSec Sensitive Custom Event Rule Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WafApiSecSensitiveCustomEventRule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time double - Update timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time float64 - Update timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- update_
time number - Update timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time Double - Update timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time number - Update timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time float - Update timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time Number - Update timestamp.
Look up Existing WafApiSecSensitiveCustomEventRule Resource
Get an existing WafApiSecSensitiveCustomEventRule 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?: WafApiSecSensitiveCustomEventRuleState, opts?: CustomResourceOptions): WafApiSecSensitiveCustomEventRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_name_ops: Optional[Sequence[WafApiSecSensitiveCustomEventRuleApiNameOpArgs]] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
match_rule_lists: Optional[Sequence[WafApiSecSensitiveCustomEventRuleMatchRuleListArgs]] = None,
req_frequencies: Optional[Sequence[float]] = None,
risk_level: Optional[str] = None,
rule_name: Optional[str] = None,
source: Optional[str] = None,
stat_rule_lists: Optional[Sequence[WafApiSecSensitiveCustomEventRuleStatRuleListArgs]] = None,
status: Optional[float] = None,
update_time: Optional[float] = None,
waf_api_sec_sensitive_custom_event_rule_id: Optional[str] = None) -> WafApiSecSensitiveCustomEventRulefunc GetWafApiSecSensitiveCustomEventRule(ctx *Context, name string, id IDInput, state *WafApiSecSensitiveCustomEventRuleState, opts ...ResourceOption) (*WafApiSecSensitiveCustomEventRule, error)public static WafApiSecSensitiveCustomEventRule Get(string name, Input<string> id, WafApiSecSensitiveCustomEventRuleState? state, CustomResourceOptions? opts = null)public static WafApiSecSensitiveCustomEventRule get(String name, Output<String> id, WafApiSecSensitiveCustomEventRuleState state, CustomResourceOptions options)resources: _: type: tencentcloud:WafApiSecSensitiveCustomEventRule get: id: ${id}import {
to = tencentcloud_wafapisecsensitivecustomeventrule.example
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.
- Api
Name List<WafOps Api Sec Sensitive Custom Event Rule Api Name Op> - API match list.
- Description string
- Event description.
- Domain string
- Domain name.
- Match
Rule List<WafLists Api Sec Sensitive Custom Event Rule Match Rule List> - Match rule list.
- Req
Frequencies List<double> - Access frequency, the first field represents the count, the second field represents the minute.
- Risk
Level string - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- Rule
Name string - Rule name.
- Source string
- Rule source.
- Stat
Rule List<WafLists Api Sec Sensitive Custom Event Rule Stat Rule List> - Statistics rule list.
- Status double
- Rule switch, 0: off, 1: on.
- Update
Time double - Update timestamp.
- Waf
Api stringSec Sensitive Custom Event Rule Id - ID of the resource.
- Api
Name []WafOps Api Sec Sensitive Custom Event Rule Api Name Op Args - API match list.
- Description string
- Event description.
- Domain string
- Domain name.
- Match
Rule []WafLists Api Sec Sensitive Custom Event Rule Match Rule List Args - Match rule list.
- Req
Frequencies []float64 - Access frequency, the first field represents the count, the second field represents the minute.
- Risk
Level string - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- Rule
Name string - Rule name.
- Source string
- Rule source.
- Stat
Rule []WafLists Api Sec Sensitive Custom Event Rule Stat Rule List Args - Statistics rule list.
- Status float64
- Rule switch, 0: off, 1: on.
- Update
Time float64 - Update timestamp.
- Waf
Api stringSec Sensitive Custom Event Rule Id - ID of the resource.
- api_
name_ list(object)ops - API match list.
- description string
- Event description.
- domain string
- Domain name.
- match_
rule_ list(object)lists - Match rule list.
- req_
frequencies list(number) - Access frequency, the first field represents the count, the second field represents the minute.
- risk_
level string - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- rule_
name string - Rule name.
- source string
- Rule source.
- stat_
rule_ list(object)lists - Statistics rule list.
- status number
- Rule switch, 0: off, 1: on.
- update_
time number - Update timestamp.
- waf_
api_ stringsec_ sensitive_ custom_ event_ rule_ id - ID of the resource.
- api
Name List<WafOps Api Sec Sensitive Custom Event Rule Api Name Op> - API match list.
- description String
- Event description.
- domain String
- Domain name.
- match
Rule List<WafLists Api Sec Sensitive Custom Event Rule Match Rule List> - Match rule list.
- req
Frequencies List<Double> - Access frequency, the first field represents the count, the second field represents the minute.
- risk
Level String - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- rule
Name String - Rule name.
- source String
- Rule source.
- stat
Rule List<WafLists Api Sec Sensitive Custom Event Rule Stat Rule List> - Statistics rule list.
- status Double
- Rule switch, 0: off, 1: on.
- update
Time Double - Update timestamp.
- waf
Api StringSec Sensitive Custom Event Rule Id - ID of the resource.
- api
Name WafOps Api Sec Sensitive Custom Event Rule Api Name Op[] - API match list.
- description string
- Event description.
- domain string
- Domain name.
- match
Rule WafLists Api Sec Sensitive Custom Event Rule Match Rule List[] - Match rule list.
- req
Frequencies number[] - Access frequency, the first field represents the count, the second field represents the minute.
- risk
Level string - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- rule
Name string - Rule name.
- source string
- Rule source.
- stat
Rule WafLists Api Sec Sensitive Custom Event Rule Stat Rule List[] - Statistics rule list.
- status number
- Rule switch, 0: off, 1: on.
- update
Time number - Update timestamp.
- waf
Api stringSec Sensitive Custom Event Rule Id - ID of the resource.
- api_
name_ Sequence[Wafops Api Sec Sensitive Custom Event Rule Api Name Op Args] - API match list.
- description str
- Event description.
- domain str
- Domain name.
- match_
rule_ Sequence[Waflists Api Sec Sensitive Custom Event Rule Match Rule List Args] - Match rule list.
- req_
frequencies Sequence[float] - Access frequency, the first field represents the count, the second field represents the minute.
- risk_
level str - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- rule_
name str - Rule name.
- source str
- Rule source.
- stat_
rule_ Sequence[Waflists Api Sec Sensitive Custom Event Rule Stat Rule List Args] - Statistics rule list.
- status float
- Rule switch, 0: off, 1: on.
- update_
time float - Update timestamp.
- waf_
api_ strsec_ sensitive_ custom_ event_ rule_ id - ID of the resource.
- api
Name List<Property Map>Ops - API match list.
- description String
- Event description.
- domain String
- Domain name.
- match
Rule List<Property Map>Lists - Match rule list.
- req
Frequencies List<Number> - Access frequency, the first field represents the count, the second field represents the minute.
- risk
Level String - Risk level, the value is 100, 200, 300, respectively representing low, medium, high risk.
- rule
Name String - Rule name.
- source String
- Rule source.
- stat
Rule List<Property Map>Lists - Statistics rule list.
- status Number
- Rule switch, 0: off, 1: on.
- update
Time Number - Update timestamp.
- waf
Api StringSec Sensitive Custom Event Rule Id - ID of the resource.
Supporting Types
WafApiSecSensitiveCustomEventRuleApiNameOp, WafApiSecSensitiveCustomEventRuleApiNameOpArgs
- Api
Name List<WafMethods Api Sec Sensitive Custom Event Rule Api Name Op Api Name Method> - When manually filtering, this structure should be passed.
- Op string
- Match method, such as belong and regex.
- Values List<string>
- Match value list.
- Api
Name []WafMethods Api Sec Sensitive Custom Event Rule Api Name Op Api Name Method - When manually filtering, this structure should be passed.
- Op string
- Match method, such as belong and regex.
- Values []string
- Match value list.
- api_
name_ list(object)methods - When manually filtering, this structure should be passed.
- op string
- Match method, such as belong and regex.
- values list(string)
- Match value list.
- api
Name List<WafMethods Api Sec Sensitive Custom Event Rule Api Name Op Api Name Method> - When manually filtering, this structure should be passed.
- op String
- Match method, such as belong and regex.
- values List<String>
- Match value list.
- api
Name WafMethods Api Sec Sensitive Custom Event Rule Api Name Op Api Name Method[] - When manually filtering, this structure should be passed.
- op string
- Match method, such as belong and regex.
- values string[]
- Match value list.
- api_
name_ Sequence[Wafmethods Api Sec Sensitive Custom Event Rule Api Name Op Api Name Method] - When manually filtering, this structure should be passed.
- op str
- Match method, such as belong and regex.
- values Sequence[str]
- Match value list.
- api
Name List<Property Map>Methods - When manually filtering, this structure should be passed.
- op String
- Match method, such as belong and regex.
- values List<String>
- Match value list.
WafApiSecSensitiveCustomEventRuleApiNameOpApiNameMethod, WafApiSecSensitiveCustomEventRuleApiNameOpApiNameMethodArgs
WafApiSecSensitiveCustomEventRuleMatchRuleList, WafApiSecSensitiveCustomEventRuleMatchRuleListArgs
WafApiSecSensitiveCustomEventRuleStatRuleList, WafApiSecSensitiveCustomEventRuleStatRuleListArgs
Import
WAF api sec sensitive custom event rule can be imported using the domain#ruleName, e.g.
$ pulumi import tencentcloud:index/wafApiSecSensitiveCustomEventRule:WafApiSecSensitiveCustomEventRule example www.example.com#tf-example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Tuesday, Jun 30, 2026 by tencentcloudstack