aws_securityhub_automation_rule_v2

Nivis Nix constructor for the aws_securityhub_automation_rule_v2 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,
  description,
  rule_name,
  rule_order,
  region ? null,
  rule_status ? null,
  tags ? null,
  action ? null,
  criteria ? null,
  overrides ? {}
}
Required arguments
  • description
  • rule_name
  • rule_order
Optional arguments
  • region (defaults to null)
  • rule_status (defaults to null)
  • tags (defaults to null)
  • action (defaults to null)
  • criteria (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • rule_id
  • tags_all
Example
aws_securityhub_automation_rule_v2 {
  name = "securityhub_automation_rule_v2";
  description = …;  # required
  rule_name = …;  # required
  rule_order = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.