aws-sdk-codebuild 1.175.0 → 1.176.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b37bef23a1a25d0b277ebf11463602b0efd2d44b3eef96a796f98544ee1ad8c8
4
- data.tar.gz: cbf9d78e3046c136c25297b950d4c7498151269330b518dbf5c8b04efd71503e
3
+ metadata.gz: ee33156aa594270f5dd1176c0a316b704b96021b93d13a991f9ff4a7f5272a8b
4
+ data.tar.gz: 44b0a1c03be5b5a1d86084aed065efb683c6a8e19020104bf8241934a5ce0337
5
5
  SHA512:
6
- metadata.gz: b56038435cae9571c36ac229fc62a7d93dae2a55d839a8768e138bc01fb570098ef6b00ba9aa7b0f3ac35ce7f4e407474acb03f9f6a76230664eddd53d3f7a9d
7
- data.tar.gz: 31d3db5453fff87552f0c6217b46e740b9c2c1d27179585d163b064fd85917ea20e62f163f6f41350aa2a25fe12b0ac4c9793dcb2039bd155aedfddb16ebdc56
6
+ metadata.gz: 690cfa05aee19c3de7505e901cab66a8345536dc1331b598403e6b85c7a65c703abb3494608b5093a6b1270d95e2778198455d4ab4989e89845ddf52de9ddd0f
7
+ data.tar.gz: 8d749c994117981c84062df3d7b8032e8fa20e207eb3f072abaf58580a988a615fc568ad02efa97fefb186764c18c45f411d9ba3310c79c506571006628c1a1b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.176.0 (2026-06-30)
5
+ ------------------
6
+
7
+ * Feature - Adds support for host kernel selection for on-demand builds.
8
+
4
9
  1.175.0 (2026-05-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.175.0
1
+ 1.176.0
@@ -622,6 +622,7 @@ module Aws::CodeBuild
622
622
  # resp.build_batches[0].environment.docker_server.security_group_ids[0] #=> String
623
623
  # resp.build_batches[0].environment.docker_server.status.status #=> String
624
624
  # resp.build_batches[0].environment.docker_server.status.message #=> String
625
+ # resp.build_batches[0].environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
625
626
  # resp.build_batches[0].service_role #=> String
626
627
  # resp.build_batches[0].log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
627
628
  # resp.build_batches[0].log_config.cloud_watch_logs.group_name #=> String
@@ -806,6 +807,7 @@ module Aws::CodeBuild
806
807
  # resp.builds[0].environment.docker_server.security_group_ids[0] #=> String
807
808
  # resp.builds[0].environment.docker_server.status.status #=> String
808
809
  # resp.builds[0].environment.docker_server.status.message #=> String
810
+ # resp.builds[0].environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
809
811
  # resp.builds[0].service_role #=> String
810
812
  # resp.builds[0].logs.group_name #=> String
811
813
  # resp.builds[0].logs.stream_name #=> String
@@ -1094,6 +1096,7 @@ module Aws::CodeBuild
1094
1096
  # resp.projects[0].environment.docker_server.security_group_ids[0] #=> String
1095
1097
  # resp.projects[0].environment.docker_server.status.status #=> String
1096
1098
  # resp.projects[0].environment.docker_server.status.message #=> String
1099
+ # resp.projects[0].environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
1097
1100
  # resp.projects[0].service_role #=> String
1098
1101
  # resp.projects[0].timeout_in_minutes #=> Integer
1099
1102
  # resp.projects[0].queued_timeout_in_minutes #=> Integer
@@ -1352,6 +1355,7 @@ module Aws::CodeBuild
1352
1355
  # resp.sandboxes[0].environment.docker_server.security_group_ids[0] #=> String
1353
1356
  # resp.sandboxes[0].environment.docker_server.status.status #=> String
1354
1357
  # resp.sandboxes[0].environment.docker_server.status.message #=> String
1358
+ # resp.sandboxes[0].environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
1355
1359
  # resp.sandboxes[0].file_system_locations #=> Array
1356
1360
  # resp.sandboxes[0].file_system_locations[0].type #=> String, one of "EFS"
1357
1361
  # resp.sandboxes[0].file_system_locations[0].location #=> String
@@ -2000,6 +2004,7 @@ module Aws::CodeBuild
2000
2004
  # message: "String",
2001
2005
  # },
2002
2006
  # },
2007
+ # host_kernel: "LINUX_KERNEL_4", # accepts LINUX_KERNEL_4, LINUX_KERNEL_6, LINUX_KERNEL_LATEST
2003
2008
  # },
2004
2009
  # service_role: "NonEmptyString", # required
2005
2010
  # timeout_in_minutes: 1,
@@ -2137,6 +2142,7 @@ module Aws::CodeBuild
2137
2142
  # resp.project.environment.docker_server.security_group_ids[0] #=> String
2138
2143
  # resp.project.environment.docker_server.status.status #=> String
2139
2144
  # resp.project.environment.docker_server.status.message #=> String
2145
+ # resp.project.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
2140
2146
  # resp.project.service_role #=> String
2141
2147
  # resp.project.timeout_in_minutes #=> Integer
2142
2148
  # resp.project.queued_timeout_in_minutes #=> Integer
@@ -4027,6 +4033,7 @@ module Aws::CodeBuild
4027
4033
  # resp.build.environment.docker_server.security_group_ids[0] #=> String
4028
4034
  # resp.build.environment.docker_server.status.status #=> String
4029
4035
  # resp.build.environment.docker_server.status.message #=> String
4036
+ # resp.build.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
4030
4037
  # resp.build.service_role #=> String
4031
4038
  # resp.build.logs.group_name #=> String
4032
4039
  # resp.build.logs.stream_name #=> String
@@ -4200,6 +4207,7 @@ module Aws::CodeBuild
4200
4207
  # resp.build_batch.environment.docker_server.security_group_ids[0] #=> String
4201
4208
  # resp.build_batch.environment.docker_server.status.status #=> String
4202
4209
  # resp.build_batch.environment.docker_server.status.message #=> String
4210
+ # resp.build_batch.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
4203
4211
  # resp.build_batch.service_role #=> String
4204
4212
  # resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
4205
4213
  # resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
@@ -4534,6 +4542,10 @@ module Aws::CodeBuild
4534
4542
  # will call the `RetryBuild` API to automatically retry your build for
4535
4543
  # up to 2 additional times.
4536
4544
  #
4545
+ # @option params [String] :host_kernel_override
4546
+ # The host operating system kernel for this build that overrides the one
4547
+ # specified in the build project.
4548
+ #
4537
4549
  # @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4538
4550
  #
4539
4551
  # * {Types::StartBuildOutput#build #build} => Types::Build
@@ -4660,6 +4672,7 @@ module Aws::CodeBuild
4660
4672
  # fleet_arn: "String",
4661
4673
  # },
4662
4674
  # auto_retry_limit_override: 1,
4675
+ # host_kernel_override: "LINUX_KERNEL_4", # accepts LINUX_KERNEL_4, LINUX_KERNEL_6, LINUX_KERNEL_LATEST
4663
4676
  # })
4664
4677
  #
4665
4678
  # @example Response structure
@@ -4754,6 +4767,7 @@ module Aws::CodeBuild
4754
4767
  # resp.build.environment.docker_server.security_group_ids[0] #=> String
4755
4768
  # resp.build.environment.docker_server.status.status #=> String
4756
4769
  # resp.build.environment.docker_server.status.message #=> String
4770
+ # resp.build.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
4757
4771
  # resp.build.service_role #=> String
4758
4772
  # resp.build.logs.group_name #=> String
4759
4773
  # resp.build.logs.stream_name #=> String
@@ -5247,6 +5261,7 @@ module Aws::CodeBuild
5247
5261
  # resp.build_batch.environment.docker_server.security_group_ids[0] #=> String
5248
5262
  # resp.build_batch.environment.docker_server.status.status #=> String
5249
5263
  # resp.build_batch.environment.docker_server.status.message #=> String
5264
+ # resp.build_batch.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
5250
5265
  # resp.build_batch.service_role #=> String
5251
5266
  # resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
5252
5267
  # resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
@@ -5460,6 +5475,7 @@ module Aws::CodeBuild
5460
5475
  # resp.sandbox.environment.docker_server.security_group_ids[0] #=> String
5461
5476
  # resp.sandbox.environment.docker_server.status.status #=> String
5462
5477
  # resp.sandbox.environment.docker_server.status.message #=> String
5478
+ # resp.sandbox.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
5463
5479
  # resp.sandbox.file_system_locations #=> Array
5464
5480
  # resp.sandbox.file_system_locations[0].type #=> String, one of "EFS"
5465
5481
  # resp.sandbox.file_system_locations[0].location #=> String
@@ -5659,6 +5675,7 @@ module Aws::CodeBuild
5659
5675
  # resp.build.environment.docker_server.security_group_ids[0] #=> String
5660
5676
  # resp.build.environment.docker_server.status.status #=> String
5661
5677
  # resp.build.environment.docker_server.status.message #=> String
5678
+ # resp.build.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
5662
5679
  # resp.build.service_role #=> String
5663
5680
  # resp.build.logs.group_name #=> String
5664
5681
  # resp.build.logs.stream_name #=> String
@@ -5819,6 +5836,7 @@ module Aws::CodeBuild
5819
5836
  # resp.build_batch.environment.docker_server.security_group_ids[0] #=> String
5820
5837
  # resp.build_batch.environment.docker_server.status.status #=> String
5821
5838
  # resp.build_batch.environment.docker_server.status.message #=> String
5839
+ # resp.build_batch.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
5822
5840
  # resp.build_batch.service_role #=> String
5823
5841
  # resp.build_batch.log_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
5824
5842
  # resp.build_batch.log_config.cloud_watch_logs.group_name #=> String
@@ -5968,6 +5986,7 @@ module Aws::CodeBuild
5968
5986
  # resp.sandbox.environment.docker_server.security_group_ids[0] #=> String
5969
5987
  # resp.sandbox.environment.docker_server.status.status #=> String
5970
5988
  # resp.sandbox.environment.docker_server.status.message #=> String
5989
+ # resp.sandbox.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
5971
5990
  # resp.sandbox.file_system_locations #=> Array
5972
5991
  # resp.sandbox.file_system_locations[0].type #=> String, one of "EFS"
5973
5992
  # resp.sandbox.file_system_locations[0].location #=> String
@@ -6617,6 +6636,7 @@ module Aws::CodeBuild
6617
6636
  # message: "String",
6618
6637
  # },
6619
6638
  # },
6639
+ # host_kernel: "LINUX_KERNEL_4", # accepts LINUX_KERNEL_4, LINUX_KERNEL_6, LINUX_KERNEL_LATEST
6620
6640
  # },
6621
6641
  # service_role: "NonEmptyString",
6622
6642
  # timeout_in_minutes: 1,
@@ -6754,6 +6774,7 @@ module Aws::CodeBuild
6754
6774
  # resp.project.environment.docker_server.security_group_ids[0] #=> String
6755
6775
  # resp.project.environment.docker_server.status.status #=> String
6756
6776
  # resp.project.environment.docker_server.status.message #=> String
6777
+ # resp.project.environment.host_kernel #=> String, one of "LINUX_KERNEL_4", "LINUX_KERNEL_6", "LINUX_KERNEL_LATEST"
6757
6778
  # resp.project.service_role #=> String
6758
6779
  # resp.project.timeout_in_minutes #=> Integer
6759
6780
  # resp.project.queued_timeout_in_minutes #=> Integer
@@ -7112,7 +7133,7 @@ module Aws::CodeBuild
7112
7133
  tracer: tracer
7113
7134
  )
7114
7135
  context[:gem_name] = 'aws-sdk-codebuild'
7115
- context[:gem_version] = '1.175.0'
7136
+ context[:gem_version] = '1.176.0'
7116
7137
  Seahorse::Client::Request.new(handlers, context)
7117
7138
  end
7118
7139
 
@@ -153,6 +153,7 @@ module Aws::CodeBuild
153
153
  GetResourcePolicyOutput = Shapes::StructureShape.new(name: 'GetResourcePolicyOutput')
154
154
  GitCloneDepth = Shapes::IntegerShape.new(name: 'GitCloneDepth')
155
155
  GitSubmodulesConfig = Shapes::StructureShape.new(name: 'GitSubmodulesConfig')
156
+ HostKernel = Shapes::StringShape.new(name: 'HostKernel')
156
157
  Identifiers = Shapes::ListShape.new(name: 'Identifiers')
157
158
  ImagePullCredentialsType = Shapes::StringShape.new(name: 'ImagePullCredentialsType')
158
159
  ImageVersions = Shapes::ListShape.new(name: 'ImageVersions')
@@ -1129,6 +1130,7 @@ module Aws::CodeBuild
1129
1130
  ProjectEnvironment.add_member(:registry_credential, Shapes::ShapeRef.new(shape: RegistryCredential, location_name: "registryCredential"))
1130
1131
  ProjectEnvironment.add_member(:image_pull_credentials_type, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsType"))
1131
1132
  ProjectEnvironment.add_member(:docker_server, Shapes::ShapeRef.new(shape: DockerServer, location_name: "dockerServer"))
1133
+ ProjectEnvironment.add_member(:host_kernel, Shapes::ShapeRef.new(shape: HostKernel, location_name: "hostKernel"))
1132
1134
  ProjectEnvironment.struct_class = Types::ProjectEnvironment
1133
1135
 
1134
1136
  ProjectFileSystemLocation.add_member(:type, Shapes::ShapeRef.new(shape: FileSystemType, location_name: "type"))
@@ -1432,6 +1434,7 @@ module Aws::CodeBuild
1432
1434
  StartBuildInput.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
1433
1435
  StartBuildInput.add_member(:fleet_override, Shapes::ShapeRef.new(shape: ProjectFleet, location_name: "fleetOverride"))
1434
1436
  StartBuildInput.add_member(:auto_retry_limit_override, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "autoRetryLimitOverride"))
1437
+ StartBuildInput.add_member(:host_kernel_override, Shapes::ShapeRef.new(shape: HostKernel, location_name: "hostKernelOverride"))
1435
1438
  StartBuildInput.struct_class = Types::StartBuildInput
1436
1439
 
1437
1440
  StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
@@ -2602,6 +2602,11 @@ module Aws::CodeBuild
2602
2602
  #
2603
2603
  # @!attribute [rw] status
2604
2604
  # A DockerServerStatus object to use for this docker server.
2605
+ #
2606
+ # <note markdown="1"> Note that `status` is only an output and cannot be passed in as an
2607
+ # input.
2608
+ #
2609
+ # </note>
2605
2610
  # @return [Types::DockerServerStatus]
2606
2611
  #
2607
2612
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DockerServer AWS API Documentation
@@ -5148,6 +5153,23 @@ module Aws::CodeBuild
5148
5153
  # A DockerServer object to use for this build project.
5149
5154
  # @return [Types::DockerServer]
5150
5155
  #
5156
+ # @!attribute [rw] host_kernel
5157
+ # The host operating system kernel used for on-demand builds in the
5158
+ # build project. The host kernel does not affect the build environment
5159
+ # operating system, which is determined by the image you specify.
5160
+ # Valid values are:
5161
+ #
5162
+ # * `LINUX_KERNEL_4`: Runs on an Amazon Linux 2 host (kernel 4.x).
5163
+ #
5164
+ # * `LINUX_KERNEL_6`: Runs on an Amazon Linux 2023 host (kernel 6.x).
5165
+ #
5166
+ # * `LINUX_KERNEL_LATEST`: Runs on the latest supported host kernel.
5167
+ #
5168
+ # This setting applies to the `LINUX_CONTAINER`, `ARM_CONTAINER`,
5169
+ # `LINUX_EC2`, and `ARM_EC2` environment types. It is not applicable
5170
+ # to Windows, Lambda, or Mac environment types.
5171
+ # @return [String]
5172
+ #
5151
5173
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment AWS API Documentation
5152
5174
  #
5153
5175
  class ProjectEnvironment < Struct.new(
@@ -5161,7 +5183,8 @@ module Aws::CodeBuild
5161
5183
  :certificate,
5162
5184
  :registry_credential,
5163
5185
  :image_pull_credentials_type,
5164
- :docker_server)
5186
+ :docker_server,
5187
+ :host_kernel)
5165
5188
  SENSITIVE = []
5166
5189
  include Aws::Structure
5167
5190
  end
@@ -7103,6 +7126,11 @@ module Aws::CodeBuild
7103
7126
  # up to 2 additional times.
7104
7127
  # @return [Integer]
7105
7128
  #
7129
+ # @!attribute [rw] host_kernel_override
7130
+ # The host operating system kernel for this build that overrides the
7131
+ # one specified in the build project.
7132
+ # @return [String]
7133
+ #
7106
7134
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput AWS API Documentation
7107
7135
  #
7108
7136
  class StartBuildInput < Struct.new(
@@ -7138,7 +7166,8 @@ module Aws::CodeBuild
7138
7166
  :image_pull_credentials_type_override,
7139
7167
  :debug_session_enabled,
7140
7168
  :fleet_override,
7141
- :auto_retry_limit_override)
7169
+ :auto_retry_limit_override,
7170
+ :host_kernel_override)
7142
7171
  SENSITIVE = []
7143
7172
  include Aws::Structure
7144
7173
  end
@@ -54,7 +54,7 @@ module Aws::CodeBuild
54
54
  autoload :EndpointProvider, 'aws-sdk-codebuild/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-codebuild/endpoints'
56
56
 
57
- GEM_VERSION = '1.175.0'
57
+ GEM_VERSION = '1.176.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -807,7 +807,8 @@ module Aws
807
807
  ?fleet_override: {
808
808
  fleet_arn: ::String?
809
809
  },
810
- ?auto_retry_limit_override: ::Integer
810
+ ?auto_retry_limit_override: ::Integer,
811
+ ?host_kernel_override: ("LINUX_KERNEL_4" | "LINUX_KERNEL_6" | "LINUX_KERNEL_LATEST")
811
812
  ) -> _StartBuildResponseSuccess
812
813
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBuildResponseSuccess
813
814
 
data/sig/params.rbs CHANGED
@@ -101,7 +101,8 @@ module Aws
101
101
  credential_provider: ("SECRETS_MANAGER")
102
102
  }?,
103
103
  image_pull_credentials_type: ("CODEBUILD" | "SERVICE_ROLE")?,
104
- docker_server: Params::docker_server?
104
+ docker_server: Params::docker_server?,
105
+ host_kernel: ("LINUX_KERNEL_4" | "LINUX_KERNEL_6" | "LINUX_KERNEL_LATEST")?
105
106
  }
106
107
 
107
108
  type logs_config = {
data/sig/types.rbs CHANGED
@@ -970,6 +970,7 @@ module Aws::CodeBuild
970
970
  attr_accessor registry_credential: Types::RegistryCredential
971
971
  attr_accessor image_pull_credentials_type: ("CODEBUILD" | "SERVICE_ROLE")
972
972
  attr_accessor docker_server: Types::DockerServer
973
+ attr_accessor host_kernel: ("LINUX_KERNEL_4" | "LINUX_KERNEL_6" | "LINUX_KERNEL_LATEST")
973
974
  SENSITIVE: []
974
975
  end
975
976
 
@@ -1306,6 +1307,7 @@ module Aws::CodeBuild
1306
1307
  attr_accessor debug_session_enabled: bool
1307
1308
  attr_accessor fleet_override: Types::ProjectFleet
1308
1309
  attr_accessor auto_retry_limit_override: ::Integer
1310
+ attr_accessor host_kernel_override: ("LINUX_KERNEL_4" | "LINUX_KERNEL_6" | "LINUX_KERNEL_LATEST")
1309
1311
  SENSITIVE: []
1310
1312
  end
1311
1313
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.175.0
4
+ version: 1.176.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services