tencentcloud_waf_custom_ruleNivis Nix constructor for the tencentcloud_waf_custom_rule resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
action_type,
domain,
expire_time,
sort_id,
id ? null,
job_type ? null,
cfg_name ? null,
redirect ? null,
status ? null,
job_date_time ? null,
strategies ? null,
overrides ? {}
}Required arguments
action_typedomainexpire_timesort_id
Optional arguments
id(defaults tonull)job_type(defaults tonull)cfg_name(defaults tonull)redirect(defaults tonull)status(defaults tonull)job_date_time(defaults tonull)strategies(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
rule_id
Example
tencentcloud_waf_custom_rule {
name = "waf_custom_rule";
action_type = …; # required
domain = …; # required
expire_time = …; # required
sort_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.