aws_cloudwatch_event_permissionNivis 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
principalstatement_id
Optional arguments
action(defaults tonull)event_bus_name(defaults tonull)id(defaults tonull)region(defaults tonull)condition(defaults tonull)
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.