aws_lambda_permissionNivis Nix constructor for the aws_lambda_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,
action,
function_name,
principal,
event_source_token ? null,
function_url_auth_type ? null,
id ? null,
invoked_via_function_url ? null,
principal_org_id ? null,
qualifier ? null,
region ? null,
source_account ? null,
source_arn ? null,
statement_id ? null,
statement_id_prefix ? null,
timeouts ? null,
overrides ? {}
}Required arguments
actionfunction_nameprincipal
Optional arguments
event_source_token(defaults tonull)function_url_auth_type(defaults tonull)id(defaults tonull)invoked_via_function_url(defaults tonull)principal_org_id(defaults tonull)qualifier(defaults tonull)region(defaults tonull)source_account(defaults tonull)source_arn(defaults tonull)statement_id(defaults tonull)statement_id_prefix(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_lambda_permission {
name = "lambda_permission";
action = …; # required
function_name = …; # required
principal = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.