Skip to content

Commit 8262adf

Browse files
committed
parametrize?
1 parent fde814b commit 8262adf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cfn/JavaScriptESDK.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Parameters:
2020
Type: String
2121
Description: The regionalized bucket to read the artifact from.
2222
Default: 'placeholder'
23+
NumberOfBuildsInBatch:
24+
Type: Number
25+
MaxValue: 100
26+
MinValue: 1
27+
Default: 16
28+
Description: The number of builds you expect to run in a batch
2329

2430
Resources:
2531
CodeBuildRole:
@@ -79,7 +85,7 @@ Resources:
7985
BuildBatchConfig:
8086
ServiceRole: !GetAtt CodeBuildRole.Arn
8187
Restrictions:
82-
MaximumBuildsAllowed: 100
88+
MaximumBuildsAllowed: !Ref NumberOfBuildsInBatch
8389
ComputeTypesAllowed:
8490
- BUILD_GENERAL1_SMALL
8591
- BUILD_GENERAL1_MEDIUM

0 commit comments

Comments
 (0)