aws_lambda_event_source_mapping

Nivis 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 to null)
  • bisect_batch_on_function_error (defaults to null)
  • enabled (defaults to null)
  • event_source_arn (defaults to null)
  • function_response_types (defaults to null)
  • id (defaults to null)
  • kms_key_arn (defaults to null)
  • maximum_batching_window_in_seconds (defaults to null)
  • maximum_record_age_in_seconds (defaults to null)
  • maximum_retry_attempts (defaults to null)
  • parallelization_factor (defaults to null)
  • queues (defaults to null)
  • region (defaults to null)
  • starting_position (defaults to null)
  • starting_position_timestamp (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • topics (defaults to null)
  • tumbling_window_in_seconds (defaults to null)
  • use_resource_timeout_for_propagation (defaults to null)
  • amazon_managed_kafka_event_source_config (defaults to null)
  • destination_config (defaults to null)
  • document_db_event_source_config (defaults to null)
  • filter_criteria (defaults to null)
  • metrics_config (defaults to null)
  • provisioned_poller_config (defaults to null)
  • scaling_config (defaults to null)
  • self_managed_event_source (defaults to null)
  • self_managed_kafka_event_source_config (defaults to null)
  • source_access_configuration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • function_arn
  • last_modified
  • last_processing_result
  • state
  • state_transition_reason
  • uuid
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.