aws_cloudwatch_log_account_policy

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

Read these from the resource's refAttr:

  • (none)
Example
aws_cloudwatch_log_account_policy {
  name = "cloudwatch_log_account_policy";
  policy_document = …;  # required
  policy_name = …;  # required
  policy_type = …;  # required
}

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