aws-sdk-codebuild 1.135.0 → 1.136.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +205 -53
- data/lib/aws-sdk-codebuild/client_api.rb +12 -0
- data/lib/aws-sdk-codebuild/types.rb +227 -68
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +30 -6
- data/sig/types.rbs +18 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4adccc17b9ec1b247b00cb5c1a505aecbb9cbc1d2302612924af921d4d0eaff
|
4
|
+
data.tar.gz: 98ccd022527ca6f1c2846b349ff1c4f2ddc618619c8e1bf8acdfca65a5cb4fc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2bf630b1e46c7c9fa8c54f32b2c695d82dfc7a5922a0cab71bac28a0b9ffa425534f06d4ac0027387305a6d2b54e86806c042442e0f9a2a49b9c822964eada3
|
7
|
+
data.tar.gz: 8b695d41ba766cebfbcbf5001b9b37d56e4d5ac938c1654c7f59fe7b0edb4681f11d64ae85c2ef9cd8e0e74caa38d45a59ebcf3073874e2ef7e13574df5ff4db
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.136.0
|
@@ -573,7 +573,11 @@ module Aws::CodeBuild
|
|
573
573
|
# resp.build_batches[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
574
574
|
# resp.build_batches[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
575
575
|
# resp.build_batches[0].environment.image #=> String
|
576
|
-
# resp.build_batches[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
576
|
+
# resp.build_batches[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
577
|
+
# resp.build_batches[0].environment.compute_configuration.v_cpu #=> Integer
|
578
|
+
# resp.build_batches[0].environment.compute_configuration.memory #=> Integer
|
579
|
+
# resp.build_batches[0].environment.compute_configuration.disk #=> Integer
|
580
|
+
# resp.build_batches[0].environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
577
581
|
# resp.build_batches[0].environment.fleet.fleet_arn #=> String
|
578
582
|
# resp.build_batches[0].environment.environment_variables #=> Array
|
579
583
|
# resp.build_batches[0].environment.environment_variables[0].name #=> String
|
@@ -742,7 +746,11 @@ module Aws::CodeBuild
|
|
742
746
|
# resp.builds[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
743
747
|
# resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
744
748
|
# resp.builds[0].environment.image #=> String
|
745
|
-
# resp.builds[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
749
|
+
# resp.builds[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
750
|
+
# resp.builds[0].environment.compute_configuration.v_cpu #=> Integer
|
751
|
+
# resp.builds[0].environment.compute_configuration.memory #=> Integer
|
752
|
+
# resp.builds[0].environment.compute_configuration.disk #=> Integer
|
753
|
+
# resp.builds[0].environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
746
754
|
# resp.builds[0].environment.fleet.fleet_arn #=> String
|
747
755
|
# resp.builds[0].environment.environment_variables #=> Array
|
748
756
|
# resp.builds[0].environment.environment_variables[0].name #=> String
|
@@ -838,7 +846,11 @@ module Aws::CodeBuild
|
|
838
846
|
# resp.fleets[0].status.message #=> String
|
839
847
|
# resp.fleets[0].base_capacity #=> Integer
|
840
848
|
# resp.fleets[0].environment_type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
841
|
-
# resp.fleets[0].compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
849
|
+
# resp.fleets[0].compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
850
|
+
# resp.fleets[0].compute_configuration.v_cpu #=> Integer
|
851
|
+
# resp.fleets[0].compute_configuration.memory #=> Integer
|
852
|
+
# resp.fleets[0].compute_configuration.disk #=> Integer
|
853
|
+
# resp.fleets[0].compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
842
854
|
# resp.fleets[0].scaling_configuration.scaling_type #=> String, one of "TARGET_TRACKING_SCALING"
|
843
855
|
# resp.fleets[0].scaling_configuration.target_tracking_scaling_configs #=> Array
|
844
856
|
# resp.fleets[0].scaling_configuration.target_tracking_scaling_configs[0].metric_type #=> String, one of "FLEET_UTILIZATION_RATE"
|
@@ -954,7 +966,11 @@ module Aws::CodeBuild
|
|
954
966
|
# resp.projects[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
955
967
|
# resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
956
968
|
# resp.projects[0].environment.image #=> String
|
957
|
-
# resp.projects[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
969
|
+
# resp.projects[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
970
|
+
# resp.projects[0].environment.compute_configuration.v_cpu #=> Integer
|
971
|
+
# resp.projects[0].environment.compute_configuration.memory #=> Integer
|
972
|
+
# resp.projects[0].environment.compute_configuration.disk #=> Integer
|
973
|
+
# resp.projects[0].environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
958
974
|
# resp.projects[0].environment.fleet.fleet_arn #=> String
|
959
975
|
# resp.projects[0].environment.environment_variables #=> Array
|
960
976
|
# resp.projects[0].environment.environment_variables[0].name #=> String
|
@@ -1197,50 +1213,86 @@ module Aws::CodeBuild
|
|
1197
1213
|
# Information about the compute resources the compute fleet uses.
|
1198
1214
|
# Available values include:
|
1199
1215
|
#
|
1200
|
-
# * `
|
1216
|
+
# * `ATTRIBUTE_BASED_COMPUTE`: Specify the amount of vCPUs, memory, disk
|
1217
|
+
# space, and the type of machine.
|
1218
|
+
#
|
1219
|
+
# <note markdown="1"> If you use `ATTRIBUTE_BASED_COMPUTE`, you must define your
|
1220
|
+
# attributes by using `computeConfiguration`. CodeBuild will select
|
1221
|
+
# the cheapest instance that satisfies your specified attributes. For
|
1222
|
+
# more information, see [Reserved capacity environment types][1] in
|
1223
|
+
# the *CodeBuild User Guide*.
|
1224
|
+
#
|
1225
|
+
# </note>
|
1226
|
+
#
|
1227
|
+
# * `BUILD_GENERAL1_SMALL`: Use up to 4 GiB memory and 2 vCPUs for
|
1201
1228
|
# builds.
|
1202
1229
|
#
|
1203
|
-
# * `BUILD_GENERAL1_MEDIUM`: Use up to
|
1230
|
+
# * `BUILD_GENERAL1_MEDIUM`: Use up to 8 GiB memory and 4 vCPUs for
|
1204
1231
|
# builds.
|
1205
1232
|
#
|
1206
|
-
# * `BUILD_GENERAL1_LARGE`: Use up to 16
|
1233
|
+
# * `BUILD_GENERAL1_LARGE`: Use up to 16 GiB memory and 8 vCPUs for
|
1207
1234
|
# builds, depending on your environment type.
|
1208
1235
|
#
|
1209
|
-
# * `BUILD_GENERAL1_XLARGE`: Use up to
|
1236
|
+
# * `BUILD_GENERAL1_XLARGE`: Use up to 72 GiB memory and 36 vCPUs for
|
1210
1237
|
# builds, depending on your environment type.
|
1211
1238
|
#
|
1212
|
-
# * `BUILD_GENERAL1_2XLARGE`: Use up to
|
1213
|
-
# GB of SSD storage for builds. This compute type supports Docker
|
1239
|
+
# * `BUILD_GENERAL1_2XLARGE`: Use up to 144 GiB memory, 72 vCPUs, and
|
1240
|
+
# 824 GB of SSD storage for builds. This compute type supports Docker
|
1214
1241
|
# images up to 100 GB uncompressed.
|
1215
1242
|
#
|
1243
|
+
# * `BUILD_LAMBDA_1GB`: Use up to 1 GiB memory for builds. Only
|
1244
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
1245
|
+
# `ARM_LAMBDA_CONTAINER`.
|
1246
|
+
#
|
1247
|
+
# * `BUILD_LAMBDA_2GB`: Use up to 2 GiB memory for builds. Only
|
1248
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
1249
|
+
# `ARM_LAMBDA_CONTAINER`.
|
1250
|
+
#
|
1251
|
+
# * `BUILD_LAMBDA_4GB`: Use up to 4 GiB memory for builds. Only
|
1252
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
1253
|
+
# `ARM_LAMBDA_CONTAINER`.
|
1254
|
+
#
|
1255
|
+
# * `BUILD_LAMBDA_8GB`: Use up to 8 GiB memory for builds. Only
|
1256
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
1257
|
+
# `ARM_LAMBDA_CONTAINER`.
|
1258
|
+
#
|
1259
|
+
# * `BUILD_LAMBDA_10GB`: Use up to 10 GiB memory for builds. Only
|
1260
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
1261
|
+
# `ARM_LAMBDA_CONTAINER`.
|
1262
|
+
#
|
1216
1263
|
# If you use `BUILD_GENERAL1_SMALL`:
|
1217
1264
|
#
|
1218
|
-
# * For environment type `LINUX_CONTAINER`, you can use up to
|
1265
|
+
# * For environment type `LINUX_CONTAINER`, you can use up to 4 GiB
|
1219
1266
|
# memory and 2 vCPUs for builds.
|
1220
1267
|
#
|
1221
|
-
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 16
|
1268
|
+
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 16 GiB
|
1222
1269
|
# memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
|
1223
1270
|
#
|
1224
|
-
# * For environment type `ARM_CONTAINER`, you can use up to 4
|
1271
|
+
# * For environment type `ARM_CONTAINER`, you can use up to 4 GiB memory
|
1225
1272
|
# and 2 vCPUs on ARM-based processors for builds.
|
1226
1273
|
#
|
1227
1274
|
# If you use `BUILD_GENERAL1_LARGE`:
|
1228
1275
|
#
|
1229
|
-
# * For environment type `LINUX_CONTAINER`, you can use up to
|
1276
|
+
# * For environment type `LINUX_CONTAINER`, you can use up to 16 GiB
|
1230
1277
|
# memory and 8 vCPUs for builds.
|
1231
1278
|
#
|
1232
|
-
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 255
|
1233
|
-
# memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
|
1279
|
+
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 255
|
1280
|
+
# GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
|
1234
1281
|
#
|
1235
|
-
# * For environment type `ARM_CONTAINER`, you can use up to 16
|
1236
|
-
# and 8 vCPUs on ARM-based processors for builds.
|
1282
|
+
# * For environment type `ARM_CONTAINER`, you can use up to 16 GiB
|
1283
|
+
# memory and 8 vCPUs on ARM-based processors for builds.
|
1237
1284
|
#
|
1238
|
-
# For more information, see [
|
1285
|
+
# For more information, see [On-demand environment types][2] in the
|
1239
1286
|
# *CodeBuild User Guide.*
|
1240
1287
|
#
|
1241
1288
|
#
|
1242
1289
|
#
|
1243
|
-
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
1290
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types
|
1291
|
+
# [2]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types
|
1292
|
+
#
|
1293
|
+
# @option params [Types::ComputeConfiguration] :compute_configuration
|
1294
|
+
# The compute configuration of the compute fleet. This is only required
|
1295
|
+
# if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
|
1244
1296
|
#
|
1245
1297
|
# @option params [Types::ScalingConfigurationInput] :scaling_configuration
|
1246
1298
|
# The scaling configuration of the compute fleet.
|
@@ -1301,7 +1353,13 @@ module Aws::CodeBuild
|
|
1301
1353
|
# name: "FleetName", # required
|
1302
1354
|
# base_capacity: 1, # required
|
1303
1355
|
# environment_type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER, MAC_ARM
|
1304
|
-
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB
|
1356
|
+
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB, ATTRIBUTE_BASED_COMPUTE
|
1357
|
+
# compute_configuration: {
|
1358
|
+
# v_cpu: 1,
|
1359
|
+
# memory: 1,
|
1360
|
+
# disk: 1,
|
1361
|
+
# machine_type: "GENERAL", # accepts GENERAL, NVME
|
1362
|
+
# },
|
1305
1363
|
# scaling_configuration: {
|
1306
1364
|
# scaling_type: "TARGET_TRACKING_SCALING", # accepts TARGET_TRACKING_SCALING
|
1307
1365
|
# target_tracking_scaling_configs: [
|
@@ -1350,7 +1408,11 @@ module Aws::CodeBuild
|
|
1350
1408
|
# resp.fleet.status.message #=> String
|
1351
1409
|
# resp.fleet.base_capacity #=> Integer
|
1352
1410
|
# resp.fleet.environment_type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
1353
|
-
# resp.fleet.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
1411
|
+
# resp.fleet.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
1412
|
+
# resp.fleet.compute_configuration.v_cpu #=> Integer
|
1413
|
+
# resp.fleet.compute_configuration.memory #=> Integer
|
1414
|
+
# resp.fleet.compute_configuration.disk #=> Integer
|
1415
|
+
# resp.fleet.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
1354
1416
|
# resp.fleet.scaling_configuration.scaling_type #=> String, one of "TARGET_TRACKING_SCALING"
|
1355
1417
|
# resp.fleet.scaling_configuration.target_tracking_scaling_configs #=> Array
|
1356
1418
|
# resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].metric_type #=> String, one of "FLEET_UTILIZATION_RATE"
|
@@ -1616,7 +1678,13 @@ module Aws::CodeBuild
|
|
1616
1678
|
# environment: { # required
|
1617
1679
|
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER, MAC_ARM
|
1618
1680
|
# image: "NonEmptyString", # required
|
1619
|
-
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB
|
1681
|
+
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB, ATTRIBUTE_BASED_COMPUTE
|
1682
|
+
# compute_configuration: {
|
1683
|
+
# v_cpu: 1,
|
1684
|
+
# memory: 1,
|
1685
|
+
# disk: 1,
|
1686
|
+
# machine_type: "GENERAL", # accepts GENERAL, NVME
|
1687
|
+
# },
|
1620
1688
|
# fleet: {
|
1621
1689
|
# fleet_arn: "String",
|
1622
1690
|
# },
|
@@ -1748,7 +1816,11 @@ module Aws::CodeBuild
|
|
1748
1816
|
# resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
1749
1817
|
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
1750
1818
|
# resp.project.environment.image #=> String
|
1751
|
-
# resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
1819
|
+
# resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
1820
|
+
# resp.project.environment.compute_configuration.v_cpu #=> Integer
|
1821
|
+
# resp.project.environment.compute_configuration.memory #=> Integer
|
1822
|
+
# resp.project.environment.compute_configuration.disk #=> Integer
|
1823
|
+
# resp.project.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
1752
1824
|
# resp.project.environment.fleet.fleet_arn #=> String
|
1753
1825
|
# resp.project.environment.environment_variables #=> Array
|
1754
1826
|
# resp.project.environment.environment_variables[0].name #=> String
|
@@ -3434,7 +3506,11 @@ module Aws::CodeBuild
|
|
3434
3506
|
# resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
3435
3507
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
3436
3508
|
# resp.build.environment.image #=> String
|
3437
|
-
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
3509
|
+
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
3510
|
+
# resp.build.environment.compute_configuration.v_cpu #=> Integer
|
3511
|
+
# resp.build.environment.compute_configuration.memory #=> Integer
|
3512
|
+
# resp.build.environment.compute_configuration.disk #=> Integer
|
3513
|
+
# resp.build.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
3438
3514
|
# resp.build.environment.fleet.fleet_arn #=> String
|
3439
3515
|
# resp.build.environment.environment_variables #=> Array
|
3440
3516
|
# resp.build.environment.environment_variables[0].name #=> String
|
@@ -3596,7 +3672,11 @@ module Aws::CodeBuild
|
|
3596
3672
|
# resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
3597
3673
|
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
3598
3674
|
# resp.build_batch.environment.image #=> String
|
3599
|
-
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
3675
|
+
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
3676
|
+
# resp.build_batch.environment.compute_configuration.v_cpu #=> Integer
|
3677
|
+
# resp.build_batch.environment.compute_configuration.memory #=> Integer
|
3678
|
+
# resp.build_batch.environment.compute_configuration.disk #=> Integer
|
3679
|
+
# resp.build_batch.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
3600
3680
|
# resp.build_batch.environment.fleet.fleet_arn #=> String
|
3601
3681
|
# resp.build_batch.environment.environment_variables #=> Array
|
3602
3682
|
# resp.build_batch.environment.environment_variables[0].name #=> String
|
@@ -4023,7 +4103,7 @@ module Aws::CodeBuild
|
|
4023
4103
|
# },
|
4024
4104
|
# environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER, MAC_ARM
|
4025
4105
|
# image_override: "NonEmptyString",
|
4026
|
-
# compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB
|
4106
|
+
# compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB, ATTRIBUTE_BASED_COMPUTE
|
4027
4107
|
# certificate_override: "String",
|
4028
4108
|
# cache_override: {
|
4029
4109
|
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
@@ -4131,7 +4211,11 @@ module Aws::CodeBuild
|
|
4131
4211
|
# resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
4132
4212
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
4133
4213
|
# resp.build.environment.image #=> String
|
4134
|
-
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
4214
|
+
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
4215
|
+
# resp.build.environment.compute_configuration.v_cpu #=> Integer
|
4216
|
+
# resp.build.environment.compute_configuration.memory #=> Integer
|
4217
|
+
# resp.build.environment.compute_configuration.disk #=> Integer
|
4218
|
+
# resp.build.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
4135
4219
|
# resp.build.environment.fleet.fleet_arn #=> String
|
4136
4220
|
# resp.build.environment.environment_variables #=> Array
|
4137
4221
|
# resp.build.environment.environment_variables[0].name #=> String
|
@@ -4498,7 +4582,7 @@ module Aws::CodeBuild
|
|
4498
4582
|
# report_build_batch_status_override: false,
|
4499
4583
|
# environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER, MAC_ARM
|
4500
4584
|
# image_override: "NonEmptyString",
|
4501
|
-
# compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB
|
4585
|
+
# compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB, ATTRIBUTE_BASED_COMPUTE
|
4502
4586
|
# certificate_override: "String",
|
4503
4587
|
# cache_override: {
|
4504
4588
|
# type: "NO_CACHE", # required, accepts NO_CACHE, S3, LOCAL
|
@@ -4611,7 +4695,11 @@ module Aws::CodeBuild
|
|
4611
4695
|
# resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
4612
4696
|
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
4613
4697
|
# resp.build_batch.environment.image #=> String
|
4614
|
-
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
4698
|
+
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
4699
|
+
# resp.build_batch.environment.compute_configuration.v_cpu #=> Integer
|
4700
|
+
# resp.build_batch.environment.compute_configuration.memory #=> Integer
|
4701
|
+
# resp.build_batch.environment.compute_configuration.disk #=> Integer
|
4702
|
+
# resp.build_batch.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
4615
4703
|
# resp.build_batch.environment.fleet.fleet_arn #=> String
|
4616
4704
|
# resp.build_batch.environment.environment_variables #=> Array
|
4617
4705
|
# resp.build_batch.environment.environment_variables[0].name #=> String
|
@@ -4776,7 +4864,11 @@ module Aws::CodeBuild
|
|
4776
4864
|
# resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
4777
4865
|
# resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
4778
4866
|
# resp.build.environment.image #=> String
|
4779
|
-
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
4867
|
+
# resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
4868
|
+
# resp.build.environment.compute_configuration.v_cpu #=> Integer
|
4869
|
+
# resp.build.environment.compute_configuration.memory #=> Integer
|
4870
|
+
# resp.build.environment.compute_configuration.disk #=> Integer
|
4871
|
+
# resp.build.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
4780
4872
|
# resp.build.environment.fleet.fleet_arn #=> String
|
4781
4873
|
# resp.build.environment.environment_variables #=> Array
|
4782
4874
|
# resp.build.environment.environment_variables[0].name #=> String
|
@@ -4925,7 +5017,11 @@ module Aws::CodeBuild
|
|
4925
5017
|
# resp.build_batch.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
4926
5018
|
# resp.build_batch.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
4927
5019
|
# resp.build_batch.environment.image #=> String
|
4928
|
-
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
5020
|
+
# resp.build_batch.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
5021
|
+
# resp.build_batch.environment.compute_configuration.v_cpu #=> Integer
|
5022
|
+
# resp.build_batch.environment.compute_configuration.memory #=> Integer
|
5023
|
+
# resp.build_batch.environment.compute_configuration.disk #=> Integer
|
5024
|
+
# resp.build_batch.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
4929
5025
|
# resp.build_batch.environment.fleet.fleet_arn #=> String
|
4930
5026
|
# resp.build_batch.environment.environment_variables #=> Array
|
4931
5027
|
# resp.build_batch.environment.environment_variables[0].name #=> String
|
@@ -5064,50 +5160,86 @@ module Aws::CodeBuild
|
|
5064
5160
|
# Information about the compute resources the compute fleet uses.
|
5065
5161
|
# Available values include:
|
5066
5162
|
#
|
5067
|
-
# * `
|
5163
|
+
# * `ATTRIBUTE_BASED_COMPUTE`: Specify the amount of vCPUs, memory, disk
|
5164
|
+
# space, and the type of machine.
|
5165
|
+
#
|
5166
|
+
# <note markdown="1"> If you use `ATTRIBUTE_BASED_COMPUTE`, you must define your
|
5167
|
+
# attributes by using `computeConfiguration`. CodeBuild will select
|
5168
|
+
# the cheapest instance that satisfies your specified attributes. For
|
5169
|
+
# more information, see [Reserved capacity environment types][1] in
|
5170
|
+
# the *CodeBuild User Guide*.
|
5171
|
+
#
|
5172
|
+
# </note>
|
5173
|
+
#
|
5174
|
+
# * `BUILD_GENERAL1_SMALL`: Use up to 4 GiB memory and 2 vCPUs for
|
5068
5175
|
# builds.
|
5069
5176
|
#
|
5070
|
-
# * `BUILD_GENERAL1_MEDIUM`: Use up to
|
5177
|
+
# * `BUILD_GENERAL1_MEDIUM`: Use up to 8 GiB memory and 4 vCPUs for
|
5071
5178
|
# builds.
|
5072
5179
|
#
|
5073
|
-
# * `BUILD_GENERAL1_LARGE`: Use up to 16
|
5180
|
+
# * `BUILD_GENERAL1_LARGE`: Use up to 16 GiB memory and 8 vCPUs for
|
5074
5181
|
# builds, depending on your environment type.
|
5075
5182
|
#
|
5076
|
-
# * `BUILD_GENERAL1_XLARGE`: Use up to
|
5183
|
+
# * `BUILD_GENERAL1_XLARGE`: Use up to 72 GiB memory and 36 vCPUs for
|
5077
5184
|
# builds, depending on your environment type.
|
5078
5185
|
#
|
5079
|
-
# * `BUILD_GENERAL1_2XLARGE`: Use up to
|
5080
|
-
# GB of SSD storage for builds. This compute type supports Docker
|
5186
|
+
# * `BUILD_GENERAL1_2XLARGE`: Use up to 144 GiB memory, 72 vCPUs, and
|
5187
|
+
# 824 GB of SSD storage for builds. This compute type supports Docker
|
5081
5188
|
# images up to 100 GB uncompressed.
|
5082
5189
|
#
|
5190
|
+
# * `BUILD_LAMBDA_1GB`: Use up to 1 GiB memory for builds. Only
|
5191
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
5192
|
+
# `ARM_LAMBDA_CONTAINER`.
|
5193
|
+
#
|
5194
|
+
# * `BUILD_LAMBDA_2GB`: Use up to 2 GiB memory for builds. Only
|
5195
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
5196
|
+
# `ARM_LAMBDA_CONTAINER`.
|
5197
|
+
#
|
5198
|
+
# * `BUILD_LAMBDA_4GB`: Use up to 4 GiB memory for builds. Only
|
5199
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
5200
|
+
# `ARM_LAMBDA_CONTAINER`.
|
5201
|
+
#
|
5202
|
+
# * `BUILD_LAMBDA_8GB`: Use up to 8 GiB memory for builds. Only
|
5203
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
5204
|
+
# `ARM_LAMBDA_CONTAINER`.
|
5205
|
+
#
|
5206
|
+
# * `BUILD_LAMBDA_10GB`: Use up to 10 GiB memory for builds. Only
|
5207
|
+
# available for environment type `LINUX_LAMBDA_CONTAINER` and
|
5208
|
+
# `ARM_LAMBDA_CONTAINER`.
|
5209
|
+
#
|
5083
5210
|
# If you use `BUILD_GENERAL1_SMALL`:
|
5084
5211
|
#
|
5085
|
-
# * For environment type `LINUX_CONTAINER`, you can use up to
|
5212
|
+
# * For environment type `LINUX_CONTAINER`, you can use up to 4 GiB
|
5086
5213
|
# memory and 2 vCPUs for builds.
|
5087
5214
|
#
|
5088
|
-
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 16
|
5215
|
+
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 16 GiB
|
5089
5216
|
# memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
|
5090
5217
|
#
|
5091
|
-
# * For environment type `ARM_CONTAINER`, you can use up to 4
|
5218
|
+
# * For environment type `ARM_CONTAINER`, you can use up to 4 GiB memory
|
5092
5219
|
# and 2 vCPUs on ARM-based processors for builds.
|
5093
5220
|
#
|
5094
5221
|
# If you use `BUILD_GENERAL1_LARGE`:
|
5095
5222
|
#
|
5096
|
-
# * For environment type `LINUX_CONTAINER`, you can use up to
|
5223
|
+
# * For environment type `LINUX_CONTAINER`, you can use up to 16 GiB
|
5097
5224
|
# memory and 8 vCPUs for builds.
|
5098
5225
|
#
|
5099
|
-
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 255
|
5100
|
-
# memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
|
5226
|
+
# * For environment type `LINUX_GPU_CONTAINER`, you can use up to 255
|
5227
|
+
# GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
|
5101
5228
|
#
|
5102
|
-
# * For environment type `ARM_CONTAINER`, you can use up to 16
|
5103
|
-
# and 8 vCPUs on ARM-based processors for builds.
|
5229
|
+
# * For environment type `ARM_CONTAINER`, you can use up to 16 GiB
|
5230
|
+
# memory and 8 vCPUs on ARM-based processors for builds.
|
5104
5231
|
#
|
5105
|
-
# For more information, see [
|
5232
|
+
# For more information, see [On-demand environment types][2] in the
|
5106
5233
|
# *CodeBuild User Guide.*
|
5107
5234
|
#
|
5108
5235
|
#
|
5109
5236
|
#
|
5110
|
-
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
5237
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types
|
5238
|
+
# [2]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types
|
5239
|
+
#
|
5240
|
+
# @option params [Types::ComputeConfiguration] :compute_configuration
|
5241
|
+
# The compute configuration of the compute fleet. This is only required
|
5242
|
+
# if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
|
5111
5243
|
#
|
5112
5244
|
# @option params [Types::ScalingConfigurationInput] :scaling_configuration
|
5113
5245
|
# The scaling configuration of the compute fleet.
|
@@ -5168,7 +5300,13 @@ module Aws::CodeBuild
|
|
5168
5300
|
# arn: "NonEmptyString", # required
|
5169
5301
|
# base_capacity: 1,
|
5170
5302
|
# environment_type: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER, MAC_ARM
|
5171
|
-
# compute_type: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB
|
5303
|
+
# compute_type: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB, ATTRIBUTE_BASED_COMPUTE
|
5304
|
+
# compute_configuration: {
|
5305
|
+
# v_cpu: 1,
|
5306
|
+
# memory: 1,
|
5307
|
+
# disk: 1,
|
5308
|
+
# machine_type: "GENERAL", # accepts GENERAL, NVME
|
5309
|
+
# },
|
5172
5310
|
# scaling_configuration: {
|
5173
5311
|
# scaling_type: "TARGET_TRACKING_SCALING", # accepts TARGET_TRACKING_SCALING
|
5174
5312
|
# target_tracking_scaling_configs: [
|
@@ -5217,7 +5355,11 @@ module Aws::CodeBuild
|
|
5217
5355
|
# resp.fleet.status.message #=> String
|
5218
5356
|
# resp.fleet.base_capacity #=> Integer
|
5219
5357
|
# resp.fleet.environment_type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
5220
|
-
# resp.fleet.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
5358
|
+
# resp.fleet.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
5359
|
+
# resp.fleet.compute_configuration.v_cpu #=> Integer
|
5360
|
+
# resp.fleet.compute_configuration.memory #=> Integer
|
5361
|
+
# resp.fleet.compute_configuration.disk #=> Integer
|
5362
|
+
# resp.fleet.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
5221
5363
|
# resp.fleet.scaling_configuration.scaling_type #=> String, one of "TARGET_TRACKING_SCALING"
|
5222
5364
|
# resp.fleet.scaling_configuration.target_tracking_scaling_configs #=> Array
|
5223
5365
|
# resp.fleet.scaling_configuration.target_tracking_scaling_configs[0].metric_type #=> String, one of "FLEET_UTILIZATION_RATE"
|
@@ -5486,7 +5628,13 @@ module Aws::CodeBuild
|
|
5486
5628
|
# environment: {
|
5487
5629
|
# type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER, MAC_ARM
|
5488
5630
|
# image: "NonEmptyString", # required
|
5489
|
-
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB
|
5631
|
+
# compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB, ATTRIBUTE_BASED_COMPUTE
|
5632
|
+
# compute_configuration: {
|
5633
|
+
# v_cpu: 1,
|
5634
|
+
# memory: 1,
|
5635
|
+
# disk: 1,
|
5636
|
+
# machine_type: "GENERAL", # accepts GENERAL, NVME
|
5637
|
+
# },
|
5490
5638
|
# fleet: {
|
5491
5639
|
# fleet_arn: "String",
|
5492
5640
|
# },
|
@@ -5618,7 +5766,11 @@ module Aws::CodeBuild
|
|
5618
5766
|
# resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
|
5619
5767
|
# resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER", "MAC_ARM"
|
5620
5768
|
# resp.project.environment.image #=> String
|
5621
|
-
# resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB"
|
5769
|
+
# resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB", "ATTRIBUTE_BASED_COMPUTE"
|
5770
|
+
# resp.project.environment.compute_configuration.v_cpu #=> Integer
|
5771
|
+
# resp.project.environment.compute_configuration.memory #=> Integer
|
5772
|
+
# resp.project.environment.compute_configuration.disk #=> Integer
|
5773
|
+
# resp.project.environment.compute_configuration.machine_type #=> String, one of "GENERAL", "NVME"
|
5622
5774
|
# resp.project.environment.fleet.fleet_arn #=> String
|
5623
5775
|
# resp.project.environment.environment_variables #=> Array
|
5624
5776
|
# resp.project.environment.environment_variables[0].name #=> String
|
@@ -5954,7 +6106,7 @@ module Aws::CodeBuild
|
|
5954
6106
|
tracer: tracer
|
5955
6107
|
)
|
5956
6108
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5957
|
-
context[:gem_version] = '1.
|
6109
|
+
context[:gem_version] = '1.136.0'
|
5958
6110
|
Seahorse::Client::Request.new(handlers, context)
|
5959
6111
|
end
|
5960
6112
|
|
@@ -68,6 +68,7 @@ module Aws::CodeBuild
|
|
68
68
|
CodeCoverage = Shapes::StructureShape.new(name: 'CodeCoverage')
|
69
69
|
CodeCoverageReportSummary = Shapes::StructureShape.new(name: 'CodeCoverageReportSummary')
|
70
70
|
CodeCoverages = Shapes::ListShape.new(name: 'CodeCoverages')
|
71
|
+
ComputeConfiguration = Shapes::StructureShape.new(name: 'ComputeConfiguration')
|
71
72
|
ComputeType = Shapes::StringShape.new(name: 'ComputeType')
|
72
73
|
ComputeTypesAllowed = Shapes::ListShape.new(name: 'ComputeTypesAllowed')
|
73
74
|
CreateFleetInput = Shapes::StructureShape.new(name: 'CreateFleetInput')
|
@@ -179,6 +180,7 @@ module Aws::CodeBuild
|
|
179
180
|
LogsConfig = Shapes::StructureShape.new(name: 'LogsConfig')
|
180
181
|
LogsConfigStatusType = Shapes::StringShape.new(name: 'LogsConfigStatusType')
|
181
182
|
LogsLocation = Shapes::StructureShape.new(name: 'LogsLocation')
|
183
|
+
MachineType = Shapes::StringShape.new(name: 'MachineType')
|
182
184
|
NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
|
183
185
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
184
186
|
NonNegativeInt = Shapes::IntegerShape.new(name: 'NonNegativeInt')
|
@@ -530,12 +532,19 @@ module Aws::CodeBuild
|
|
530
532
|
|
531
533
|
CodeCoverages.member = Shapes::ShapeRef.new(shape: CodeCoverage)
|
532
534
|
|
535
|
+
ComputeConfiguration.add_member(:v_cpu, Shapes::ShapeRef.new(shape: WrapperLong, location_name: "vCpu"))
|
536
|
+
ComputeConfiguration.add_member(:memory, Shapes::ShapeRef.new(shape: WrapperLong, location_name: "memory"))
|
537
|
+
ComputeConfiguration.add_member(:disk, Shapes::ShapeRef.new(shape: WrapperLong, location_name: "disk"))
|
538
|
+
ComputeConfiguration.add_member(:machine_type, Shapes::ShapeRef.new(shape: MachineType, location_name: "machineType"))
|
539
|
+
ComputeConfiguration.struct_class = Types::ComputeConfiguration
|
540
|
+
|
533
541
|
ComputeTypesAllowed.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
534
542
|
|
535
543
|
CreateFleetInput.add_member(:name, Shapes::ShapeRef.new(shape: FleetName, required: true, location_name: "name"))
|
536
544
|
CreateFleetInput.add_member(:base_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, required: true, location_name: "baseCapacity"))
|
537
545
|
CreateFleetInput.add_member(:environment_type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "environmentType"))
|
538
546
|
CreateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
|
547
|
+
CreateFleetInput.add_member(:compute_configuration, Shapes::ShapeRef.new(shape: ComputeConfiguration, location_name: "computeConfiguration"))
|
539
548
|
CreateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
|
540
549
|
CreateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
|
541
550
|
CreateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
@@ -712,6 +721,7 @@ module Aws::CodeBuild
|
|
712
721
|
Fleet.add_member(:base_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "baseCapacity"))
|
713
722
|
Fleet.add_member(:environment_type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "environmentType"))
|
714
723
|
Fleet.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
|
724
|
+
Fleet.add_member(:compute_configuration, Shapes::ShapeRef.new(shape: ComputeConfiguration, location_name: "computeConfiguration"))
|
715
725
|
Fleet.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationOutput, location_name: "scalingConfiguration"))
|
716
726
|
Fleet.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
|
717
727
|
Fleet.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
@@ -992,6 +1002,7 @@ module Aws::CodeBuild
|
|
992
1002
|
ProjectEnvironment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "type"))
|
993
1003
|
ProjectEnvironment.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "image"))
|
994
1004
|
ProjectEnvironment.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
|
1005
|
+
ProjectEnvironment.add_member(:compute_configuration, Shapes::ShapeRef.new(shape: ComputeConfiguration, location_name: "computeConfiguration"))
|
995
1006
|
ProjectEnvironment.add_member(:fleet, Shapes::ShapeRef.new(shape: ProjectFleet, location_name: "fleet"))
|
996
1007
|
ProjectEnvironment.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
997
1008
|
ProjectEnvironment.add_member(:privileged_mode, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedMode"))
|
@@ -1299,6 +1310,7 @@ module Aws::CodeBuild
|
|
1299
1310
|
UpdateFleetInput.add_member(:base_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "baseCapacity"))
|
1300
1311
|
UpdateFleetInput.add_member(:environment_type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "environmentType"))
|
1301
1312
|
UpdateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
|
1313
|
+
UpdateFleetInput.add_member(:compute_configuration, Shapes::ShapeRef.new(shape: ComputeConfiguration, location_name: "computeConfiguration"))
|
1302
1314
|
UpdateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
|
1303
1315
|
UpdateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
|
1304
1316
|
UpdateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|