aws-sdk-codebuild 1.112.0 → 1.113.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0df6099a663315f0aa1ada2f8f237bcdfd5b73ede76686bb387be921f5d89fa
4
- data.tar.gz: '09a653ba91a25b494146e19190cf178069f341c538f752f9d9243b9c7da63fa6'
3
+ metadata.gz: 78f9264716711452171d6469f510d7c21f145c9a9d931f478155cda081735f2a
4
+ data.tar.gz: d2f24879928f2e0b9f2d0401f66145edf586166b927292c8b9827d2be60af68a
5
5
  SHA512:
6
- metadata.gz: c383c88c2e7043f995844127c561e4d5693e3d8368031bd8125fa4f250d92d231d6d12319f8f0b19739c7c024537e5b4cd9824943dd8b857bf6211c2d334dfc8
7
- data.tar.gz: 6c02f48d9209c55273c7ade0f4dc8af43bd8e05a94492e3b7af40eb2197dbfb76fbd1f12fc89b884bf888e0a84a5f0c4e5ba1c2b2909516b551fe1bb711db962
6
+ metadata.gz: 802cbc10611957fb28a2494c48f224263304aad60219da6cbaabdb13974b161146561d9a6d1026376480c2397aff85f519824b4364297866192cddc734723df6
7
+ data.tar.gz: 313596add193ad123094161a083e5a287328db3e97841cde61a433f33d38ce7a7f7c48c5dab35cbf61e2d1d62a1a0b05fef17e1a03c86a634df101a1d58515a7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.113.0 (2024-05-15)
5
+ ------------------
6
+
7
+ * Feature - CodeBuild Reserved Capacity VPC Support
8
+
4
9
  1.112.0 (2024-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.112.0
1
+ 1.113.0
@@ -799,7 +799,7 @@ module Aws::CodeBuild
799
799
  # resp.fleets[0].created #=> Time
800
800
  # resp.fleets[0].last_modified #=> Time
801
801
  # resp.fleets[0].status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "PENDING_DELETION", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
802
- # resp.fleets[0].status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED"
802
+ # resp.fleets[0].status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED", "ACTION_REQUIRED"
803
803
  # resp.fleets[0].status.message #=> String
804
804
  # resp.fleets[0].base_capacity #=> Integer
805
805
  # 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"
@@ -811,6 +811,12 @@ module Aws::CodeBuild
811
811
  # resp.fleets[0].scaling_configuration.max_capacity #=> Integer
812
812
  # resp.fleets[0].scaling_configuration.desired_capacity #=> Integer
813
813
  # resp.fleets[0].overflow_behavior #=> String, one of "QUEUE", "ON_DEMAND"
814
+ # resp.fleets[0].vpc_config.vpc_id #=> String
815
+ # resp.fleets[0].vpc_config.subnets #=> Array
816
+ # resp.fleets[0].vpc_config.subnets[0] #=> String
817
+ # resp.fleets[0].vpc_config.security_group_ids #=> Array
818
+ # resp.fleets[0].vpc_config.security_group_ids[0] #=> String
819
+ # resp.fleets[0].fleet_service_role #=> String
814
820
  # resp.fleets[0].tags #=> Array
815
821
  # resp.fleets[0].tags[0].key #=> String
816
822
  # resp.fleets[0].tags[0].value #=> String
@@ -1193,6 +1199,25 @@ module Aws::CodeBuild
1193
1199
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
1194
1200
  # CodeBuild on-demand.
1195
1201
  #
1202
+ # <note markdown="1"> If you choose to set your overflow behavior to on-demand while
1203
+ # creating a VPC-connected fleet, make sure that you add the required
1204
+ # VPC permissions to your project service role. For more information,
1205
+ # see [Example policy statement to allow CodeBuild access to Amazon
1206
+ # Web Services services required to create a VPC network
1207
+ # interface][1].
1208
+ #
1209
+ # </note>
1210
+ #
1211
+ #
1212
+ #
1213
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface
1214
+ #
1215
+ # @option params [Types::VpcConfig] :vpc_config
1216
+ # Information about the VPC configuration that CodeBuild accesses.
1217
+ #
1218
+ # @option params [String] :fleet_service_role
1219
+ # The service role associated with the compute fleet.
1220
+ #
1196
1221
  # @option params [Array<Types::Tag>] :tags
1197
1222
  # A list of tag key and value pairs associated with this compute fleet.
1198
1223
  #
@@ -1221,6 +1246,12 @@ module Aws::CodeBuild
1221
1246
  # max_capacity: 1,
1222
1247
  # },
1223
1248
  # overflow_behavior: "QUEUE", # accepts QUEUE, ON_DEMAND
1249
+ # vpc_config: {
1250
+ # vpc_id: "NonEmptyString",
1251
+ # subnets: ["NonEmptyString"],
1252
+ # security_group_ids: ["NonEmptyString"],
1253
+ # },
1254
+ # fleet_service_role: "NonEmptyString",
1224
1255
  # tags: [
1225
1256
  # {
1226
1257
  # key: "KeyInput",
@@ -1237,7 +1268,7 @@ module Aws::CodeBuild
1237
1268
  # resp.fleet.created #=> Time
1238
1269
  # resp.fleet.last_modified #=> Time
1239
1270
  # resp.fleet.status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "PENDING_DELETION", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
1240
- # resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED"
1271
+ # resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED", "ACTION_REQUIRED"
1241
1272
  # resp.fleet.status.message #=> String
1242
1273
  # resp.fleet.base_capacity #=> Integer
1243
1274
  # 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"
@@ -1249,6 +1280,12 @@ module Aws::CodeBuild
1249
1280
  # resp.fleet.scaling_configuration.max_capacity #=> Integer
1250
1281
  # resp.fleet.scaling_configuration.desired_capacity #=> Integer
1251
1282
  # resp.fleet.overflow_behavior #=> String, one of "QUEUE", "ON_DEMAND"
1283
+ # resp.fleet.vpc_config.vpc_id #=> String
1284
+ # resp.fleet.vpc_config.subnets #=> Array
1285
+ # resp.fleet.vpc_config.subnets[0] #=> String
1286
+ # resp.fleet.vpc_config.security_group_ids #=> Array
1287
+ # resp.fleet.vpc_config.security_group_ids[0] #=> String
1288
+ # resp.fleet.fleet_service_role #=> String
1252
1289
  # resp.fleet.tags #=> Array
1253
1290
  # resp.fleet.tags[0].key #=> String
1254
1291
  # resp.fleet.tags[0].value #=> String
@@ -1290,6 +1327,8 @@ module Aws::CodeBuild
1290
1327
  # specified, the branch's HEAD commit ID is used. If not specified,
1291
1328
  # the default branch's HEAD commit ID is used.
1292
1329
  #
1330
+ # * For GitLab: the commit ID, branch, or Git tag to use.
1331
+ #
1293
1332
  # * For Bitbucket: the commit ID, branch name, or tag name that
1294
1333
  # corresponds to the version of the source code you want to build. If
1295
1334
  # a branch name is specified, the branch's HEAD commit ID is used. If
@@ -1363,6 +1402,11 @@ module Aws::CodeBuild
1363
1402
  # @option params [Types::VpcConfig] :vpc_config
1364
1403
  # VpcConfig enables CodeBuild to access resources in an Amazon VPC.
1365
1404
  #
1405
+ # <note markdown="1"> If you're using compute fleets during project creation, do not
1406
+ # provide vpcConfig.
1407
+ #
1408
+ # </note>
1409
+ #
1366
1410
  # @option params [Boolean] :badge_enabled
1367
1411
  # Set this to true to generate a publicly accessible URL for your
1368
1412
  # project's build badge.
@@ -2339,14 +2383,17 @@ module Aws::CodeBuild
2339
2383
  # @option params [required, String] :token
2340
2384
  # For GitHub or GitHub Enterprise, this is the personal access token.
2341
2385
  # For Bitbucket, this is either the access token or the app password.
2386
+ # For the `authType` CODECONNECTIONS, this is the `connectionArn`.
2342
2387
  #
2343
2388
  # @option params [required, String] :server_type
2344
2389
  # The source provider used for this project.
2345
2390
  #
2346
2391
  # @option params [required, String] :auth_type
2347
2392
  # The type of authentication used to connect to a GitHub, GitHub
2348
- # Enterprise, or Bitbucket repository. An OAUTH connection is not
2349
- # supported by the API and must be created using the CodeBuild console.
2393
+ # Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An
2394
+ # OAUTH connection is not supported by the API and must be created using
2395
+ # the CodeBuild console. Note that CODECONNECTIONS is only valid for
2396
+ # GitLab and GitLab Self Managed.
2350
2397
  #
2351
2398
  # @option params [Boolean] :should_overwrite
2352
2399
  # Set to `false` to prevent overwriting the repository source
@@ -3538,6 +3585,10 @@ module Aws::CodeBuild
3538
3585
  # specified, the branch's HEAD commit ID is used. If not specified,
3539
3586
  # the default branch's HEAD commit ID is used.
3540
3587
  #
3588
+ # GitLab
3589
+ #
3590
+ # : The commit ID, branch, or Git tag to use.
3591
+ #
3541
3592
  # Bitbucket
3542
3593
  #
3543
3594
  # : The commit ID, branch name, or tag name that corresponds to the
@@ -3582,7 +3633,7 @@ module Aws::CodeBuild
3582
3633
  # @option params [Types::SourceAuth] :source_auth_override
3583
3634
  # An authorization type for this build that overrides the one defined in
3584
3635
  # the build project. This override applies only if the build project's
3585
- # source is BitBucket or GitHub.
3636
+ # source is BitBucket, GitHub, GitLab, or GitLab Self Managed.
3586
3637
  #
3587
3638
  # @option params [Integer] :git_clone_depth_override
3588
3639
  # The user-defined depth of history, with a minimum value of 0, that
@@ -4918,6 +4969,25 @@ module Aws::CodeBuild
4918
4969
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
4919
4970
  # CodeBuild on-demand.
4920
4971
  #
4972
+ # <note markdown="1"> If you choose to set your overflow behavior to on-demand while
4973
+ # creating a VPC-connected fleet, make sure that you add the required
4974
+ # VPC permissions to your project service role. For more information,
4975
+ # see [Example policy statement to allow CodeBuild access to Amazon
4976
+ # Web Services services required to create a VPC network
4977
+ # interface][1].
4978
+ #
4979
+ # </note>
4980
+ #
4981
+ #
4982
+ #
4983
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface
4984
+ #
4985
+ # @option params [Types::VpcConfig] :vpc_config
4986
+ # Information about the VPC configuration that CodeBuild accesses.
4987
+ #
4988
+ # @option params [String] :fleet_service_role
4989
+ # The service role associated with the compute fleet.
4990
+ #
4921
4991
  # @option params [Array<Types::Tag>] :tags
4922
4992
  # A list of tag key and value pairs associated with this compute fleet.
4923
4993
  #
@@ -4946,6 +5016,12 @@ module Aws::CodeBuild
4946
5016
  # max_capacity: 1,
4947
5017
  # },
4948
5018
  # overflow_behavior: "QUEUE", # accepts QUEUE, ON_DEMAND
5019
+ # vpc_config: {
5020
+ # vpc_id: "NonEmptyString",
5021
+ # subnets: ["NonEmptyString"],
5022
+ # security_group_ids: ["NonEmptyString"],
5023
+ # },
5024
+ # fleet_service_role: "NonEmptyString",
4949
5025
  # tags: [
4950
5026
  # {
4951
5027
  # key: "KeyInput",
@@ -4962,7 +5038,7 @@ module Aws::CodeBuild
4962
5038
  # resp.fleet.created #=> Time
4963
5039
  # resp.fleet.last_modified #=> Time
4964
5040
  # resp.fleet.status.status_code #=> String, one of "CREATING", "UPDATING", "ROTATING", "PENDING_DELETION", "DELETING", "CREATE_FAILED", "UPDATE_ROLLBACK_FAILED", "ACTIVE"
4965
- # resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED"
5041
+ # resp.fleet.status.context #=> String, one of "CREATE_FAILED", "UPDATE_FAILED", "ACTION_REQUIRED"
4966
5042
  # resp.fleet.status.message #=> String
4967
5043
  # resp.fleet.base_capacity #=> Integer
4968
5044
  # 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"
@@ -4974,6 +5050,12 @@ module Aws::CodeBuild
4974
5050
  # resp.fleet.scaling_configuration.max_capacity #=> Integer
4975
5051
  # resp.fleet.scaling_configuration.desired_capacity #=> Integer
4976
5052
  # resp.fleet.overflow_behavior #=> String, one of "QUEUE", "ON_DEMAND"
5053
+ # resp.fleet.vpc_config.vpc_id #=> String
5054
+ # resp.fleet.vpc_config.subnets #=> Array
5055
+ # resp.fleet.vpc_config.subnets[0] #=> String
5056
+ # resp.fleet.vpc_config.security_group_ids #=> Array
5057
+ # resp.fleet.vpc_config.security_group_ids[0] #=> String
5058
+ # resp.fleet.fleet_service_role #=> String
4977
5059
  # resp.fleet.tags #=> Array
4978
5060
  # resp.fleet.tags[0].key #=> String
4979
5061
  # resp.fleet.tags[0].value #=> String
@@ -5020,6 +5102,8 @@ module Aws::CodeBuild
5020
5102
  # specified, the branch's HEAD commit ID is used. If not specified,
5021
5103
  # the default branch's HEAD commit ID is used.
5022
5104
  #
5105
+ # * For GitLab: the commit ID, branch, or Git tag to use.
5106
+ #
5023
5107
  # * For Bitbucket: the commit ID, branch name, or tag name that
5024
5108
  # corresponds to the version of the source code you want to build. If
5025
5109
  # a branch name is specified, the branch's HEAD commit ID is used. If
@@ -5667,7 +5751,7 @@ module Aws::CodeBuild
5667
5751
  params: params,
5668
5752
  config: config)
5669
5753
  context[:gem_name] = 'aws-sdk-codebuild'
5670
- context[:gem_version] = '1.112.0'
5754
+ context[:gem_version] = '1.113.0'
5671
5755
  Seahorse::Client::Request.new(handlers, context)
5672
5756
  end
5673
5757
 
@@ -519,6 +519,8 @@ module Aws::CodeBuild
519
519
  CreateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
520
520
  CreateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
521
521
  CreateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
522
+ CreateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
523
+ CreateFleetInput.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
522
524
  CreateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
523
525
  CreateFleetInput.struct_class = Types::CreateFleetInput
524
526
 
@@ -688,6 +690,8 @@ module Aws::CodeBuild
688
690
  Fleet.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
689
691
  Fleet.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationOutput, location_name: "scalingConfiguration"))
690
692
  Fleet.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
693
+ Fleet.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
694
+ Fleet.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
691
695
  Fleet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
692
696
  Fleet.struct_class = Types::Fleet
693
697
 
@@ -1251,6 +1255,8 @@ module Aws::CodeBuild
1251
1255
  UpdateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
1252
1256
  UpdateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
1253
1257
  UpdateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
1258
+ UpdateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1259
+ UpdateFleetInput.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
1254
1260
  UpdateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1255
1261
  UpdateFleetInput.struct_class = Types::UpdateFleetInput
1256
1262
 
@@ -1341,6 +1347,7 @@ module Aws::CodeBuild
1341
1347
  "endpointPrefix" => "codebuild",
1342
1348
  "jsonVersion" => "1.1",
1343
1349
  "protocol" => "json",
1350
+ "protocols" => ["json"],
1344
1351
  "serviceFullName" => "AWS CodeBuild",
1345
1352
  "serviceId" => "CodeBuild",
1346
1353
  "signatureVersion" => "v4",
@@ -388,8 +388,8 @@ module Aws::CodeBuild
388
388
  # @return [Types::LogsLocation]
389
389
  #
390
390
  # @!attribute [rw] timeout_in_minutes
391
- # How long, in minutes, for CodeBuild to wait before timing out this
392
- # build if it does not get marked as completed.
391
+ # How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
392
+ # before timing out this build if it does not get marked as completed.
393
393
  # @return [Integer]
394
394
  #
395
395
  # @!attribute [rw] queued_timeout_in_minutes
@@ -1506,6 +1506,27 @@ module Aws::CodeBuild
1506
1506
  #
1507
1507
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
1508
1508
  # CodeBuild on-demand.
1509
+ #
1510
+ # <note markdown="1"> If you choose to set your overflow behavior to on-demand while
1511
+ # creating a VPC-connected fleet, make sure that you add the
1512
+ # required VPC permissions to your project service role. For more
1513
+ # information, see [Example policy statement to allow CodeBuild
1514
+ # access to Amazon Web Services services required to create a VPC
1515
+ # network interface][1].
1516
+ #
1517
+ # </note>
1518
+ #
1519
+ #
1520
+ #
1521
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface
1522
+ # @return [String]
1523
+ #
1524
+ # @!attribute [rw] vpc_config
1525
+ # Information about the VPC configuration that CodeBuild accesses.
1526
+ # @return [Types::VpcConfig]
1527
+ #
1528
+ # @!attribute [rw] fleet_service_role
1529
+ # The service role associated with the compute fleet.
1509
1530
  # @return [String]
1510
1531
  #
1511
1532
  # @!attribute [rw] tags
@@ -1525,6 +1546,8 @@ module Aws::CodeBuild
1525
1546
  :compute_type,
1526
1547
  :scaling_configuration,
1527
1548
  :overflow_behavior,
1549
+ :vpc_config,
1550
+ :fleet_service_role,
1528
1551
  :tags)
1529
1552
  SENSITIVE = []
1530
1553
  include Aws::Structure
@@ -1572,6 +1595,8 @@ module Aws::CodeBuild
1572
1595
  # name is specified, the branch's HEAD commit ID is used. If not
1573
1596
  # specified, the default branch's HEAD commit ID is used.
1574
1597
  #
1598
+ # * For GitLab: the commit ID, branch, or Git tag to use.
1599
+ #
1575
1600
  # * For Bitbucket: the commit ID, branch name, or tag name that
1576
1601
  # corresponds to the version of the source code you want to build.
1577
1602
  # If a branch name is specified, the branch's HEAD commit ID is
@@ -1658,6 +1683,11 @@ module Aws::CodeBuild
1658
1683
  #
1659
1684
  # @!attribute [rw] vpc_config
1660
1685
  # VpcConfig enables CodeBuild to access resources in an Amazon VPC.
1686
+ #
1687
+ # <note markdown="1"> If you're using compute fleets during project creation, do not
1688
+ # provide vpcConfig.
1689
+ #
1690
+ # </note>
1661
1691
  # @return [Types::VpcConfig]
1662
1692
  #
1663
1693
  # @!attribute [rw] badge_enabled
@@ -2447,6 +2477,27 @@ module Aws::CodeBuild
2447
2477
  #
2448
2478
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
2449
2479
  # CodeBuild on-demand.
2480
+ #
2481
+ # <note markdown="1"> If you choose to set your overflow behavior to on-demand while
2482
+ # creating a VPC-connected fleet, make sure that you add the
2483
+ # required VPC permissions to your project service role. For more
2484
+ # information, see [Example policy statement to allow CodeBuild
2485
+ # access to Amazon Web Services services required to create a VPC
2486
+ # network interface][1].
2487
+ #
2488
+ # </note>
2489
+ #
2490
+ #
2491
+ #
2492
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface
2493
+ # @return [String]
2494
+ #
2495
+ # @!attribute [rw] vpc_config
2496
+ # Information about the VPC configuration that CodeBuild accesses.
2497
+ # @return [Types::VpcConfig]
2498
+ #
2499
+ # @!attribute [rw] fleet_service_role
2500
+ # The service role associated with the compute fleet.
2450
2501
  # @return [String]
2451
2502
  #
2452
2503
  # @!attribute [rw] tags
@@ -2471,6 +2522,8 @@ module Aws::CodeBuild
2471
2522
  :compute_type,
2472
2523
  :scaling_configuration,
2473
2524
  :overflow_behavior,
2525
+ :vpc_config,
2526
+ :fleet_service_role,
2474
2527
  :tags)
2475
2528
  SENSITIVE = []
2476
2529
  include Aws::Structure
@@ -2662,6 +2715,7 @@ module Aws::CodeBuild
2662
2715
  # @!attribute [rw] token
2663
2716
  # For GitHub or GitHub Enterprise, this is the personal access token.
2664
2717
  # For Bitbucket, this is either the access token or the app password.
2718
+ # For the `authType` CODECONNECTIONS, this is the `connectionArn`.
2665
2719
  # @return [String]
2666
2720
  #
2667
2721
  # @!attribute [rw] server_type
@@ -2670,9 +2724,10 @@ module Aws::CodeBuild
2670
2724
  #
2671
2725
  # @!attribute [rw] auth_type
2672
2726
  # The type of authentication used to connect to a GitHub, GitHub
2673
- # Enterprise, or Bitbucket repository. An OAUTH connection is not
2674
- # supported by the API and must be created using the CodeBuild
2675
- # console.
2727
+ # Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An
2728
+ # OAUTH connection is not supported by the API and must be created
2729
+ # using the CodeBuild console. Note that CODECONNECTIONS is only valid
2730
+ # for GitLab and GitLab Self Managed.
2676
2731
  # @return [String]
2677
2732
  #
2678
2733
  # @!attribute [rw] should_overwrite
@@ -3642,6 +3697,8 @@ module Aws::CodeBuild
3642
3697
  # name is specified, the branch's HEAD commit ID is used. If not
3643
3698
  # specified, the default branch's HEAD commit ID is used.
3644
3699
  #
3700
+ # * For GitLab: the commit ID, branch, or Git tag to use.
3701
+ #
3645
3702
  # * For Bitbucket: the commit ID, branch name, or tag name that
3646
3703
  # corresponds to the version of the source code you want to build.
3647
3704
  # If a branch name is specified, the branch's HEAD commit ID is
@@ -4714,13 +4771,15 @@ module Aws::CodeBuild
4714
4771
  #
4715
4772
  # * For CodeCommit: the commit ID, branch, or Git tag to use.
4716
4773
  #
4717
- # * For GitHub or GitLab: the commit ID, pull request ID, branch name,
4718
- # or tag name that corresponds to the version of the source code you
4719
- # want to build. If a pull request ID is specified, it must use the
4774
+ # * For GitHub: the commit ID, pull request ID, branch name, or tag
4775
+ # name that corresponds to the version of the source code you want
4776
+ # to build. If a pull request ID is specified, it must use the
4720
4777
  # format `pr/pull-request-ID` (for example, `pr/25`). If a branch
4721
4778
  # name is specified, the branch's HEAD commit ID is used. If not
4722
4779
  # specified, the default branch's HEAD commit ID is used.
4723
4780
  #
4781
+ # * For GitLab: the commit ID, branch, or Git tag to use.
4782
+ #
4724
4783
  # * For Bitbucket: the commit ID, branch name, or tag name that
4725
4784
  # corresponds to the version of the source code you want to build.
4726
4785
  # If a branch name is specified, the branch's HEAD commit ID is
@@ -5754,6 +5813,10 @@ module Aws::CodeBuild
5754
5813
  # specified, the branch's HEAD commit ID is used. If not specified,
5755
5814
  # the default branch's HEAD commit ID is used.
5756
5815
  #
5816
+ # GitLab
5817
+ #
5818
+ # : The commit ID, branch, or Git tag to use.
5819
+ #
5757
5820
  # Bitbucket
5758
5821
  #
5759
5822
  # : The commit ID, branch name, or tag name that corresponds to the
@@ -5804,7 +5867,8 @@ module Aws::CodeBuild
5804
5867
  # @!attribute [rw] source_auth_override
5805
5868
  # An authorization type for this build that overrides the one defined
5806
5869
  # in the build project. This override applies only if the build
5807
- # project's source is BitBucket or GitHub.
5870
+ # project's source is BitBucket, GitHub, GitLab, or GitLab Self
5871
+ # Managed.
5808
5872
  # @return [Types::SourceAuth]
5809
5873
  #
5810
5874
  # @!attribute [rw] git_clone_depth_override
@@ -6362,6 +6426,27 @@ module Aws::CodeBuild
6362
6426
  #
6363
6427
  # * For overflow behavior `ON_DEMAND`, your overflow builds run on
6364
6428
  # CodeBuild on-demand.
6429
+ #
6430
+ # <note markdown="1"> If you choose to set your overflow behavior to on-demand while
6431
+ # creating a VPC-connected fleet, make sure that you add the
6432
+ # required VPC permissions to your project service role. For more
6433
+ # information, see [Example policy statement to allow CodeBuild
6434
+ # access to Amazon Web Services services required to create a VPC
6435
+ # network interface][1].
6436
+ #
6437
+ # </note>
6438
+ #
6439
+ #
6440
+ #
6441
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface
6442
+ # @return [String]
6443
+ #
6444
+ # @!attribute [rw] vpc_config
6445
+ # Information about the VPC configuration that CodeBuild accesses.
6446
+ # @return [Types::VpcConfig]
6447
+ #
6448
+ # @!attribute [rw] fleet_service_role
6449
+ # The service role associated with the compute fleet.
6365
6450
  # @return [String]
6366
6451
  #
6367
6452
  # @!attribute [rw] tags
@@ -6381,6 +6466,8 @@ module Aws::CodeBuild
6381
6466
  :compute_type,
6382
6467
  :scaling_configuration,
6383
6468
  :overflow_behavior,
6469
+ :vpc_config,
6470
+ :fleet_service_role,
6384
6471
  :tags)
6385
6472
  SENSITIVE = []
6386
6473
  include Aws::Structure
@@ -6433,6 +6520,8 @@ module Aws::CodeBuild
6433
6520
  # name is specified, the branch's HEAD commit ID is used. If not
6434
6521
  # specified, the default branch's HEAD commit ID is used.
6435
6522
  #
6523
+ # * For GitLab: the commit ID, branch, or Git tag to use.
6524
+ #
6436
6525
  # * For Bitbucket: the commit ID, branch name, or tag name that
6437
6526
  # corresponds to the version of the source code you want to build.
6438
6527
  # If a branch name is specified, the branch's HEAD commit ID is
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codebuild/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeBuild
54
54
 
55
- GEM_VERSION = '1.112.0'
55
+ GEM_VERSION = '1.113.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -171,6 +171,12 @@ module Aws
171
171
  max_capacity: ::Integer?
172
172
  },
173
173
  ?overflow_behavior: ("QUEUE" | "ON_DEMAND"),
174
+ ?vpc_config: {
175
+ vpc_id: ::String?,
176
+ subnets: Array[::String]?,
177
+ security_group_ids: Array[::String]?
178
+ },
179
+ ?fleet_service_role: ::String,
174
180
  ?tags: Array[
175
181
  {
176
182
  key: ::String?,
@@ -1056,6 +1062,12 @@ module Aws
1056
1062
  max_capacity: ::Integer?
1057
1063
  },
1058
1064
  ?overflow_behavior: ("QUEUE" | "ON_DEMAND"),
1065
+ ?vpc_config: {
1066
+ vpc_id: ::String?,
1067
+ subnets: Array[::String]?,
1068
+ security_group_ids: Array[::String]?
1069
+ },
1070
+ ?fleet_service_role: ::String,
1059
1071
  ?tags: Array[
1060
1072
  {
1061
1073
  key: ::String?,
data/sig/types.rbs CHANGED
@@ -268,6 +268,8 @@ module Aws::CodeBuild
268
268
  attr_accessor compute_type: ("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")
269
269
  attr_accessor scaling_configuration: Types::ScalingConfigurationInput
270
270
  attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
271
+ attr_accessor vpc_config: Types::VpcConfig
272
+ attr_accessor fleet_service_role: ::String
271
273
  attr_accessor tags: ::Array[Types::Tag]
272
274
  SENSITIVE: []
273
275
  end
@@ -485,13 +487,15 @@ module Aws::CodeBuild
485
487
  attr_accessor compute_type: ("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")
486
488
  attr_accessor scaling_configuration: Types::ScalingConfigurationOutput
487
489
  attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
490
+ attr_accessor vpc_config: Types::VpcConfig
491
+ attr_accessor fleet_service_role: ::String
488
492
  attr_accessor tags: ::Array[Types::Tag]
489
493
  SENSITIVE: []
490
494
  end
491
495
 
492
496
  class FleetStatus
493
497
  attr_accessor status_code: ("CREATING" | "UPDATING" | "ROTATING" | "PENDING_DELETION" | "DELETING" | "CREATE_FAILED" | "UPDATE_ROLLBACK_FAILED" | "ACTIVE")
494
- attr_accessor context: ("CREATE_FAILED" | "UPDATE_FAILED")
498
+ attr_accessor context: ("CREATE_FAILED" | "UPDATE_FAILED" | "ACTION_REQUIRED")
495
499
  attr_accessor message: ::String
496
500
  SENSITIVE: []
497
501
  end
@@ -1162,6 +1166,8 @@ module Aws::CodeBuild
1162
1166
  attr_accessor compute_type: ("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")
1163
1167
  attr_accessor scaling_configuration: Types::ScalingConfigurationInput
1164
1168
  attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
1169
+ attr_accessor vpc_config: Types::VpcConfig
1170
+ attr_accessor fleet_service_role: ::String
1165
1171
  attr_accessor tags: ::Array[Types::Tag]
1166
1172
  SENSITIVE: []
1167
1173
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.112.0
4
+ version: 1.113.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core