aws_cloudwatch_event_permission

Nivis Nix constructor for the aws_cloudwatch_event_permission 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,
  principal,
  statement_id,
  action ? null,
  event_bus_name ? null,
  id ? null,
  region ? null,
  condition ? null,
  overrides ? {}
}
Required arguments
  • principal
  • statement_id
Optional arguments
  • action (defaults to null)
  • event_bus_name (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • condition (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
aws_cloudwatch_event_permission {
  name = "cloudwatch_event_permission";
  principal = …;  # required
  statement_id = …;  # required
}

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