FEATURES PRICING ABOUT DOCS LOGIN

aws_lambda_event_source_mapping

Provides a Lambda event source mapping. This allows Lambda functions to get events from Kinesis and DynamoDB.

For information about Lambda and how to use it, see What is AWS Lambda? For information about event source mappings, see CreateEventSourceMapping in the API docs.

Example Usage

resource "aws_lambda_event_source_mapping" "event_source_mapping" {
    batch_size = 100
    event_source_arn = "arn:aws:kinesis:REGION:123456789012:stream/stream_name"
    enabled = true
    function_name = "arn:aws:lambda:REGION:123456789012:function:function_name"
    starting_position = "TRIM_HORIZON|LATEST"
}

Argument Reference

Attributes Reference


See the source of this document at Terraform.io

REQUEST A DEMO