aws_shield_protection_groupNivis 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
aggregationpatternprotection_group_id
Optional arguments
id(defaults tonull)members(defaults tonull)resource_type(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)
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.