Skip to content

Commit e957785

Browse files
committed
CCM-12613: Upload to PDM component
1 parent d427c08 commit e957785

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
resource "aws_lambda_event_source_mapping" "ttl_create_lambda" {
2+
event_source_arn = module.sqs_upload_to_pdm.sqs_queue_arn
3+
function_name = module.upload_to_pdm.function_name
4+
batch_size = var.queue_batch_size
5+
maximum_batching_window_in_seconds = var.queue_batch_window_seconds
6+
7+
function_response_types = [
8+
"ReportBatchItemFailures"
9+
]
10+
}

0 commit comments

Comments
 (0)