Skip to content

Commit

Permalink
Update textract-pipeline-stack.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
darwaishx authored Aug 9, 2020
1 parent 7f41261 commit 58f73e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions textract-pipeline/lib/textract-pipeline-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export class TextractPipelineStack extends cdk.Stack {
runtime: lambda.Runtime.PYTHON_3_7,
code: lambda.Code.asset('lambda/s3processor'),
handler: 'lambda_function.lambda_handler',
timeout: cdk.Duration.seconds(30),
environment: {
SYNC_QUEUE_URL: syncJobsQueue.queueUrl,
ASYNC_QUEUE_URL: asyncJobsQueue.queueUrl,
Expand Down Expand Up @@ -149,6 +150,7 @@ export class TextractPipelineStack extends cdk.Stack {
runtime: lambda.Runtime.PYTHON_3_7,
code: lambda.Code.asset('lambda/s3batchprocessor'),
handler: 'lambda_function.lambda_handler',
timeout: cdk.Duration.seconds(30),
environment: {
DOCUMENTS_TABLE: documentsTable.tableName,
OUTPUT_TABLE: outputTable.tableName
Expand Down

0 comments on commit 58f73e4

Please sign in to comment.