aws_prometheus_resource_policyNivis Nix constructor for the aws_prometheus_resource_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_document,
workspace_id,
region ? null,
revision_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
policy_documentworkspace_id
Optional arguments
region(defaults tonull)revision_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_prometheus_resource_policy {
name = "prometheus_resource_policy";
policy_document = …; # required
workspace_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.