aws_lambda_event_source_mappingNivis Nix constructor for the aws_lambda_event_source_mapping 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,
function_name,
batch_size ? null,
bisect_batch_on_function_error ? null,
enabled ? null,
event_source_arn ? null,
function_response_types ? null,
id ? null,
kms_key_arn ? null,
maximum_batching_window_in_seconds ? null,
maximum_record_age_in_seconds ? null,
maximum_retry_attempts ? null,
parallelization_factor ? null,
queues ? null,
region ? null,
starting_position ? null,
starting_position_timestamp ? null,
tags ? null,
tags_all ? null,
topics ? null,
tumbling_window_in_seconds ? null,
use_resource_timeout_for_propagation ? null,
amazon_managed_kafka_event_source_config ? null,
destination_config ? null,
document_db_event_source_config ? null,
filter_criteria ? null,
metrics_config ? null,
provisioned_poller_config ? null,
scaling_config ? null,
self_managed_event_source ? null,
self_managed_kafka_event_source_config ? null,
source_access_configuration ? null,
timeouts ? null,
overrides ? {}
}Required arguments
function_name
Optional arguments
batch_size(defaults tonull)bisect_batch_on_function_error(defaults tonull)enabled(defaults tonull)event_source_arn(defaults tonull)function_response_types(defaults tonull)id(defaults tonull)kms_key_arn(defaults tonull)maximum_batching_window_in_seconds(defaults tonull)maximum_record_age_in_seconds(defaults tonull)maximum_retry_attempts(defaults tonull)parallelization_factor(defaults tonull)queues(defaults tonull)region(defaults tonull)starting_position(defaults tonull)starting_position_timestamp(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)topics(defaults tonull)tumbling_window_in_seconds(defaults tonull)use_resource_timeout_for_propagation(defaults tonull)amazon_managed_kafka_event_source_config(defaults tonull)destination_config(defaults tonull)document_db_event_source_config(defaults tonull)filter_criteria(defaults tonull)metrics_config(defaults tonull)provisioned_poller_config(defaults tonull)scaling_config(defaults tonull)self_managed_event_source(defaults tonull)self_managed_kafka_event_source_config(defaults tonull)source_access_configuration(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnfunction_arnlast_modifiedlast_processing_resultstatestate_transition_reasonuuid
Example
aws_lambda_event_source_mapping {
name = "lambda_event_source_mapping";
function_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.