File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,10 @@ Parameters:
112112 pEnableTracing :
113113 Description : Flag for whether XRay tracing is enabled
114114 Type : String
115+ pMaxItemsPerBatch :
116+ Description : Maximum number of items to process per batch - each Glue job execution will process that many items, if available
117+ Type : Number
118+ Default : 5
115119 pGlueJobName :
116120 Description : Glue job name
117121 Type : String
@@ -523,6 +527,7 @@ Resources:
523527 DefinitionSubstitutions :
524528 lPostMetadata : !GetAtt rLambdaPostMetadataStep.Arn
525529 lError : !GetAtt rLambdaErrorStep.Arn
530+ lMaxItemsPerBatch : !Ref pMaxItemsPerBatch
526531 lTransform : !Ref pGlueJobName
527532 lWorkerType : !Ref pGlueWorkerType
528533 lNumberOfWorkers : !Ref pGlueNumberOfWorkers
Original file line number Diff line number Diff line change 4141 "MaxConcurrency" : 50 ,
4242 "ToleratedFailurePercentage" : 100 ,
4343 "ItemBatcher" : {
44- "MaxItemsPerBatch" : 1
44+ "MaxItemsPerBatch" : ${lMaxItemsPerBatch }
4545 },
4646 "InputPath" : " $.Items" ,
4747 "Next" : " Run Glue Crawler"
You can’t perform that action at this time.
0 commit comments