aws-sdk-codebuild 1.100.0 → 1.102.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -106,6 +106,36 @@ module Aws::CodeBuild
106
106
  include Aws::Structure
107
107
  end
108
108
 
109
+ # @!attribute [rw] names
110
+ # The names or ARNs of the compute fleets.
111
+ # @return [Array<String>]
112
+ #
113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetFleetsInput AWS API Documentation
114
+ #
115
+ class BatchGetFleetsInput < Struct.new(
116
+ :names)
117
+ SENSITIVE = []
118
+ include Aws::Structure
119
+ end
120
+
121
+ # @!attribute [rw] fleets
122
+ # Information about the requested compute fleets.
123
+ # @return [Array<Types::Fleet>]
124
+ #
125
+ # @!attribute [rw] fleets_not_found
126
+ # The names of compute fleets for which information could not be
127
+ # found.
128
+ # @return [Array<String>]
129
+ #
130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetFleetsOutput AWS API Documentation
131
+ #
132
+ class BatchGetFleetsOutput < Struct.new(
133
+ :fleets,
134
+ :fleets_not_found)
135
+ SENSITIVE = []
136
+ include Aws::Structure
137
+ end
138
+
109
139
  # @!attribute [rw] names
110
140
  # The names or ARNs of the build projects. To get information about a
111
141
  # project shared with your Amazon Web Services account, its ARN must
@@ -1366,6 +1396,141 @@ module Aws::CodeBuild
1366
1396
  include Aws::Structure
1367
1397
  end
1368
1398
 
1399
+ # @!attribute [rw] name
1400
+ # The name of the compute fleet.
1401
+ # @return [String]
1402
+ #
1403
+ # @!attribute [rw] base_capacity
1404
+ # The initial number of machines allocated to the fleet, which defines
1405
+ # the number of builds that can run in parallel.
1406
+ # @return [Integer]
1407
+ #
1408
+ # @!attribute [rw] environment_type
1409
+ # The environment type of the compute fleet.
1410
+ #
1411
+ # * The environment type `ARM_CONTAINER` is available only in regions
1412
+ # US East (N. Virginia), US East (Ohio), US West (Oregon), EU
1413
+ # (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia
1414
+ # Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and
1415
+ # South America (São Paulo).
1416
+ #
1417
+ # * The environment type `LINUX_CONTAINER` is available only in
1418
+ # regions US East (N. Virginia), US East (Ohio), US West (Oregon),
1419
+ # EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific
1420
+ # (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
1421
+ # Asia Pacific (Mumbai).
1422
+ #
1423
+ # * The environment type `LINUX_GPU_CONTAINER` is available only in
1424
+ # regions US East (N. Virginia), US East (Ohio), US West (Oregon),
1425
+ # EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia
1426
+ # Pacific (Sydney).
1427
+ #
1428
+ # * The environment type `WINDOWS_SERVER_2019_CONTAINER` is available
1429
+ # only in regions US East (N. Virginia), US East (Ohio), US West
1430
+ # (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia
1431
+ # Pacific (Mumbai) and EU (Ireland).
1432
+ #
1433
+ # * The environment type `WINDOWS_SERVER_2022_CONTAINER` is available
1434
+ # only in regions US East (N. Virginia), US East (Ohio), US West
1435
+ # (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney),
1436
+ # Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São
1437
+ # Paulo) and Asia Pacific (Mumbai).
1438
+ #
1439
+ # For more information, see [Build environment compute types][1] in
1440
+ # the *CodeBuild user guide*.
1441
+ #
1442
+ #
1443
+ #
1444
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
1445
+ # @return [String]
1446
+ #
1447
+ # @!attribute [rw] compute_type
1448
+ # Information about the compute resources the compute fleet uses.
1449
+ # Available values include:
1450
+ #
1451
+ # * `BUILD_GENERAL1_SMALL`: Use up to 3 GB memory and 2 vCPUs for
1452
+ # builds.
1453
+ #
1454
+ # * `BUILD_GENERAL1_MEDIUM`: Use up to 7 GB memory and 4 vCPUs for
1455
+ # builds.
1456
+ #
1457
+ # * `BUILD_GENERAL1_LARGE`: Use up to 16 GB memory and 8 vCPUs for
1458
+ # builds, depending on your environment type.
1459
+ #
1460
+ # * `BUILD_GENERAL1_XLARGE`: Use up to 70 GB memory and 36 vCPUs for
1461
+ # builds, depending on your environment type.
1462
+ #
1463
+ # * `BUILD_GENERAL1_2XLARGE`: Use up to 145 GB memory, 72 vCPUs, and
1464
+ # 824 GB of SSD storage for builds. This compute type supports
1465
+ # Docker images up to 100 GB uncompressed.
1466
+ #
1467
+ # If you use `BUILD_GENERAL1_SMALL`:
1468
+ #
1469
+ # * For environment type `LINUX_CONTAINER`, you can use up to 3 GB
1470
+ # memory and 2 vCPUs for builds.
1471
+ #
1472
+ # * For environment type `LINUX_GPU_CONTAINER`, you can use up to 16
1473
+ # GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
1474
+ #
1475
+ # * For environment type `ARM_CONTAINER`, you can use up to 4 GB
1476
+ # memory and 2 vCPUs on ARM-based processors for builds.
1477
+ #
1478
+ # If you use `BUILD_GENERAL1_LARGE`:
1479
+ #
1480
+ # * For environment type `LINUX_CONTAINER`, you can use up to 15 GB
1481
+ # memory and 8 vCPUs for builds.
1482
+ #
1483
+ # * For environment type `LINUX_GPU_CONTAINER`, you can use up to 255
1484
+ # GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
1485
+ #
1486
+ # * For environment type `ARM_CONTAINER`, you can use up to 16 GB
1487
+ # memory and 8 vCPUs on ARM-based processors for builds.
1488
+ #
1489
+ # For more information, see [Build environment compute types][1] in
1490
+ # the *CodeBuild User Guide.*
1491
+ #
1492
+ #
1493
+ #
1494
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
1495
+ # @return [String]
1496
+ #
1497
+ # @!attribute [rw] scaling_configuration
1498
+ # The scaling configuration of the compute fleet.
1499
+ # @return [Types::ScalingConfigurationInput]
1500
+ #
1501
+ # @!attribute [rw] tags
1502
+ # A list of tag key and value pairs associated with this compute
1503
+ # fleet.
1504
+ #
1505
+ # These tags are available for use by Amazon Web Services services
1506
+ # that support CodeBuild build project tags.
1507
+ # @return [Array<Types::Tag>]
1508
+ #
1509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateFleetInput AWS API Documentation
1510
+ #
1511
+ class CreateFleetInput < Struct.new(
1512
+ :name,
1513
+ :base_capacity,
1514
+ :environment_type,
1515
+ :compute_type,
1516
+ :scaling_configuration,
1517
+ :tags)
1518
+ SENSITIVE = []
1519
+ include Aws::Structure
1520
+ end
1521
+
1522
+ # @!attribute [rw] fleet
1523
+ # Information about the compute fleet
1524
+ # @return [Types::Fleet]
1525
+ #
1526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateFleetOutput AWS API Documentation
1527
+ #
1528
+ class CreateFleetOutput < Struct.new(
1529
+ :fleet)
1530
+ SENSITIVE = []
1531
+ include Aws::Structure
1532
+ end
1533
+
1369
1534
  # @!attribute [rw] name
1370
1535
  # The name of the build project.
1371
1536
  # @return [String]
@@ -1714,6 +1879,22 @@ module Aws::CodeBuild
1714
1879
  include Aws::Structure
1715
1880
  end
1716
1881
 
1882
+ # @!attribute [rw] arn
1883
+ # The ARN of the compute fleet.
1884
+ # @return [String]
1885
+ #
1886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteFleetInput AWS API Documentation
1887
+ #
1888
+ class DeleteFleetInput < Struct.new(
1889
+ :arn)
1890
+ SENSITIVE = []
1891
+ include Aws::Structure
1892
+ end
1893
+
1894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteFleetOutput AWS API Documentation
1895
+ #
1896
+ class DeleteFleetOutput < Aws::EmptyStructure; end
1897
+
1717
1898
  # @!attribute [rw] name
1718
1899
  # The name of the build project.
1719
1900
  # @return [String]
@@ -2123,6 +2304,199 @@ module Aws::CodeBuild
2123
2304
  include Aws::Structure
2124
2305
  end
2125
2306
 
2307
+ # A set of dedicated instances for your build environment.
2308
+ #
2309
+ # @!attribute [rw] arn
2310
+ # The ARN of the compute fleet.
2311
+ # @return [String]
2312
+ #
2313
+ # @!attribute [rw] name
2314
+ # The name of the compute fleet.
2315
+ # @return [String]
2316
+ #
2317
+ # @!attribute [rw] id
2318
+ # The ID of the compute fleet.
2319
+ # @return [String]
2320
+ #
2321
+ # @!attribute [rw] created
2322
+ # The time at which the compute fleet was created.
2323
+ # @return [Time]
2324
+ #
2325
+ # @!attribute [rw] last_modified
2326
+ # The time at which the compute fleet was last modified.
2327
+ # @return [Time]
2328
+ #
2329
+ # @!attribute [rw] status
2330
+ # The status of the compute fleet.
2331
+ # @return [Types::FleetStatus]
2332
+ #
2333
+ # @!attribute [rw] base_capacity
2334
+ # The initial number of machines allocated to the compute fleet, which
2335
+ # defines the number of builds that can run in parallel.
2336
+ # @return [Integer]
2337
+ #
2338
+ # @!attribute [rw] environment_type
2339
+ # The environment type of the compute fleet.
2340
+ #
2341
+ # * The environment type `ARM_CONTAINER` is available only in regions
2342
+ # US East (N. Virginia), US East (Ohio), US West (Oregon), EU
2343
+ # (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia
2344
+ # Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and
2345
+ # South America (São Paulo).
2346
+ #
2347
+ # * The environment type `LINUX_CONTAINER` is available only in
2348
+ # regions US East (N. Virginia), US East (Ohio), US West (Oregon),
2349
+ # EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific
2350
+ # (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
2351
+ # Asia Pacific (Mumbai).
2352
+ #
2353
+ # * The environment type `LINUX_GPU_CONTAINER` is available only in
2354
+ # regions US East (N. Virginia), US East (Ohio), US West (Oregon),
2355
+ # EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia
2356
+ # Pacific (Sydney).
2357
+ #
2358
+ # * The environment type `WINDOWS_SERVER_2019_CONTAINER` is available
2359
+ # only in regions US East (N. Virginia), US East (Ohio), US West
2360
+ # (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia
2361
+ # Pacific (Mumbai) and EU (Ireland).
2362
+ #
2363
+ # * The environment type `WINDOWS_SERVER_2022_CONTAINER` is available
2364
+ # only in regions US East (N. Virginia), US East (Ohio), US West
2365
+ # (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney),
2366
+ # Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São
2367
+ # Paulo) and Asia Pacific (Mumbai).
2368
+ #
2369
+ # For more information, see [Build environment compute types][1] in
2370
+ # the *CodeBuild user guide*.
2371
+ #
2372
+ #
2373
+ #
2374
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
2375
+ # @return [String]
2376
+ #
2377
+ # @!attribute [rw] compute_type
2378
+ # Information about the compute resources the compute fleet uses.
2379
+ # Available values include:
2380
+ #
2381
+ # * `BUILD_GENERAL1_SMALL`: Use up to 3 GB memory and 2 vCPUs for
2382
+ # builds.
2383
+ #
2384
+ # * `BUILD_GENERAL1_MEDIUM`: Use up to 7 GB memory and 4 vCPUs for
2385
+ # builds.
2386
+ #
2387
+ # * `BUILD_GENERAL1_LARGE`: Use up to 16 GB memory and 8 vCPUs for
2388
+ # builds, depending on your environment type.
2389
+ #
2390
+ # * `BUILD_GENERAL1_XLARGE`: Use up to 70 GB memory and 36 vCPUs for
2391
+ # builds, depending on your environment type.
2392
+ #
2393
+ # * `BUILD_GENERAL1_2XLARGE`: Use up to 145 GB memory, 72 vCPUs, and
2394
+ # 824 GB of SSD storage for builds. This compute type supports
2395
+ # Docker images up to 100 GB uncompressed.
2396
+ #
2397
+ # If you use `BUILD_GENERAL1_SMALL`:
2398
+ #
2399
+ # * For environment type `LINUX_CONTAINER`, you can use up to 3 GB
2400
+ # memory and 2 vCPUs for builds.
2401
+ #
2402
+ # * For environment type `LINUX_GPU_CONTAINER`, you can use up to 16
2403
+ # GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
2404
+ #
2405
+ # * For environment type `ARM_CONTAINER`, you can use up to 4 GB
2406
+ # memory and 2 vCPUs on ARM-based processors for builds.
2407
+ #
2408
+ # If you use `BUILD_GENERAL1_LARGE`:
2409
+ #
2410
+ # * For environment type `LINUX_CONTAINER`, you can use up to 15 GB
2411
+ # memory and 8 vCPUs for builds.
2412
+ #
2413
+ # * For environment type `LINUX_GPU_CONTAINER`, you can use up to 255
2414
+ # GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
2415
+ #
2416
+ # * For environment type `ARM_CONTAINER`, you can use up to 16 GB
2417
+ # memory and 8 vCPUs on ARM-based processors for builds.
2418
+ #
2419
+ # For more information, see [Build environment compute types][1] in
2420
+ # the *CodeBuild User Guide.*
2421
+ #
2422
+ #
2423
+ #
2424
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
2425
+ # @return [String]
2426
+ #
2427
+ # @!attribute [rw] scaling_configuration
2428
+ # The scaling configuration of the compute fleet.
2429
+ # @return [Types::ScalingConfigurationOutput]
2430
+ #
2431
+ # @!attribute [rw] tags
2432
+ # A list of tag key and value pairs associated with this compute
2433
+ # fleet.
2434
+ #
2435
+ # These tags are available for use by Amazon Web Services services
2436
+ # that support CodeBuild build project tags.
2437
+ # @return [Array<Types::Tag>]
2438
+ #
2439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Fleet AWS API Documentation
2440
+ #
2441
+ class Fleet < Struct.new(
2442
+ :arn,
2443
+ :name,
2444
+ :id,
2445
+ :created,
2446
+ :last_modified,
2447
+ :status,
2448
+ :base_capacity,
2449
+ :environment_type,
2450
+ :compute_type,
2451
+ :scaling_configuration,
2452
+ :tags)
2453
+ SENSITIVE = []
2454
+ include Aws::Structure
2455
+ end
2456
+
2457
+ # The status of the compute fleet.
2458
+ #
2459
+ # @!attribute [rw] status_code
2460
+ # The status code of the compute fleet. Valid values include:
2461
+ #
2462
+ # * `CREATING`: The compute fleet is being created.
2463
+ #
2464
+ # * `UPDATING`: The compute fleet is being updated.
2465
+ #
2466
+ # * `ROTATING`: The compute fleet is being rotated.
2467
+ #
2468
+ # * `DELETING`: The compute fleet is being deleted.
2469
+ #
2470
+ # * `CREATE_FAILED`: The compute fleet has failed to create.
2471
+ #
2472
+ # * `UPDATE_ROLLBACK_FAILED`: The compute fleet has failed to update
2473
+ # and could not rollback to previous state.
2474
+ #
2475
+ # * `ACTIVE`: The compute fleet has succeeded and is active.
2476
+ # @return [String]
2477
+ #
2478
+ # @!attribute [rw] context
2479
+ # Additional information about a compute fleet. Valid values include:
2480
+ #
2481
+ # * `CREATE_FAILED`: The compute fleet has failed to create.
2482
+ #
2483
+ # * `UPDATE_FAILED`: The compute fleet has failed to update.
2484
+ # @return [String]
2485
+ #
2486
+ # @!attribute [rw] message
2487
+ # A message associated with the status of a compute fleet.
2488
+ # @return [String]
2489
+ #
2490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/FleetStatus AWS API Documentation
2491
+ #
2492
+ class FleetStatus < Struct.new(
2493
+ :status_code,
2494
+ :context,
2495
+ :message)
2496
+ SENSITIVE = []
2497
+ include Aws::Structure
2498
+ end
2499
+
2126
2500
  # @!attribute [rw] report_group_arn
2127
2501
  # The ARN of the report group that contains the reports to analyze.
2128
2502
  # @return [String]
@@ -2574,6 +2948,79 @@ module Aws::CodeBuild
2574
2948
  include Aws::Structure
2575
2949
  end
2576
2950
 
2951
+ # @!attribute [rw] next_token
2952
+ # During a previous call, if there are more than 100 items in the
2953
+ # list, only the first 100 items are returned, along with a unique
2954
+ # string called a *nextToken*. To get the next batch of items in the
2955
+ # list, call this operation again, adding the next token to the call.
2956
+ # To get all of the items in the list, keep calling this operation
2957
+ # with each subsequent next token that is returned, until no more next
2958
+ # tokens are returned.
2959
+ # @return [String]
2960
+ #
2961
+ # @!attribute [rw] max_results
2962
+ # The maximum number of paginated compute fleets returned per
2963
+ # response. Use `nextToken` to iterate pages in the list of returned
2964
+ # compute fleets.
2965
+ # @return [Integer]
2966
+ #
2967
+ # @!attribute [rw] sort_order
2968
+ # The order in which to list compute fleets. Valid values include:
2969
+ #
2970
+ # * `ASCENDING`: List in ascending order.
2971
+ #
2972
+ # * `DESCENDING`: List in descending order.
2973
+ #
2974
+ # Use `sortBy` to specify the criterion to be used to list compute
2975
+ # fleet names.
2976
+ # @return [String]
2977
+ #
2978
+ # @!attribute [rw] sort_by
2979
+ # The criterion to be used to list compute fleet names. Valid values
2980
+ # include:
2981
+ #
2982
+ # * `CREATED_TIME`: List based on when each compute fleet was created.
2983
+ #
2984
+ # * `LAST_MODIFIED_TIME`: List based on when information about each
2985
+ # compute fleet was last changed.
2986
+ #
2987
+ # * `NAME`: List based on each compute fleet's name.
2988
+ #
2989
+ # Use `sortOrder` to specify in what order to list the compute fleet
2990
+ # names based on the preceding criteria.
2991
+ # @return [String]
2992
+ #
2993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListFleetsInput AWS API Documentation
2994
+ #
2995
+ class ListFleetsInput < Struct.new(
2996
+ :next_token,
2997
+ :max_results,
2998
+ :sort_order,
2999
+ :sort_by)
3000
+ SENSITIVE = [:next_token]
3001
+ include Aws::Structure
3002
+ end
3003
+
3004
+ # @!attribute [rw] next_token
3005
+ # If there are more than 100 items in the list, only the first 100
3006
+ # items are returned, along with a unique string called a *nextToken*.
3007
+ # To get the next batch of items in the list, call this operation
3008
+ # again, adding the next token to the call.
3009
+ # @return [String]
3010
+ #
3011
+ # @!attribute [rw] fleets
3012
+ # The list of compute fleet names.
3013
+ # @return [Array<String>]
3014
+ #
3015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListFleetsOutput AWS API Documentation
3016
+ #
3017
+ class ListFleetsOutput < Struct.new(
3018
+ :next_token,
3019
+ :fleets)
3020
+ SENSITIVE = []
3021
+ include Aws::Structure
3022
+ end
3023
+
2577
3024
  # @!attribute [rw] sort_by
2578
3025
  # The criterion to be used to list build project names. Valid values
2579
3026
  # include:
@@ -3729,12 +4176,11 @@ module Aws::CodeBuild
3729
4176
  # (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia
3730
4177
  # Pacific (Sydney), and EU (Frankfurt).
3731
4178
  #
3732
- # * The environment type `LINUX_CONTAINER` with compute type
3733
- # `build.general1.2xlarge` is available only in regions US East (N.
3734
- # Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
3735
- # (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
3736
- # Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
3737
- # China (Beijing), and China (Ningxia).
4179
+ # * The environment type `LINUX_CONTAINER` is available only in
4180
+ # regions US East (N. Virginia), US East (Ohio), US West (Oregon),
4181
+ # Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia
4182
+ # Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
4183
+ # Asia Pacific (Sydney), China (Beijing), and China (Ningxia).
3738
4184
  #
3739
4185
  # * The environment type `LINUX_GPU_CONTAINER` is available only in
3740
4186
  # regions US East (N. Virginia), US East (Ohio), US West (Oregon),
@@ -3760,6 +4206,11 @@ module Aws::CodeBuild
3760
4206
  #
3761
4207
  # ^
3762
4208
  #
4209
+ # <note markdown="1"> If you're using compute fleets during project creation, `type` will
4210
+ # be ignored.
4211
+ #
4212
+ # </note>
4213
+ #
3763
4214
  # For more information, see [Build environment compute types][1] in
3764
4215
  # the *CodeBuild user guide*.
3765
4216
  #
@@ -3803,6 +4254,9 @@ module Aws::CodeBuild
3803
4254
  # * `BUILD_GENERAL1_LARGE`: Use up to 16 GB memory and 8 vCPUs for
3804
4255
  # builds, depending on your environment type.
3805
4256
  #
4257
+ # * `BUILD_GENERAL1_XLARGE`: Use up to 70 GB memory and 36 vCPUs for
4258
+ # builds, depending on your environment type.
4259
+ #
3806
4260
  # * `BUILD_GENERAL1_2XLARGE`: Use up to 145 GB memory, 72 vCPUs, and
3807
4261
  # 824 GB of SSD storage for builds. This compute type supports
3808
4262
  # Docker images up to 100 GB uncompressed.
@@ -3849,6 +4303,11 @@ module Aws::CodeBuild
3849
4303
  # * For environment type `ARM_CONTAINER`, you can use up to 16 GB
3850
4304
  # memory and 8 vCPUs on ARM-based processors for builds.
3851
4305
  #
4306
+ # <note markdown="1"> If you're using compute fleets during project creation,
4307
+ # `computeType` will be ignored.
4308
+ #
4309
+ # </note>
4310
+ #
3852
4311
  # For more information, see [Build Environment Compute Types][1] in
3853
4312
  # the *CodeBuild User Guide.*
3854
4313
  #
@@ -3857,6 +4316,10 @@ module Aws::CodeBuild
3857
4316
  # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
3858
4317
  # @return [String]
3859
4318
  #
4319
+ # @!attribute [rw] fleet
4320
+ # A ProjectFleet object to use for this build project.
4321
+ # @return [Types::ProjectFleet]
4322
+ #
3860
4323
  # @!attribute [rw] environment_variables
3861
4324
  # A set of environment variables to make available to builds for this
3862
4325
  # build project.
@@ -3925,6 +4388,7 @@ module Aws::CodeBuild
3925
4388
  :type,
3926
4389
  :image,
3927
4390
  :compute_type,
4391
+ :fleet,
3928
4392
  :environment_variables,
3929
4393
  :privileged_mode,
3930
4394
  :certificate,
@@ -3998,6 +4462,25 @@ module Aws::CodeBuild
3998
4462
  include Aws::Structure
3999
4463
  end
4000
4464
 
4465
+ # Information about the compute fleet of the build project. For more
4466
+ # information, see [Working with reserved capacity in CodeBuild][1].
4467
+ #
4468
+ #
4469
+ #
4470
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html
4471
+ #
4472
+ # @!attribute [rw] fleet_arn
4473
+ # Specifies the compute fleet ARN for the build project.
4474
+ # @return [String]
4475
+ #
4476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectFleet AWS API Documentation
4477
+ #
4478
+ class ProjectFleet < Struct.new(
4479
+ :fleet_arn)
4480
+ SENSITIVE = []
4481
+ include Aws::Structure
4482
+ end
4483
+
4001
4484
  # Information about the build input source code for the build project.
4002
4485
  #
4003
4486
  # @!attribute [rw] type
@@ -4787,6 +5270,59 @@ module Aws::CodeBuild
4787
5270
  include Aws::Structure
4788
5271
  end
4789
5272
 
5273
+ # The scaling configuration input of a compute fleet.
5274
+ #
5275
+ # @!attribute [rw] scaling_type
5276
+ # The scaling type for a compute fleet.
5277
+ # @return [String]
5278
+ #
5279
+ # @!attribute [rw] target_tracking_scaling_configs
5280
+ # A list of `TargetTrackingScalingConfiguration` objects.
5281
+ # @return [Array<Types::TargetTrackingScalingConfiguration>]
5282
+ #
5283
+ # @!attribute [rw] max_capacity
5284
+ # The maximum number of instances in the fleet when auto-scaling.
5285
+ # @return [Integer]
5286
+ #
5287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ScalingConfigurationInput AWS API Documentation
5288
+ #
5289
+ class ScalingConfigurationInput < Struct.new(
5290
+ :scaling_type,
5291
+ :target_tracking_scaling_configs,
5292
+ :max_capacity)
5293
+ SENSITIVE = []
5294
+ include Aws::Structure
5295
+ end
5296
+
5297
+ # The scaling configuration output of a compute fleet.
5298
+ #
5299
+ # @!attribute [rw] scaling_type
5300
+ # The scaling type for a compute fleet.
5301
+ # @return [String]
5302
+ #
5303
+ # @!attribute [rw] target_tracking_scaling_configs
5304
+ # A list of `TargetTrackingScalingConfiguration` objects.
5305
+ # @return [Array<Types::TargetTrackingScalingConfiguration>]
5306
+ #
5307
+ # @!attribute [rw] max_capacity
5308
+ # The maximum number of instances in the fleet when auto-scaling.
5309
+ # @return [Integer]
5310
+ #
5311
+ # @!attribute [rw] desired_capacity
5312
+ # The desired number of instances in the fleet when auto-scaling.
5313
+ # @return [Integer]
5314
+ #
5315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ScalingConfigurationOutput AWS API Documentation
5316
+ #
5317
+ class ScalingConfigurationOutput < Struct.new(
5318
+ :scaling_type,
5319
+ :target_tracking_scaling_configs,
5320
+ :max_capacity,
5321
+ :desired_capacity)
5322
+ SENSITIVE = []
5323
+ include Aws::Structure
5324
+ end
5325
+
4790
5326
  # Information about the authorization settings for CodeBuild to access
4791
5327
  # the source code to be built.
4792
5328
  #
@@ -5399,6 +5935,11 @@ module Aws::CodeBuild
5399
5935
  # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
5400
5936
  # @return [Boolean]
5401
5937
  #
5938
+ # @!attribute [rw] fleet_override
5939
+ # A ProjectFleet object specified for this build that overrides the
5940
+ # one defined in the build project.
5941
+ # @return [Types::ProjectFleet]
5942
+ #
5402
5943
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput AWS API Documentation
5403
5944
  #
5404
5945
  class StartBuildInput < Struct.new(
@@ -5432,7 +5973,8 @@ module Aws::CodeBuild
5432
5973
  :logs_config_override,
5433
5974
  :registry_credential_override,
5434
5975
  :image_pull_credentials_type_override,
5435
- :debug_session_enabled)
5976
+ :debug_session_enabled,
5977
+ :fleet_override)
5436
5978
  SENSITIVE = []
5437
5979
  include Aws::Structure
5438
5980
  end
@@ -5519,6 +6061,25 @@ module Aws::CodeBuild
5519
6061
  include Aws::Structure
5520
6062
  end
5521
6063
 
6064
+ # Defines when a new instance is auto-scaled into the compute fleet.
6065
+ #
6066
+ # @!attribute [rw] metric_type
6067
+ # The metric type to determine auto-scaling.
6068
+ # @return [String]
6069
+ #
6070
+ # @!attribute [rw] target_value
6071
+ # The value of `metricType` when to start scaling.
6072
+ # @return [Float]
6073
+ #
6074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/TargetTrackingScalingConfiguration AWS API Documentation
6075
+ #
6076
+ class TargetTrackingScalingConfiguration < Struct.new(
6077
+ :metric_type,
6078
+ :target_value)
6079
+ SENSITIVE = []
6080
+ include Aws::Structure
6081
+ end
6082
+
5522
6083
  # Information about a test case created using a framework such as NUnit
5523
6084
  # or Cucumber. A test case might be a unit test or a configuration test.
5524
6085
  #
@@ -5636,6 +6197,141 @@ module Aws::CodeBuild
5636
6197
  include Aws::Structure
5637
6198
  end
5638
6199
 
6200
+ # @!attribute [rw] arn
6201
+ # The ARN of the compute fleet.
6202
+ # @return [String]
6203
+ #
6204
+ # @!attribute [rw] base_capacity
6205
+ # The initial number of machines allocated to the compute fleet, which
6206
+ # defines the number of builds that can run in parallel.
6207
+ # @return [Integer]
6208
+ #
6209
+ # @!attribute [rw] environment_type
6210
+ # The environment type of the compute fleet.
6211
+ #
6212
+ # * The environment type `ARM_CONTAINER` is available only in regions
6213
+ # US East (N. Virginia), US East (Ohio), US West (Oregon), EU
6214
+ # (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia
6215
+ # Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and
6216
+ # South America (São Paulo).
6217
+ #
6218
+ # * The environment type `LINUX_CONTAINER` is available only in
6219
+ # regions US East (N. Virginia), US East (Ohio), US West (Oregon),
6220
+ # EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific
6221
+ # (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
6222
+ # Asia Pacific (Mumbai).
6223
+ #
6224
+ # * The environment type `LINUX_GPU_CONTAINER` is available only in
6225
+ # regions US East (N. Virginia), US East (Ohio), US West (Oregon),
6226
+ # EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia
6227
+ # Pacific (Sydney).
6228
+ #
6229
+ # * The environment type `WINDOWS_SERVER_2019_CONTAINER` is available
6230
+ # only in regions US East (N. Virginia), US East (Ohio), US West
6231
+ # (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia
6232
+ # Pacific (Mumbai) and EU (Ireland).
6233
+ #
6234
+ # * The environment type `WINDOWS_SERVER_2022_CONTAINER` is available
6235
+ # only in regions US East (N. Virginia), US East (Ohio), US West
6236
+ # (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney),
6237
+ # Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São
6238
+ # Paulo) and Asia Pacific (Mumbai).
6239
+ #
6240
+ # For more information, see [Build environment compute types][1] in
6241
+ # the *CodeBuild user guide*.
6242
+ #
6243
+ #
6244
+ #
6245
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
6246
+ # @return [String]
6247
+ #
6248
+ # @!attribute [rw] compute_type
6249
+ # Information about the compute resources the compute fleet uses.
6250
+ # Available values include:
6251
+ #
6252
+ # * `BUILD_GENERAL1_SMALL`: Use up to 3 GB memory and 2 vCPUs for
6253
+ # builds.
6254
+ #
6255
+ # * `BUILD_GENERAL1_MEDIUM`: Use up to 7 GB memory and 4 vCPUs for
6256
+ # builds.
6257
+ #
6258
+ # * `BUILD_GENERAL1_LARGE`: Use up to 16 GB memory and 8 vCPUs for
6259
+ # builds, depending on your environment type.
6260
+ #
6261
+ # * `BUILD_GENERAL1_XLARGE`: Use up to 70 GB memory and 36 vCPUs for
6262
+ # builds, depending on your environment type.
6263
+ #
6264
+ # * `BUILD_GENERAL1_2XLARGE`: Use up to 145 GB memory, 72 vCPUs, and
6265
+ # 824 GB of SSD storage for builds. This compute type supports
6266
+ # Docker images up to 100 GB uncompressed.
6267
+ #
6268
+ # If you use `BUILD_GENERAL1_SMALL`:
6269
+ #
6270
+ # * For environment type `LINUX_CONTAINER`, you can use up to 3 GB
6271
+ # memory and 2 vCPUs for builds.
6272
+ #
6273
+ # * For environment type `LINUX_GPU_CONTAINER`, you can use up to 16
6274
+ # GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
6275
+ #
6276
+ # * For environment type `ARM_CONTAINER`, you can use up to 4 GB
6277
+ # memory and 2 vCPUs on ARM-based processors for builds.
6278
+ #
6279
+ # If you use `BUILD_GENERAL1_LARGE`:
6280
+ #
6281
+ # * For environment type `LINUX_CONTAINER`, you can use up to 15 GB
6282
+ # memory and 8 vCPUs for builds.
6283
+ #
6284
+ # * For environment type `LINUX_GPU_CONTAINER`, you can use up to 255
6285
+ # GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
6286
+ #
6287
+ # * For environment type `ARM_CONTAINER`, you can use up to 16 GB
6288
+ # memory and 8 vCPUs on ARM-based processors for builds.
6289
+ #
6290
+ # For more information, see [Build environment compute types][1] in
6291
+ # the *CodeBuild User Guide.*
6292
+ #
6293
+ #
6294
+ #
6295
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
6296
+ # @return [String]
6297
+ #
6298
+ # @!attribute [rw] scaling_configuration
6299
+ # The scaling configuration of the compute fleet.
6300
+ # @return [Types::ScalingConfigurationInput]
6301
+ #
6302
+ # @!attribute [rw] tags
6303
+ # A list of tag key and value pairs associated with this compute
6304
+ # fleet.
6305
+ #
6306
+ # These tags are available for use by Amazon Web Services services
6307
+ # that support CodeBuild build project tags.
6308
+ # @return [Array<Types::Tag>]
6309
+ #
6310
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateFleetInput AWS API Documentation
6311
+ #
6312
+ class UpdateFleetInput < Struct.new(
6313
+ :arn,
6314
+ :base_capacity,
6315
+ :environment_type,
6316
+ :compute_type,
6317
+ :scaling_configuration,
6318
+ :tags)
6319
+ SENSITIVE = []
6320
+ include Aws::Structure
6321
+ end
6322
+
6323
+ # @!attribute [rw] fleet
6324
+ # A `Fleet` object.
6325
+ # @return [Types::Fleet]
6326
+ #
6327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateFleetOutput AWS API Documentation
6328
+ #
6329
+ class UpdateFleetOutput < Struct.new(
6330
+ :fleet)
6331
+ SENSITIVE = []
6332
+ include Aws::Structure
6333
+ end
6334
+
5639
6335
  # @!attribute [rw] name
5640
6336
  # The name of the build project.
5641
6337
  #