aws_cloudwatch_log_resource_policy

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

Read these from the resource's refAttr:

  • policy_scope
  • revision_id
Example
aws_cloudwatch_log_resource_policy {
  name = "cloudwatch_log_resource_policy";
  policy_document = …;  # required
}

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