aws_ecrpublic_repository_policyNivis Nix constructor for the aws_ecrpublic_repository_policy 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,
policy,
repository_name,
id ? null,
region ? null,
overrides ? {}
}Required arguments
policyrepository_name
Optional arguments
id(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
registry_id
Example
aws_ecrpublic_repository_policy {
name = "ecrpublic_repository_policy";
policy = …; # required
repository_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.