aws_cloudwatch_log_destination_policy

Nivis Nix constructor for the aws_cloudwatch_log_destination_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,
  access_policy,
  destination_name,
  force_update ? null,
  id ? null,
  region ? null,
  overrides ? {}
}
Required arguments
  • access_policy
  • destination_name
Optional arguments
  • force_update (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
aws_cloudwatch_log_destination_policy {
  name = "cloudwatch_log_destination_policy";
  access_policy = …;  # required
  destination_name = …;  # required
}

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