aws_wafv2_rule_groupNivis Nix constructor for the aws_wafv2_rule_group resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
capacity,
scope,
description ? null,
id ? null,
cfg_name ? null,
name_prefix ? null,
region ? null,
rules_json ? null,
tags ? null,
tags_all ? null,
custom_response_body ? null,
monetization_config ? null,
rule ? null,
visibility_config ? null,
overrides ? {}
}Required arguments
capacityscope
Optional arguments
description(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)name_prefix(defaults tonull)region(defaults tonull)rules_json(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)custom_response_body(defaults tonull)monetization_config(defaults tonull)rule(defaults tonull)visibility_config(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnlock_token
Example
aws_wafv2_rule_group {
name = "wafv2_rule_group";
capacity = …; # required
scope = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.