aws_shield_protection_group

Nivis Nix constructor for the aws_shield_protection_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,
  aggregation,
  pattern,
  protection_group_id,
  id ? null,
  members ? null,
  resource_type ? null,
  tags ? null,
  tags_all ? null,
  overrides ? {}
}
Required arguments
  • aggregation
  • pattern
  • protection_group_id
Optional arguments
  • id (defaults to null)
  • members (defaults to null)
  • resource_type (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • protection_group_arn
Example
aws_shield_protection_group {
  name = "shield_protection_group";
  aggregation = …;  # required
  pattern = …;  # required
  protection_group_id = …;  # required
}

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