Skip to content

Commit cd9d952

Browse files
Add support for customizable build instance sizes. CreateApp and UpdateApp operations now accept a new JobConfig parameter composed of BuildComputeType.
1 parent 7448c18 commit cd9d952

14 files changed

+546
-173
lines changed

generator/ServiceModels/amplify/amplify-2017-07-25.api.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,8 @@
643643
"repositoryCloneMethod":{"shape":"RepositoryCloneMethod"},
644644
"cacheConfig":{"shape":"CacheConfig"},
645645
"webhookCreateTime":{"shape":"webhookCreateTime"},
646-
"wafConfiguration":{"shape":"WafConfiguration"}
646+
"wafConfiguration":{"shape":"WafConfiguration"},
647+
"jobConfig":{"shape":"JobConfig"}
647648
}
648649
},
649650
"AppArn":{
@@ -858,6 +859,14 @@
858859
"member":{"shape":"Branch"},
859860
"max":255
860861
},
862+
"BuildComputeType":{
863+
"type":"string",
864+
"enum":[
865+
"STANDARD_8GB",
866+
"LARGE_16GB",
867+
"XLARGE_72GB"
868+
]
869+
},
861870
"BuildSpec":{
862871
"type":"string",
863872
"max":25000,
@@ -962,6 +971,7 @@
962971
"enableAutoBranchCreation":{"shape":"EnableAutoBranchCreation"},
963972
"autoBranchCreationPatterns":{"shape":"AutoBranchCreationPatterns"},
964973
"autoBranchCreationConfig":{"shape":"AutoBranchCreationConfig"},
974+
"jobConfig":{"shape":"JobConfig"},
965975
"cacheConfig":{"shape":"CacheConfig"}
966976
}
967977
},
@@ -1661,6 +1671,13 @@
16611671
"type":"string",
16621672
"max":1000
16631673
},
1674+
"JobConfig":{
1675+
"type":"structure",
1676+
"required":["buildComputeType"],
1677+
"members":{
1678+
"buildComputeType":{"shape":"BuildComputeType"}
1679+
}
1680+
},
16641681
"JobId":{
16651682
"type":"string",
16661683
"max":255,
@@ -2334,8 +2351,7 @@
23342351
},
23352352
"TagResourceResponse":{
23362353
"type":"structure",
2337-
"members":{
2338-
}
2354+
"members":{}
23392355
},
23402356
"TagValue":{
23412357
"type":"string",
@@ -2398,8 +2414,7 @@
23982414
},
23992415
"UntagResourceResponse":{
24002416
"type":"structure",
2401-
"members":{
2402-
}
2417+
"members":{}
24032418
},
24042419
"UpdateAppRequest":{
24052420
"type":"structure",
@@ -2429,6 +2444,7 @@
24292444
"repository":{"shape":"Repository"},
24302445
"oauthToken":{"shape":"OauthToken"},
24312446
"accessToken":{"shape":"AccessToken"},
2447+
"jobConfig":{"shape":"JobConfig"},
24322448
"cacheConfig":{"shape":"CacheConfig"}
24332449
}
24342450
},

0 commit comments

Comments
 (0)