aws_ecr_pull_through_cache_ruleNivis Nix constructor for the aws_ecr_pull_through_cache_rule 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,
ecr_repository_prefix,
upstream_registry_url,
credential_arn ? null,
custom_role_arn ? null,
id ? null,
region ? null,
upstream_repository_prefix ? null,
overrides ? {}
}Required arguments
ecr_repository_prefixupstream_registry_url
Optional arguments
credential_arn(defaults tonull)custom_role_arn(defaults tonull)id(defaults tonull)region(defaults tonull)upstream_repository_prefix(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
registry_id
Example
aws_ecr_pull_through_cache_rule {
name = "ecr_pull_through_cache_rule";
ecr_repository_prefix = …; # required
upstream_registry_url = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.