aws_ecr_registry_scanning_configuration

Nivis Nix constructor for the aws_ecr_registry_scanning_configuration 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,
  scan_type,
  id ? null,
  region ? null,
  rule ? null,
  overrides ? {}
}
Required arguments
  • scan_type
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
  • rule (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • registry_id
Example
aws_ecr_registry_scanning_configuration {
  name = "ecr_registry_scanning_configuration";
  scan_type = …;  # required
}

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