aws-sdk-codebuild 1.68.0 → 1.73.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 +4 -4
- data/CHANGELOG.md +448 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-codebuild.rb +2 -2
- data/lib/aws-sdk-codebuild/client.rb +129 -113
- data/lib/aws-sdk-codebuild/client_api.rb +4 -1
- data/lib/aws-sdk-codebuild/errors.rb +1 -1
- data/lib/aws-sdk-codebuild/resource.rb +1 -1
- data/lib/aws-sdk-codebuild/types.rb +397 -329
- metadata +9 -7
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -377,6 +377,7 @@ module Aws::CodeBuild
|
|
|
377
377
|
BuildBatch.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
|
378
378
|
BuildBatch.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
|
|
379
379
|
BuildBatch.add_member(:build_groups, Shapes::ShapeRef.new(shape: BuildGroups, location_name: "buildGroups"))
|
|
380
|
+
BuildBatch.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
|
|
380
381
|
BuildBatch.struct_class = Types::BuildBatch
|
|
381
382
|
|
|
382
383
|
BuildBatchFilter.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, location_name: "status"))
|
|
@@ -987,6 +988,7 @@ module Aws::CodeBuild
|
|
|
987
988
|
S3LogsConfig.struct_class = Types::S3LogsConfig
|
|
988
989
|
|
|
989
990
|
S3ReportExportConfig.add_member(:bucket, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bucket"))
|
|
991
|
+
S3ReportExportConfig.add_member(:bucket_owner, Shapes::ShapeRef.new(shape: String, location_name: "bucketOwner"))
|
|
990
992
|
S3ReportExportConfig.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
|
|
991
993
|
S3ReportExportConfig.add_member(:packaging, Shapes::ShapeRef.new(shape: ReportPackagingType, location_name: "packaging"))
|
|
992
994
|
S3ReportExportConfig.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
|
|
@@ -1036,6 +1038,7 @@ module Aws::CodeBuild
|
|
|
1036
1038
|
StartBuildBatchInput.add_member(:registry_credential_override, Shapes::ShapeRef.new(shape: RegistryCredential, location_name: "registryCredentialOverride"))
|
|
1037
1039
|
StartBuildBatchInput.add_member(:image_pull_credentials_type_override, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsTypeOverride"))
|
|
1038
1040
|
StartBuildBatchInput.add_member(:build_batch_config_override, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfigOverride"))
|
|
1041
|
+
StartBuildBatchInput.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
|
|
1039
1042
|
StartBuildBatchInput.struct_class = Types::StartBuildBatchInput
|
|
1040
1043
|
|
|
1041
1044
|
StartBuildBatchOutput.add_member(:build_batch, Shapes::ShapeRef.new(shape: BuildBatch, location_name: "buildBatch"))
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
10
10
|
module Aws::CodeBuild
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
-
# An
|
|
13
|
+
# An Amazon Web Services service limit was exceeded for the calling
|
|
14
|
+
# Amazon Web Services account.
|
|
14
15
|
#
|
|
15
16
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/AccountLimitExceededException AWS API Documentation
|
|
16
17
|
#
|
|
@@ -135,8 +136,8 @@ module Aws::CodeBuild
|
|
|
135
136
|
#
|
|
136
137
|
# @!attribute [rw] names
|
|
137
138
|
# The names or ARNs of the build projects. To get information about a
|
|
138
|
-
# project shared with your
|
|
139
|
-
# cannot specify a shared project using its name.
|
|
139
|
+
# project shared with your Amazon Web Services account, its ARN must
|
|
140
|
+
# be specified. You cannot specify a shared project using its name.
|
|
140
141
|
# @return [Array<String>]
|
|
141
142
|
#
|
|
142
143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsInput AWS API Documentation
|
|
@@ -257,7 +258,7 @@ module Aws::CodeBuild
|
|
|
257
258
|
# @!attribute [rw] compute_types_allowed
|
|
258
259
|
# An array of strings that specify the compute types that are allowed
|
|
259
260
|
# for the batch build. See [Build environment compute types][1] in the
|
|
260
|
-
# *
|
|
261
|
+
# *CodeBuild User Guide* for these values.
|
|
261
262
|
#
|
|
262
263
|
#
|
|
263
264
|
#
|
|
@@ -324,7 +325,7 @@ module Aws::CodeBuild
|
|
|
324
325
|
# this `sourceVersion` (at the build level) takes precedence.
|
|
325
326
|
#
|
|
326
327
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
327
|
-
# in the *
|
|
328
|
+
# in the *CodeBuild User Guide*.
|
|
328
329
|
#
|
|
329
330
|
#
|
|
330
331
|
#
|
|
@@ -334,18 +335,16 @@ module Aws::CodeBuild
|
|
|
334
335
|
# @!attribute [rw] resolved_source_version
|
|
335
336
|
# An identifier for the version of this build's source code.
|
|
336
337
|
#
|
|
337
|
-
# * For
|
|
338
|
+
# * For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
|
|
338
339
|
# commit ID.
|
|
339
340
|
#
|
|
340
|
-
# * For
|
|
341
|
-
# CodePipeline.
|
|
341
|
+
# * For CodePipeline, the source revision provided by CodePipeline.
|
|
342
342
|
#
|
|
343
|
-
# * For Amazon
|
|
344
|
-
# apply.
|
|
343
|
+
# * For Amazon S3, this does not apply.
|
|
345
344
|
# @return [String]
|
|
346
345
|
#
|
|
347
346
|
# @!attribute [rw] project_name
|
|
348
|
-
# The name of the
|
|
347
|
+
# The name of the CodeBuild project.
|
|
349
348
|
# @return [String]
|
|
350
349
|
#
|
|
351
350
|
# @!attribute [rw] phases
|
|
@@ -365,7 +364,7 @@ module Aws::CodeBuild
|
|
|
365
364
|
# An array of `ProjectSourceVersion` objects. Each
|
|
366
365
|
# `ProjectSourceVersion` must be one of:
|
|
367
366
|
#
|
|
368
|
-
# * For
|
|
367
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
369
368
|
#
|
|
370
369
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
371
370
|
# name that corresponds to the version of the source code you want
|
|
@@ -380,8 +379,8 @@ module Aws::CodeBuild
|
|
|
380
379
|
# used. If not specified, the default branch's HEAD commit ID is
|
|
381
380
|
# used.
|
|
382
381
|
#
|
|
383
|
-
# * For Amazon
|
|
384
|
-
#
|
|
382
|
+
# * For Amazon S3: the version ID of the object that represents the
|
|
383
|
+
# build input ZIP file to use.
|
|
385
384
|
# @return [Array<Types::ProjectSourceVersion>]
|
|
386
385
|
#
|
|
387
386
|
# @!attribute [rw] artifacts
|
|
@@ -405,12 +404,12 @@ module Aws::CodeBuild
|
|
|
405
404
|
# @return [String]
|
|
406
405
|
#
|
|
407
406
|
# @!attribute [rw] logs
|
|
408
|
-
# Information about the build's logs in
|
|
407
|
+
# Information about the build's logs in CloudWatch Logs.
|
|
409
408
|
# @return [Types::LogsLocation]
|
|
410
409
|
#
|
|
411
410
|
# @!attribute [rw] timeout_in_minutes
|
|
412
|
-
# How long, in minutes, for
|
|
413
|
-
#
|
|
411
|
+
# How long, in minutes, for CodeBuild to wait before timing out this
|
|
412
|
+
# build if it does not get marked as completed.
|
|
414
413
|
# @return [Integer]
|
|
415
414
|
#
|
|
416
415
|
# @!attribute [rw] queued_timeout_in_minutes
|
|
@@ -425,22 +424,22 @@ module Aws::CodeBuild
|
|
|
425
424
|
# @!attribute [rw] initiator
|
|
426
425
|
# The entity that started the build. Valid values include:
|
|
427
426
|
#
|
|
428
|
-
# * If
|
|
427
|
+
# * If CodePipeline started the build, the pipeline's name (for
|
|
429
428
|
# example, `codepipeline/my-demo-pipeline`).
|
|
430
429
|
#
|
|
431
|
-
# * If an
|
|
432
|
-
#
|
|
430
|
+
# * If an Identity and Access Management user started the build, the
|
|
431
|
+
# user's name (for example, `MyUserName`).
|
|
433
432
|
#
|
|
434
|
-
# * If the Jenkins plugin for
|
|
435
|
-
#
|
|
433
|
+
# * If the Jenkins plugin for CodeBuild started the build, the string
|
|
434
|
+
# `CodeBuild-Jenkins-Plugin`.
|
|
436
435
|
# @return [String]
|
|
437
436
|
#
|
|
438
437
|
# @!attribute [rw] vpc_config
|
|
439
|
-
# If your
|
|
440
|
-
#
|
|
441
|
-
#
|
|
442
|
-
#
|
|
443
|
-
#
|
|
438
|
+
# If your CodeBuild project accesses resources in an Amazon VPC, you
|
|
439
|
+
# provide this parameter that identifies the VPC ID and the list of
|
|
440
|
+
# security group IDs and subnet IDs. The security groups and subnets
|
|
441
|
+
# must belong to the same VPC. You must provide at least one security
|
|
442
|
+
# group and one subnet ID.
|
|
444
443
|
# @return [Types::VpcConfig]
|
|
445
444
|
#
|
|
446
445
|
# @!attribute [rw] network_interface
|
|
@@ -448,8 +447,8 @@ module Aws::CodeBuild
|
|
|
448
447
|
# @return [Types::NetworkInterface]
|
|
449
448
|
#
|
|
450
449
|
# @!attribute [rw] encryption_key
|
|
451
|
-
# The
|
|
452
|
-
#
|
|
450
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
451
|
+
# encrypting the build output artifacts.
|
|
453
452
|
#
|
|
454
453
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
455
454
|
# artifacts if your service role has permission to that key.
|
|
@@ -463,6 +462,15 @@ module Aws::CodeBuild
|
|
|
463
462
|
#
|
|
464
463
|
# @!attribute [rw] exported_environment_variables
|
|
465
464
|
# A list of exported environment variables for this build.
|
|
465
|
+
#
|
|
466
|
+
# Exported environment variables are used in conjunction with
|
|
467
|
+
# CodePipeline to export environment variables from the current build
|
|
468
|
+
# stage to subsequent stages in the pipeline. For more information,
|
|
469
|
+
# see [Working with variables][1] in the *CodePipeline User Guide*.
|
|
470
|
+
#
|
|
471
|
+
#
|
|
472
|
+
#
|
|
473
|
+
# [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html
|
|
466
474
|
# @return [Array<Types::ExportedEnvironmentVariable>]
|
|
467
475
|
#
|
|
468
476
|
# @!attribute [rw] report_arns
|
|
@@ -618,14 +626,12 @@ module Aws::CodeBuild
|
|
|
618
626
|
# The identifier of the resolved version of this batch build's source
|
|
619
627
|
# code.
|
|
620
628
|
#
|
|
621
|
-
# * For
|
|
629
|
+
# * For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
|
|
622
630
|
# commit ID.
|
|
623
631
|
#
|
|
624
|
-
# * For
|
|
625
|
-
# CodePipeline.
|
|
632
|
+
# * For CodePipeline, the source revision provided by CodePipeline.
|
|
626
633
|
#
|
|
627
|
-
# * For Amazon
|
|
628
|
-
# apply.
|
|
634
|
+
# * For Amazon S3, this does not apply.
|
|
629
635
|
# @return [String]
|
|
630
636
|
#
|
|
631
637
|
# @!attribute [rw] project_name
|
|
@@ -650,7 +656,7 @@ module Aws::CodeBuild
|
|
|
650
656
|
# An array of `ProjectSourceVersion` objects. Each
|
|
651
657
|
# `ProjectSourceVersion` must be one of:
|
|
652
658
|
#
|
|
653
|
-
# * For
|
|
659
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
654
660
|
#
|
|
655
661
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
656
662
|
# name that corresponds to the version of the source code you want
|
|
@@ -665,8 +671,8 @@ module Aws::CodeBuild
|
|
|
665
671
|
# used. If not specified, the default branch's HEAD commit ID is
|
|
666
672
|
# used.
|
|
667
673
|
#
|
|
668
|
-
# * For Amazon
|
|
669
|
-
#
|
|
674
|
+
# * For Amazon S3: the version ID of the object that represents the
|
|
675
|
+
# build input ZIP file to use.
|
|
670
676
|
# @return [Array<Types::ProjectSourceVersion>]
|
|
671
677
|
#
|
|
672
678
|
# @!attribute [rw] artifacts
|
|
@@ -693,7 +699,7 @@ module Aws::CodeBuild
|
|
|
693
699
|
#
|
|
694
700
|
# @!attribute [rw] log_config
|
|
695
701
|
# Information about logs for a build project. These can be logs in
|
|
696
|
-
#
|
|
702
|
+
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
|
697
703
|
# @return [Types::LogsConfig]
|
|
698
704
|
#
|
|
699
705
|
# @!attribute [rw] build_timeout_in_minutes
|
|
@@ -713,23 +719,23 @@ module Aws::CodeBuild
|
|
|
713
719
|
# @!attribute [rw] initiator
|
|
714
720
|
# The entity that started the batch build. Valid values include:
|
|
715
721
|
#
|
|
716
|
-
# * If
|
|
722
|
+
# * If CodePipeline started the build, the pipeline's name (for
|
|
717
723
|
# example, `codepipeline/my-demo-pipeline`).
|
|
718
724
|
#
|
|
719
|
-
# * If an
|
|
720
|
-
#
|
|
725
|
+
# * If an Identity and Access Management user started the build, the
|
|
726
|
+
# user's name.
|
|
721
727
|
#
|
|
722
|
-
# * If the Jenkins plugin for
|
|
723
|
-
#
|
|
728
|
+
# * If the Jenkins plugin for CodeBuild started the build, the string
|
|
729
|
+
# `CodeBuild-Jenkins-Plugin`.
|
|
724
730
|
# @return [String]
|
|
725
731
|
#
|
|
726
732
|
# @!attribute [rw] vpc_config
|
|
727
|
-
# Information about the VPC configuration that
|
|
733
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
728
734
|
# @return [Types::VpcConfig]
|
|
729
735
|
#
|
|
730
736
|
# @!attribute [rw] encryption_key
|
|
731
|
-
# The
|
|
732
|
-
#
|
|
737
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
738
|
+
# encrypting the batch build output artifacts.
|
|
733
739
|
#
|
|
734
740
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
735
741
|
# artifacts if your service role has permission to that key.
|
|
@@ -765,6 +771,17 @@ module Aws::CodeBuild
|
|
|
765
771
|
# the batch build.
|
|
766
772
|
# @return [Array<Types::BuildGroup>]
|
|
767
773
|
#
|
|
774
|
+
# @!attribute [rw] debug_session_enabled
|
|
775
|
+
# Specifies if session debugging is enabled for this batch build. For
|
|
776
|
+
# more information, see [Viewing a running build in Session
|
|
777
|
+
# Manager][1]. Batch session debugging is not supported for matrix
|
|
778
|
+
# batch builds.
|
|
779
|
+
#
|
|
780
|
+
#
|
|
781
|
+
#
|
|
782
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
|
|
783
|
+
# @return [Boolean]
|
|
784
|
+
#
|
|
768
785
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildBatch AWS API Documentation
|
|
769
786
|
#
|
|
770
787
|
class BuildBatch < Struct.new(
|
|
@@ -796,7 +813,8 @@ module Aws::CodeBuild
|
|
|
796
813
|
:build_batch_number,
|
|
797
814
|
:file_system_locations,
|
|
798
815
|
:build_batch_config,
|
|
799
|
-
:build_groups
|
|
816
|
+
:build_groups,
|
|
817
|
+
:debug_session_enabled)
|
|
800
818
|
SENSITIVE = []
|
|
801
819
|
include Aws::Structure
|
|
802
820
|
end
|
|
@@ -906,7 +924,7 @@ module Aws::CodeBuild
|
|
|
906
924
|
#
|
|
907
925
|
# @!attribute [rw] contexts
|
|
908
926
|
# Additional information about the batch build phase. Especially to
|
|
909
|
-
# help troubleshoot a failed
|
|
927
|
+
# help troubleshoot a failed batch build.
|
|
910
928
|
# @return [Array<Types::PhaseContext>]
|
|
911
929
|
#
|
|
912
930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildBatchPhase AWS API Documentation
|
|
@@ -1081,7 +1099,7 @@ module Aws::CodeBuild
|
|
|
1081
1099
|
include Aws::Structure
|
|
1082
1100
|
end
|
|
1083
1101
|
|
|
1084
|
-
# Contains information that defines how the
|
|
1102
|
+
# Contains information that defines how the CodeBuild build project
|
|
1085
1103
|
# reports the build status to the source provider.
|
|
1086
1104
|
#
|
|
1087
1105
|
# @note When making an API call, you may pass BuildStatusConfig
|
|
@@ -1207,7 +1225,7 @@ module Aws::CodeBuild
|
|
|
1207
1225
|
include Aws::Structure
|
|
1208
1226
|
end
|
|
1209
1227
|
|
|
1210
|
-
# Information about
|
|
1228
|
+
# Information about CloudWatch Logs for a build project.
|
|
1211
1229
|
#
|
|
1212
1230
|
# @note When making an API call, you may pass CloudWatchLogsConfig
|
|
1213
1231
|
# data as a hash:
|
|
@@ -1219,19 +1237,18 @@ module Aws::CodeBuild
|
|
|
1219
1237
|
# }
|
|
1220
1238
|
#
|
|
1221
1239
|
# @!attribute [rw] status
|
|
1222
|
-
# The current status of the logs in
|
|
1240
|
+
# The current status of the logs in CloudWatch Logs for a build
|
|
1223
1241
|
# project. Valid values are:
|
|
1224
1242
|
#
|
|
1225
|
-
# * `ENABLED`\:
|
|
1226
|
-
# project.
|
|
1243
|
+
# * `ENABLED`\: CloudWatch Logs are enabled for this build project.
|
|
1227
1244
|
#
|
|
1228
|
-
# * `DISABLED`\:
|
|
1245
|
+
# * `DISABLED`\: CloudWatch Logs are not enabled for this build
|
|
1229
1246
|
# project.
|
|
1230
1247
|
# @return [String]
|
|
1231
1248
|
#
|
|
1232
1249
|
# @!attribute [rw] group_name
|
|
1233
|
-
# The group name of the logs in
|
|
1234
|
-
#
|
|
1250
|
+
# The group name of the logs in CloudWatch Logs. For more information,
|
|
1251
|
+
# see [Working with Log Groups and Log Streams][1].
|
|
1235
1252
|
#
|
|
1236
1253
|
#
|
|
1237
1254
|
#
|
|
@@ -1239,8 +1256,8 @@ module Aws::CodeBuild
|
|
|
1239
1256
|
# @return [String]
|
|
1240
1257
|
#
|
|
1241
1258
|
# @!attribute [rw] stream_name
|
|
1242
|
-
# The prefix of the stream name of the
|
|
1243
|
-
#
|
|
1259
|
+
# The prefix of the stream name of the CloudWatch Logs. For more
|
|
1260
|
+
# information, see [Working with Log Groups and Log Streams][1].
|
|
1244
1261
|
#
|
|
1245
1262
|
#
|
|
1246
1263
|
#
|
|
@@ -1544,7 +1561,7 @@ module Aws::CodeBuild
|
|
|
1544
1561
|
# specified, the latest version is used. If specified, it must be one
|
|
1545
1562
|
# of:
|
|
1546
1563
|
#
|
|
1547
|
-
# * For
|
|
1564
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
1548
1565
|
#
|
|
1549
1566
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
1550
1567
|
# name that corresponds to the version of the source code you want
|
|
@@ -1559,15 +1576,15 @@ module Aws::CodeBuild
|
|
|
1559
1576
|
# used. If not specified, the default branch's HEAD commit ID is
|
|
1560
1577
|
# used.
|
|
1561
1578
|
#
|
|
1562
|
-
# * For Amazon
|
|
1563
|
-
#
|
|
1579
|
+
# * For Amazon S3: the version ID of the object that represents the
|
|
1580
|
+
# build input ZIP file to use.
|
|
1564
1581
|
#
|
|
1565
1582
|
# If `sourceVersion` is specified at the build level, then that
|
|
1566
1583
|
# version takes precedence over this `sourceVersion` (at the project
|
|
1567
1584
|
# level).
|
|
1568
1585
|
#
|
|
1569
1586
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
1570
|
-
# in the *
|
|
1587
|
+
# in the *CodeBuild User Guide*.
|
|
1571
1588
|
#
|
|
1572
1589
|
#
|
|
1573
1590
|
#
|
|
@@ -1599,15 +1616,15 @@ module Aws::CodeBuild
|
|
|
1599
1616
|
# @return [Types::ProjectEnvironment]
|
|
1600
1617
|
#
|
|
1601
1618
|
# @!attribute [rw] service_role
|
|
1602
|
-
# The ARN of the
|
|
1603
|
-
#
|
|
1604
|
-
# behalf of the
|
|
1619
|
+
# The ARN of the Identity and Access Management role that enables
|
|
1620
|
+
# CodeBuild to interact with dependent Amazon Web Services services on
|
|
1621
|
+
# behalf of the Amazon Web Services account.
|
|
1605
1622
|
# @return [String]
|
|
1606
1623
|
#
|
|
1607
1624
|
# @!attribute [rw] timeout_in_minutes
|
|
1608
|
-
# How long, in minutes, from 5 to 480 (8 hours), for
|
|
1609
|
-
#
|
|
1610
|
-
#
|
|
1625
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
|
1626
|
+
# before it times out any build that has not been marked as completed.
|
|
1627
|
+
# The default is 60 minutes.
|
|
1611
1628
|
# @return [Integer]
|
|
1612
1629
|
#
|
|
1613
1630
|
# @!attribute [rw] queued_timeout_in_minutes
|
|
@@ -1616,8 +1633,8 @@ module Aws::CodeBuild
|
|
|
1616
1633
|
# @return [Integer]
|
|
1617
1634
|
#
|
|
1618
1635
|
# @!attribute [rw] encryption_key
|
|
1619
|
-
# The
|
|
1620
|
-
#
|
|
1636
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
1637
|
+
# encrypting the build output artifacts.
|
|
1621
1638
|
#
|
|
1622
1639
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
1623
1640
|
# artifacts if your service role has permission to that key.
|
|
@@ -1633,13 +1650,12 @@ module Aws::CodeBuild
|
|
|
1633
1650
|
# A list of tag key and value pairs associated with this build
|
|
1634
1651
|
# project.
|
|
1635
1652
|
#
|
|
1636
|
-
# These tags are available for use by
|
|
1637
|
-
# CodeBuild build project tags.
|
|
1653
|
+
# These tags are available for use by Amazon Web Services services
|
|
1654
|
+
# that support CodeBuild build project tags.
|
|
1638
1655
|
# @return [Array<Types::Tag>]
|
|
1639
1656
|
#
|
|
1640
1657
|
# @!attribute [rw] vpc_config
|
|
1641
|
-
# VpcConfig enables
|
|
1642
|
-
# VPC.
|
|
1658
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
|
1643
1659
|
# @return [Types::VpcConfig]
|
|
1644
1660
|
#
|
|
1645
1661
|
# @!attribute [rw] badge_enabled
|
|
@@ -1649,8 +1665,7 @@ module Aws::CodeBuild
|
|
|
1649
1665
|
#
|
|
1650
1666
|
# @!attribute [rw] logs_config
|
|
1651
1667
|
# Information about logs for the build project. These can be logs in
|
|
1652
|
-
#
|
|
1653
|
-
# both.
|
|
1668
|
+
# CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
|
|
1654
1669
|
# @return [Types::LogsConfig]
|
|
1655
1670
|
#
|
|
1656
1671
|
# @!attribute [rw] file_system_locations
|
|
@@ -1724,6 +1739,7 @@ module Aws::CodeBuild
|
|
|
1724
1739
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
|
1725
1740
|
# s3_destination: {
|
|
1726
1741
|
# bucket: "NonEmptyString",
|
|
1742
|
+
# bucket_owner: "String",
|
|
1727
1743
|
# path: "String",
|
|
1728
1744
|
# packaging: "ZIP", # accepts ZIP, NONE
|
|
1729
1745
|
# encryption_key: "NonEmptyString",
|
|
@@ -1754,8 +1770,8 @@ module Aws::CodeBuild
|
|
|
1754
1770
|
# @!attribute [rw] tags
|
|
1755
1771
|
# A list of tag key and value pairs associated with this report group.
|
|
1756
1772
|
#
|
|
1757
|
-
# These tags are available for use by
|
|
1758
|
-
# CodeBuild report group tags.
|
|
1773
|
+
# These tags are available for use by Amazon Web Services services
|
|
1774
|
+
# that support CodeBuild report group tags.
|
|
1759
1775
|
# @return [Array<Types::Tag>]
|
|
1760
1776
|
#
|
|
1761
1777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroupInput AWS API Documentation
|
|
@@ -1800,7 +1816,7 @@ module Aws::CodeBuild
|
|
|
1800
1816
|
# }
|
|
1801
1817
|
#
|
|
1802
1818
|
# @!attribute [rw] project_name
|
|
1803
|
-
# The name of the
|
|
1819
|
+
# The name of the CodeBuild project.
|
|
1804
1820
|
# @return [String]
|
|
1805
1821
|
#
|
|
1806
1822
|
# @!attribute [rw] branch_filter
|
|
@@ -1842,7 +1858,7 @@ module Aws::CodeBuild
|
|
|
1842
1858
|
|
|
1843
1859
|
# @!attribute [rw] webhook
|
|
1844
1860
|
# Information about a webhook that connects repository events to a
|
|
1845
|
-
# build project in
|
|
1861
|
+
# build project in CodeBuild.
|
|
1846
1862
|
# @return [Types::Webhook]
|
|
1847
1863
|
#
|
|
1848
1864
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput AWS API Documentation
|
|
@@ -2071,7 +2087,7 @@ module Aws::CodeBuild
|
|
|
2071
2087
|
# }
|
|
2072
2088
|
#
|
|
2073
2089
|
# @!attribute [rw] project_name
|
|
2074
|
-
# The name of the
|
|
2090
|
+
# The name of the CodeBuild project.
|
|
2075
2091
|
# @return [String]
|
|
2076
2092
|
#
|
|
2077
2093
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput AWS API Documentation
|
|
@@ -2243,7 +2259,7 @@ module Aws::CodeBuild
|
|
|
2243
2259
|
include Aws::Structure
|
|
2244
2260
|
end
|
|
2245
2261
|
|
|
2246
|
-
# Information about a Docker image that is managed by
|
|
2262
|
+
# Information about a Docker image that is managed by CodeBuild.
|
|
2247
2263
|
#
|
|
2248
2264
|
# @!attribute [rw] name
|
|
2249
2265
|
# The name of the Docker image.
|
|
@@ -2268,7 +2284,7 @@ module Aws::CodeBuild
|
|
|
2268
2284
|
end
|
|
2269
2285
|
|
|
2270
2286
|
# A set of Docker images that are related by programming language and
|
|
2271
|
-
# are managed by
|
|
2287
|
+
# are managed by CodeBuild.
|
|
2272
2288
|
#
|
|
2273
2289
|
# @!attribute [rw] language
|
|
2274
2290
|
# The programming language for the Docker images.
|
|
@@ -2289,7 +2305,7 @@ module Aws::CodeBuild
|
|
|
2289
2305
|
end
|
|
2290
2306
|
|
|
2291
2307
|
# A set of Docker images that are related by platform and are managed by
|
|
2292
|
-
#
|
|
2308
|
+
# CodeBuild.
|
|
2293
2309
|
#
|
|
2294
2310
|
# @!attribute [rw] platform
|
|
2295
2311
|
# The platform's name.
|
|
@@ -2329,27 +2345,28 @@ module Aws::CodeBuild
|
|
|
2329
2345
|
# The value of the environment variable.
|
|
2330
2346
|
#
|
|
2331
2347
|
# We strongly discourage the use of `PLAINTEXT` environment variables
|
|
2332
|
-
# to store sensitive values, especially
|
|
2333
|
-
# access keys. `PLAINTEXT` environment variables can be
|
|
2334
|
-
# plain text using the
|
|
2335
|
-
# Interface (AWS CLI). For sensitive values, we recommend
|
|
2336
|
-
# environment variable of type `PARAMETER_STORE` or
|
|
2348
|
+
# to store sensitive values, especially Amazon Web Services secret key
|
|
2349
|
+
# IDs and secret access keys. `PLAINTEXT` environment variables can be
|
|
2350
|
+
# displayed in plain text using the CodeBuild console and the AWS
|
|
2351
|
+
# Command Line Interface (AWS CLI). For sensitive values, we recommend
|
|
2352
|
+
# you use an environment variable of type `PARAMETER_STORE` or
|
|
2353
|
+
# `SECRETS_MANAGER`.
|
|
2337
2354
|
# @return [String]
|
|
2338
2355
|
#
|
|
2339
2356
|
# @!attribute [rw] type
|
|
2340
2357
|
# The type of environment variable. Valid values include:
|
|
2341
2358
|
#
|
|
2342
|
-
# * `PARAMETER_STORE`\: An environment variable stored in
|
|
2343
|
-
#
|
|
2344
|
-
#
|
|
2345
|
-
#
|
|
2359
|
+
# * `PARAMETER_STORE`\: An environment variable stored in Systems
|
|
2360
|
+
# Manager Parameter Store. To learn how to specify a parameter store
|
|
2361
|
+
# environment variable, see [env/parameter-store][1] in the
|
|
2362
|
+
# *CodeBuild User Guide*.
|
|
2346
2363
|
#
|
|
2347
2364
|
# * `PLAINTEXT`\: An environment variable in plain text format. This
|
|
2348
2365
|
# is the default value.
|
|
2349
2366
|
#
|
|
2350
|
-
# * `SECRETS_MANAGER`\: An environment variable stored in
|
|
2367
|
+
# * `SECRETS_MANAGER`\: An environment variable stored in Secrets
|
|
2351
2368
|
# Manager. To learn how to specify a secrets manager environment
|
|
2352
|
-
# variable, see [env/secrets-manager][2] in the *
|
|
2369
|
+
# variable, see [env/secrets-manager][2] in the *CodeBuild User
|
|
2353
2370
|
# Guide*.
|
|
2354
2371
|
#
|
|
2355
2372
|
#
|
|
@@ -2368,22 +2385,30 @@ module Aws::CodeBuild
|
|
|
2368
2385
|
include Aws::Structure
|
|
2369
2386
|
end
|
|
2370
2387
|
|
|
2371
|
-
#
|
|
2388
|
+
# Contains information about an exported environment variable.
|
|
2389
|
+
#
|
|
2390
|
+
# Exported environment variables are used in conjunction with
|
|
2391
|
+
# CodePipeline to export environment variables from the current build
|
|
2392
|
+
# stage to subsequent stages in the pipeline. For more information, see
|
|
2393
|
+
# [Working with variables][1] in the *CodePipeline User Guide*.
|
|
2394
|
+
#
|
|
2395
|
+
# <note markdown="1"> During a build, the value of a variable is available starting with the
|
|
2396
|
+
# `install` phase. It can be updated between the start of the `install`
|
|
2397
|
+
# phase and the end of the `post_build` phase. After the `post_build`
|
|
2398
|
+
# phase ends, the value of exported variables cannot change.
|
|
2399
|
+
#
|
|
2400
|
+
# </note>
|
|
2401
|
+
#
|
|
2402
|
+
#
|
|
2403
|
+
#
|
|
2404
|
+
# [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html
|
|
2372
2405
|
#
|
|
2373
2406
|
# @!attribute [rw] name
|
|
2374
|
-
# The name of
|
|
2407
|
+
# The name of the exported environment variable.
|
|
2375
2408
|
# @return [String]
|
|
2376
2409
|
#
|
|
2377
2410
|
# @!attribute [rw] value
|
|
2378
|
-
# The value assigned to
|
|
2379
|
-
#
|
|
2380
|
-
# <note markdown="1"> During a build, the value of a variable is available starting with
|
|
2381
|
-
# the `install` phase. It can be updated between the start of the
|
|
2382
|
-
# `install` phase and the end of the `post_build` phase. After the
|
|
2383
|
-
# `post_build` phase ends, the value of exported variables cannot
|
|
2384
|
-
# change.
|
|
2385
|
-
#
|
|
2386
|
-
# </note>
|
|
2411
|
+
# The value assigned to the exported environment variable.
|
|
2387
2412
|
# @return [String]
|
|
2388
2413
|
#
|
|
2389
2414
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ExportedEnvironmentVariable AWS API Documentation
|
|
@@ -2527,8 +2552,8 @@ module Aws::CodeBuild
|
|
|
2527
2552
|
include Aws::Structure
|
|
2528
2553
|
end
|
|
2529
2554
|
|
|
2530
|
-
# Information about the Git submodules configuration for an
|
|
2531
|
-
#
|
|
2555
|
+
# Information about the Git submodules configuration for an CodeBuild
|
|
2556
|
+
# build project.
|
|
2532
2557
|
#
|
|
2533
2558
|
# @note When making an API call, you may pass GitSubmodulesConfig
|
|
2534
2559
|
# data as a hash:
|
|
@@ -2538,7 +2563,7 @@ module Aws::CodeBuild
|
|
|
2538
2563
|
# }
|
|
2539
2564
|
#
|
|
2540
2565
|
# @!attribute [rw] fetch_submodules
|
|
2541
|
-
# Set to true to fetch Git submodules for your
|
|
2566
|
+
# Set to true to fetch Git submodules for your CodeBuild build
|
|
2542
2567
|
# project.
|
|
2543
2568
|
# @return [Boolean]
|
|
2544
2569
|
#
|
|
@@ -2579,7 +2604,7 @@ module Aws::CodeBuild
|
|
|
2579
2604
|
# @!attribute [rw] auth_type
|
|
2580
2605
|
# The type of authentication used to connect to a GitHub, GitHub
|
|
2581
2606
|
# Enterprise, or Bitbucket repository. An OAUTH connection is not
|
|
2582
|
-
# supported by the API and must be created using the
|
|
2607
|
+
# supported by the API and must be created using the CodeBuild
|
|
2583
2608
|
# console.
|
|
2584
2609
|
# @return [String]
|
|
2585
2610
|
#
|
|
@@ -2627,8 +2652,7 @@ module Aws::CodeBuild
|
|
|
2627
2652
|
# }
|
|
2628
2653
|
#
|
|
2629
2654
|
# @!attribute [rw] project_name
|
|
2630
|
-
# The name of the
|
|
2631
|
-
# for.
|
|
2655
|
+
# The name of the CodeBuild build project that the cache is reset for.
|
|
2632
2656
|
# @return [String]
|
|
2633
2657
|
#
|
|
2634
2658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput AWS API Documentation
|
|
@@ -2795,7 +2819,7 @@ module Aws::CodeBuild
|
|
|
2795
2819
|
# }
|
|
2796
2820
|
#
|
|
2797
2821
|
# @!attribute [rw] project_name
|
|
2798
|
-
# The name of the
|
|
2822
|
+
# The name of the CodeBuild project.
|
|
2799
2823
|
# @return [String]
|
|
2800
2824
|
#
|
|
2801
2825
|
# @!attribute [rw] sort_order
|
|
@@ -2916,7 +2940,7 @@ module Aws::CodeBuild
|
|
|
2916
2940
|
|
|
2917
2941
|
# @!attribute [rw] platforms
|
|
2918
2942
|
# Information about supported platforms for Docker images that are
|
|
2919
|
-
# managed by
|
|
2943
|
+
# managed by CodeBuild.
|
|
2920
2944
|
# @return [Array<Types::EnvironmentPlatform>]
|
|
2921
2945
|
#
|
|
2922
2946
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesOutput AWS API Documentation
|
|
@@ -3069,7 +3093,8 @@ module Aws::CodeBuild
|
|
|
3069
3093
|
# @return [String]
|
|
3070
3094
|
#
|
|
3071
3095
|
# @!attribute [rw] report_groups
|
|
3072
|
-
# The list of ARNs for the report groups in the current
|
|
3096
|
+
# The list of ARNs for the report groups in the current Amazon Web
|
|
3097
|
+
# Services account.
|
|
3073
3098
|
# @return [Array<String>]
|
|
3074
3099
|
#
|
|
3075
3100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportGroupsOutput AWS API Documentation
|
|
@@ -3224,8 +3249,8 @@ module Aws::CodeBuild
|
|
|
3224
3249
|
# @return [String]
|
|
3225
3250
|
#
|
|
3226
3251
|
# @!attribute [rw] reports
|
|
3227
|
-
# The list of returned ARNs for the reports in the current
|
|
3228
|
-
# account.
|
|
3252
|
+
# The list of returned ARNs for the reports in the current Amazon Web
|
|
3253
|
+
# Services account.
|
|
3229
3254
|
# @return [Array<String>]
|
|
3230
3255
|
#
|
|
3231
3256
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsOutput AWS API Documentation
|
|
@@ -3249,7 +3274,7 @@ module Aws::CodeBuild
|
|
|
3249
3274
|
#
|
|
3250
3275
|
# @!attribute [rw] sort_by
|
|
3251
3276
|
# The criterion to be used to list build projects shared with the
|
|
3252
|
-
# current
|
|
3277
|
+
# current Amazon Web Services account or user. Valid values include:
|
|
3253
3278
|
#
|
|
3254
3279
|
# * `ARN`\: List based on the ARN.
|
|
3255
3280
|
#
|
|
@@ -3304,8 +3329,8 @@ module Aws::CodeBuild
|
|
|
3304
3329
|
# @return [String]
|
|
3305
3330
|
#
|
|
3306
3331
|
# @!attribute [rw] projects
|
|
3307
|
-
# The list of ARNs for the build projects shared with the current
|
|
3308
|
-
# account or user.
|
|
3332
|
+
# The list of ARNs for the build projects shared with the current
|
|
3333
|
+
# Amazon Web Services account or user.
|
|
3309
3334
|
# @return [Array<String>]
|
|
3310
3335
|
#
|
|
3311
3336
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedProjectsOutput AWS API Documentation
|
|
@@ -3338,7 +3363,7 @@ module Aws::CodeBuild
|
|
|
3338
3363
|
#
|
|
3339
3364
|
# @!attribute [rw] sort_by
|
|
3340
3365
|
# The criterion to be used to list report groups shared with the
|
|
3341
|
-
# current
|
|
3366
|
+
# current Amazon Web Services account or user. Valid values include:
|
|
3342
3367
|
#
|
|
3343
3368
|
# * `ARN`\: List based on the ARN.
|
|
3344
3369
|
#
|
|
@@ -3384,8 +3409,8 @@ module Aws::CodeBuild
|
|
|
3384
3409
|
# @return [String]
|
|
3385
3410
|
#
|
|
3386
3411
|
# @!attribute [rw] report_groups
|
|
3387
|
-
# The list of ARNs for the report groups shared with the current
|
|
3388
|
-
# account or user.
|
|
3412
|
+
# The list of ARNs for the report groups shared with the current
|
|
3413
|
+
# Amazon Web Services account or user.
|
|
3389
3414
|
# @return [Array<String>]
|
|
3390
3415
|
#
|
|
3391
3416
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedReportGroupsOutput AWS API Documentation
|
|
@@ -3418,7 +3443,7 @@ module Aws::CodeBuild
|
|
|
3418
3443
|
end
|
|
3419
3444
|
|
|
3420
3445
|
# Information about logs for a build project. These can be logs in
|
|
3421
|
-
#
|
|
3446
|
+
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
|
3422
3447
|
#
|
|
3423
3448
|
# @note When making an API call, you may pass LogsConfig
|
|
3424
3449
|
# data as a hash:
|
|
@@ -3437,8 +3462,8 @@ module Aws::CodeBuild
|
|
|
3437
3462
|
# }
|
|
3438
3463
|
#
|
|
3439
3464
|
# @!attribute [rw] cloud_watch_logs
|
|
3440
|
-
# Information about
|
|
3441
|
-
#
|
|
3465
|
+
# Information about CloudWatch Logs for a build project. CloudWatch
|
|
3466
|
+
# Logs are enabled by default.
|
|
3442
3467
|
# @return [Types::CloudWatchLogsConfig]
|
|
3443
3468
|
#
|
|
3444
3469
|
# @!attribute [rw] s3_logs
|
|
@@ -3455,18 +3480,18 @@ module Aws::CodeBuild
|
|
|
3455
3480
|
include Aws::Structure
|
|
3456
3481
|
end
|
|
3457
3482
|
|
|
3458
|
-
# Information about build logs in
|
|
3483
|
+
# Information about build logs in CloudWatch Logs.
|
|
3459
3484
|
#
|
|
3460
3485
|
# @!attribute [rw] group_name
|
|
3461
|
-
# The name of the
|
|
3486
|
+
# The name of the CloudWatch Logs group for the build logs.
|
|
3462
3487
|
# @return [String]
|
|
3463
3488
|
#
|
|
3464
3489
|
# @!attribute [rw] stream_name
|
|
3465
|
-
# The name of the
|
|
3490
|
+
# The name of the CloudWatch Logs stream for the build logs.
|
|
3466
3491
|
# @return [String]
|
|
3467
3492
|
#
|
|
3468
3493
|
# @!attribute [rw] deep_link
|
|
3469
|
-
# The URL to an individual build log in
|
|
3494
|
+
# The URL to an individual build log in CloudWatch Logs.
|
|
3470
3495
|
# @return [String]
|
|
3471
3496
|
#
|
|
3472
3497
|
# @!attribute [rw] s3_deep_link
|
|
@@ -3474,10 +3499,9 @@ module Aws::CodeBuild
|
|
|
3474
3499
|
# @return [String]
|
|
3475
3500
|
#
|
|
3476
3501
|
# @!attribute [rw] cloud_watch_logs_arn
|
|
3477
|
-
# The ARN of
|
|
3502
|
+
# The ARN of CloudWatch Logs for a build project. Its format is
|
|
3478
3503
|
# `arn:$\{Partition\}:logs:$\{Region\}:$\{Account\}:log-group:$\{LogGroupName\}:log-stream:$\{LogStreamName\}`.
|
|
3479
|
-
# For more information, see [Resources Defined by
|
|
3480
|
-
# Logs][1].
|
|
3504
|
+
# For more information, see [Resources Defined by CloudWatch Logs][1].
|
|
3481
3505
|
#
|
|
3482
3506
|
#
|
|
3483
3507
|
#
|
|
@@ -3495,7 +3519,7 @@ module Aws::CodeBuild
|
|
|
3495
3519
|
# @return [String]
|
|
3496
3520
|
#
|
|
3497
3521
|
# @!attribute [rw] cloud_watch_logs
|
|
3498
|
-
# Information about
|
|
3522
|
+
# Information about CloudWatch Logs for a build project.
|
|
3499
3523
|
# @return [Types::CloudWatchLogsConfig]
|
|
3500
3524
|
#
|
|
3501
3525
|
# @!attribute [rw] s3_logs
|
|
@@ -3591,7 +3615,7 @@ module Aws::CodeBuild
|
|
|
3591
3615
|
# specified, the latest version is used. If specified, it must be one
|
|
3592
3616
|
# of:
|
|
3593
3617
|
#
|
|
3594
|
-
# * For
|
|
3618
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
3595
3619
|
#
|
|
3596
3620
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
3597
3621
|
# name that corresponds to the version of the source code you want
|
|
@@ -3606,15 +3630,15 @@ module Aws::CodeBuild
|
|
|
3606
3630
|
# used. If not specified, the default branch's HEAD commit ID is
|
|
3607
3631
|
# used.
|
|
3608
3632
|
#
|
|
3609
|
-
# * For Amazon
|
|
3610
|
-
#
|
|
3633
|
+
# * For Amazon S3: the version ID of the object that represents the
|
|
3634
|
+
# build input ZIP file to use.
|
|
3611
3635
|
#
|
|
3612
3636
|
# If `sourceVersion` is specified at the build level, then that
|
|
3613
3637
|
# version takes precedence over this `sourceVersion` (at the project
|
|
3614
3638
|
# level).
|
|
3615
3639
|
#
|
|
3616
3640
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
3617
|
-
# in the *
|
|
3641
|
+
# in the *CodeBuild User Guide*.
|
|
3618
3642
|
#
|
|
3619
3643
|
#
|
|
3620
3644
|
#
|
|
@@ -3644,14 +3668,14 @@ module Aws::CodeBuild
|
|
|
3644
3668
|
# @return [Types::ProjectEnvironment]
|
|
3645
3669
|
#
|
|
3646
3670
|
# @!attribute [rw] service_role
|
|
3647
|
-
# The ARN of the
|
|
3648
|
-
#
|
|
3649
|
-
# behalf of the
|
|
3671
|
+
# The ARN of the Identity and Access Management role that enables
|
|
3672
|
+
# CodeBuild to interact with dependent Amazon Web Services services on
|
|
3673
|
+
# behalf of the Amazon Web Services account.
|
|
3650
3674
|
# @return [String]
|
|
3651
3675
|
#
|
|
3652
3676
|
# @!attribute [rw] timeout_in_minutes
|
|
3653
|
-
# How long, in minutes, from 5 to 480 (8 hours), for
|
|
3654
|
-
#
|
|
3677
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
|
3678
|
+
# before timing out any related build that did not get marked as
|
|
3655
3679
|
# completed. The default is 60 minutes.
|
|
3656
3680
|
# @return [Integer]
|
|
3657
3681
|
#
|
|
@@ -3661,8 +3685,8 @@ module Aws::CodeBuild
|
|
|
3661
3685
|
# @return [Integer]
|
|
3662
3686
|
#
|
|
3663
3687
|
# @!attribute [rw] encryption_key
|
|
3664
|
-
# The
|
|
3665
|
-
#
|
|
3688
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
3689
|
+
# encrypting the build output artifacts.
|
|
3666
3690
|
#
|
|
3667
3691
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
3668
3692
|
# artifacts if your service role has permission to that key.
|
|
@@ -3671,15 +3695,16 @@ module Aws::CodeBuild
|
|
|
3671
3695
|
#
|
|
3672
3696
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
|
3673
3697
|
# if available, the CMK's alias (using the format
|
|
3674
|
-
# `alias/<alias-name>`).
|
|
3698
|
+
# `alias/<alias-name>`). If you don't specify a value, CodeBuild uses
|
|
3699
|
+
# the managed CMK for Amazon Simple Storage Service (Amazon S3).
|
|
3675
3700
|
# @return [String]
|
|
3676
3701
|
#
|
|
3677
3702
|
# @!attribute [rw] tags
|
|
3678
3703
|
# A list of tag key and value pairs associated with this build
|
|
3679
3704
|
# project.
|
|
3680
3705
|
#
|
|
3681
|
-
# These tags are available for use by
|
|
3682
|
-
# CodeBuild build project tags.
|
|
3706
|
+
# These tags are available for use by Amazon Web Services services
|
|
3707
|
+
# that support CodeBuild build project tags.
|
|
3683
3708
|
# @return [Array<Types::Tag>]
|
|
3684
3709
|
#
|
|
3685
3710
|
# @!attribute [rw] created
|
|
@@ -3693,11 +3718,11 @@ module Aws::CodeBuild
|
|
|
3693
3718
|
#
|
|
3694
3719
|
# @!attribute [rw] webhook
|
|
3695
3720
|
# Information about a webhook that connects repository events to a
|
|
3696
|
-
# build project in
|
|
3721
|
+
# build project in CodeBuild.
|
|
3697
3722
|
# @return [Types::Webhook]
|
|
3698
3723
|
#
|
|
3699
3724
|
# @!attribute [rw] vpc_config
|
|
3700
|
-
# Information about the VPC configuration that
|
|
3725
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
3701
3726
|
# @return [Types::VpcConfig]
|
|
3702
3727
|
#
|
|
3703
3728
|
# @!attribute [rw] badge
|
|
@@ -3706,7 +3731,7 @@ module Aws::CodeBuild
|
|
|
3706
3731
|
#
|
|
3707
3732
|
# @!attribute [rw] logs_config
|
|
3708
3733
|
# Information about logs for the build project. A project can create
|
|
3709
|
-
# logs in
|
|
3734
|
+
# logs in CloudWatch Logs, an S3 bucket, or both.
|
|
3710
3735
|
# @return [Types::LogsConfig]
|
|
3711
3736
|
#
|
|
3712
3737
|
# @!attribute [rw] file_system_locations
|
|
@@ -3783,7 +3808,7 @@ module Aws::CodeBuild
|
|
|
3783
3808
|
# The type of build output artifact. Valid values include:
|
|
3784
3809
|
#
|
|
3785
3810
|
# * `CODEPIPELINE`\: The build project has build output generated
|
|
3786
|
-
# through
|
|
3811
|
+
# through CodePipeline.
|
|
3787
3812
|
#
|
|
3788
3813
|
# <note markdown="1"> The `CODEPIPELINE` type is not supported for `secondaryArtifacts`.
|
|
3789
3814
|
#
|
|
@@ -3792,16 +3817,15 @@ module Aws::CodeBuild
|
|
|
3792
3817
|
# * `NO_ARTIFACTS`\: The build project does not produce any build
|
|
3793
3818
|
# output.
|
|
3794
3819
|
#
|
|
3795
|
-
# * `S3`\: The build project stores build output in Amazon
|
|
3796
|
-
# Storage Service (Amazon S3).
|
|
3820
|
+
# * `S3`\: The build project stores build output in Amazon S3.
|
|
3797
3821
|
# @return [String]
|
|
3798
3822
|
#
|
|
3799
3823
|
# @!attribute [rw] location
|
|
3800
3824
|
# Information about the build output artifact location:
|
|
3801
3825
|
#
|
|
3802
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3803
|
-
# value if specified. This is because
|
|
3804
|
-
#
|
|
3826
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3827
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3828
|
+
# output locations instead of CodeBuild.
|
|
3805
3829
|
#
|
|
3806
3830
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3807
3831
|
# specified, because no build output is produced.
|
|
@@ -3810,12 +3834,12 @@ module Aws::CodeBuild
|
|
|
3810
3834
|
# @return [String]
|
|
3811
3835
|
#
|
|
3812
3836
|
# @!attribute [rw] path
|
|
3813
|
-
# Along with `namespaceType` and `name`, the pattern that
|
|
3814
|
-
#
|
|
3837
|
+
# Along with `namespaceType` and `name`, the pattern that CodeBuild
|
|
3838
|
+
# uses to name and store the output artifact:
|
|
3815
3839
|
#
|
|
3816
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3817
|
-
# value if specified. This is because
|
|
3818
|
-
#
|
|
3840
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3841
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3842
|
+
# output names instead of CodeBuild.
|
|
3819
3843
|
#
|
|
3820
3844
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3821
3845
|
# specified, because no build output is produced.
|
|
@@ -3830,12 +3854,12 @@ module Aws::CodeBuild
|
|
|
3830
3854
|
# @return [String]
|
|
3831
3855
|
#
|
|
3832
3856
|
# @!attribute [rw] namespace_type
|
|
3833
|
-
# Along with `path` and `name`, the pattern that
|
|
3857
|
+
# Along with `path` and `name`, the pattern that CodeBuild uses to
|
|
3834
3858
|
# determine the name and location to store the output artifact:
|
|
3835
3859
|
#
|
|
3836
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3837
|
-
# value if specified. This is because
|
|
3838
|
-
#
|
|
3860
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3861
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3862
|
+
# output names instead of CodeBuild.
|
|
3839
3863
|
#
|
|
3840
3864
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3841
3865
|
# specified, because no build output is produced.
|
|
@@ -3854,12 +3878,12 @@ module Aws::CodeBuild
|
|
|
3854
3878
|
# @return [String]
|
|
3855
3879
|
#
|
|
3856
3880
|
# @!attribute [rw] name
|
|
3857
|
-
# Along with `path` and `namespaceType`, the pattern that
|
|
3858
|
-
#
|
|
3881
|
+
# Along with `path` and `namespaceType`, the pattern that CodeBuild
|
|
3882
|
+
# uses to name and store the output artifact:
|
|
3859
3883
|
#
|
|
3860
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3861
|
-
# value if specified. This is because
|
|
3862
|
-
#
|
|
3884
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3885
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3886
|
+
# output names instead of CodeBuild.
|
|
3863
3887
|
#
|
|
3864
3888
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3865
3889
|
# specified, because no build output is produced.
|
|
@@ -3886,21 +3910,21 @@ module Aws::CodeBuild
|
|
|
3886
3910
|
# @!attribute [rw] packaging
|
|
3887
3911
|
# The type of build output artifact to create:
|
|
3888
3912
|
#
|
|
3889
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3890
|
-
# value if specified. This is because
|
|
3891
|
-
#
|
|
3913
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3914
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3915
|
+
# output artifacts instead of CodeBuild.
|
|
3892
3916
|
#
|
|
3893
3917
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3894
3918
|
# specified, because no build output is produced.
|
|
3895
3919
|
#
|
|
3896
3920
|
# * If `type` is set to `S3`, valid values include:
|
|
3897
3921
|
#
|
|
3898
|
-
# * `NONE`\:
|
|
3899
|
-
#
|
|
3900
|
-
#
|
|
3922
|
+
# * `NONE`\: CodeBuild creates in the output bucket a folder that
|
|
3923
|
+
# contains the build output. This is the default if `packaging` is
|
|
3924
|
+
# not specified.
|
|
3901
3925
|
#
|
|
3902
|
-
# * `ZIP`\:
|
|
3903
|
-
#
|
|
3926
|
+
# * `ZIP`\: CodeBuild creates in the output bucket a ZIP file that
|
|
3927
|
+
# contains the build output.
|
|
3904
3928
|
# @return [String]
|
|
3905
3929
|
#
|
|
3906
3930
|
# @!attribute [rw] override_artifact_name
|
|
@@ -3913,9 +3937,8 @@ module Aws::CodeBuild
|
|
|
3913
3937
|
#
|
|
3914
3938
|
# @!attribute [rw] encryption_disabled
|
|
3915
3939
|
# Set to true if you do not want your output artifacts encrypted. This
|
|
3916
|
-
# option is valid only if your artifacts type is Amazon
|
|
3917
|
-
#
|
|
3918
|
-
# invalidInputException is thrown.
|
|
3940
|
+
# option is valid only if your artifacts type is Amazon S3. If this is
|
|
3941
|
+
# set with another artifacts type, an invalidInputException is thrown.
|
|
3919
3942
|
# @return [Boolean]
|
|
3920
3943
|
#
|
|
3921
3944
|
# @!attribute [rw] artifact_identifier
|
|
@@ -4140,6 +4163,21 @@ module Aws::CodeBuild
|
|
|
4140
4163
|
# Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia
|
|
4141
4164
|
# Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
|
|
4142
4165
|
# Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
|
|
4166
|
+
# ^
|
|
4167
|
+
#
|
|
4168
|
+
# * The environment types `WINDOWS_CONTAINER` and
|
|
4169
|
+
# `WINDOWS_SERVER_2019_CONTAINER` are available only in regions US
|
|
4170
|
+
# East (N. Virginia), US East (Ohio), US West (Oregon), and EU
|
|
4171
|
+
# (Ireland).
|
|
4172
|
+
#
|
|
4173
|
+
# ^
|
|
4174
|
+
#
|
|
4175
|
+
# For more information, see [Build environment compute types][1] in
|
|
4176
|
+
# the *CodeBuild user guide*.
|
|
4177
|
+
#
|
|
4178
|
+
#
|
|
4179
|
+
#
|
|
4180
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
|
4143
4181
|
# @return [String]
|
|
4144
4182
|
#
|
|
4145
4183
|
# @!attribute [rw] image
|
|
@@ -4155,6 +4193,13 @@ module Aws::CodeBuild
|
|
|
4155
4193
|
# "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
|
|
4156
4194
|
# use
|
|
4157
4195
|
# `<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf`.
|
|
4196
|
+
#
|
|
4197
|
+
# For more information, see [Docker images provided by CodeBuild][1]
|
|
4198
|
+
# in the *CodeBuild user guide*.
|
|
4199
|
+
#
|
|
4200
|
+
#
|
|
4201
|
+
#
|
|
4202
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
|
|
4158
4203
|
# @return [String]
|
|
4159
4204
|
#
|
|
4160
4205
|
# @!attribute [rw] compute_type
|
|
@@ -4186,7 +4231,7 @@ module Aws::CodeBuild
|
|
|
4186
4231
|
# memory and 8 vCPUs on ARM-based processors for builds.
|
|
4187
4232
|
#
|
|
4188
4233
|
# For more information, see [Build Environment Compute Types][1] in
|
|
4189
|
-
# the *
|
|
4234
|
+
# the *CodeBuild User Guide.*
|
|
4190
4235
|
#
|
|
4191
4236
|
#
|
|
4192
4237
|
#
|
|
@@ -4226,10 +4271,9 @@ module Aws::CodeBuild
|
|
|
4226
4271
|
# @return [Boolean]
|
|
4227
4272
|
#
|
|
4228
4273
|
# @!attribute [rw] certificate
|
|
4229
|
-
# The ARN of the Amazon
|
|
4230
|
-
#
|
|
4231
|
-
# certificate
|
|
4232
|
-
# [certificate][1] in the *AWS CodeBuild User Guide*.
|
|
4274
|
+
# The ARN of the Amazon S3 bucket, path prefix, and object key that
|
|
4275
|
+
# contains the PEM-encoded certificate for the build project. For more
|
|
4276
|
+
# information, see [certificate][1] in the *CodeBuild User Guide*.
|
|
4233
4277
|
#
|
|
4234
4278
|
#
|
|
4235
4279
|
#
|
|
@@ -4241,19 +4285,19 @@ module Aws::CodeBuild
|
|
|
4241
4285
|
# @return [Types::RegistryCredential]
|
|
4242
4286
|
#
|
|
4243
4287
|
# @!attribute [rw] image_pull_credentials_type
|
|
4244
|
-
# The type of credentials
|
|
4245
|
-
#
|
|
4288
|
+
# The type of credentials CodeBuild uses to pull images in your build.
|
|
4289
|
+
# There are two valid values:
|
|
4246
4290
|
#
|
|
4247
|
-
# * `CODEBUILD` specifies that
|
|
4291
|
+
# * `CODEBUILD` specifies that CodeBuild uses its own credentials.
|
|
4248
4292
|
# This requires that you modify your ECR repository policy to trust
|
|
4249
|
-
#
|
|
4293
|
+
# CodeBuild service principal.
|
|
4250
4294
|
#
|
|
4251
|
-
# * `SERVICE_ROLE` specifies that
|
|
4252
|
-
#
|
|
4295
|
+
# * `SERVICE_ROLE` specifies that CodeBuild uses your build project's
|
|
4296
|
+
# service role.
|
|
4253
4297
|
#
|
|
4254
4298
|
# When you use a cross-account or private registry image, you must use
|
|
4255
|
-
# SERVICE\_ROLE credentials. When you use an
|
|
4256
|
-
#
|
|
4299
|
+
# SERVICE\_ROLE credentials. When you use an CodeBuild curated image,
|
|
4300
|
+
# you must use CODEBUILD credentials.
|
|
4257
4301
|
# @return [String]
|
|
4258
4302
|
#
|
|
4259
4303
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment AWS API Documentation
|
|
@@ -4297,7 +4341,7 @@ module Aws::CodeBuild
|
|
|
4297
4341
|
# @!attribute [rw] location
|
|
4298
4342
|
# A string that specifies the location of the file system created by
|
|
4299
4343
|
# Amazon EFS. Its format is `efs-dns-name:/directory-path`. You can
|
|
4300
|
-
# find the DNS name of file system when you view it in the
|
|
4344
|
+
# find the DNS name of file system when you view it in the Amazon EFS
|
|
4301
4345
|
# console. The directory path is a path to a directory in the file
|
|
4302
4346
|
# system that CodeBuild mounts. For example, if the DNS name of a file
|
|
4303
4347
|
# system is `fs-abcd1234.efs.us-west-2.amazonaws.com`, and its mount
|
|
@@ -4324,8 +4368,8 @@ module Aws::CodeBuild
|
|
|
4324
4368
|
# @return [String]
|
|
4325
4369
|
#
|
|
4326
4370
|
# @!attribute [rw] mount_options
|
|
4327
|
-
# The mount options for a file system created by
|
|
4328
|
-
# mount options used by CodeBuild are
|
|
4371
|
+
# The mount options for a file system created by Amazon EFS. The
|
|
4372
|
+
# default mount options used by CodeBuild are
|
|
4329
4373
|
# `nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2`.
|
|
4330
4374
|
# For more information, see [Recommended NFS Mount Options][1].
|
|
4331
4375
|
#
|
|
@@ -4378,10 +4422,10 @@ module Aws::CodeBuild
|
|
|
4378
4422
|
#
|
|
4379
4423
|
# * `BITBUCKET`\: The source code is in a Bitbucket repository.
|
|
4380
4424
|
#
|
|
4381
|
-
# * `CODECOMMIT`\: The source code is in an
|
|
4425
|
+
# * `CODECOMMIT`\: The source code is in an CodeCommit repository.
|
|
4382
4426
|
#
|
|
4383
4427
|
# * `CODEPIPELINE`\: The source code settings are specified in the
|
|
4384
|
-
# source action of a pipeline in
|
|
4428
|
+
# source action of a pipeline in CodePipeline.
|
|
4385
4429
|
#
|
|
4386
4430
|
# * `GITHUB`\: The source code is in a GitHub or GitHub Enterprise
|
|
4387
4431
|
# Cloud repository.
|
|
@@ -4391,8 +4435,7 @@ module Aws::CodeBuild
|
|
|
4391
4435
|
#
|
|
4392
4436
|
# * `NO_SOURCE`\: The project does not have input source code.
|
|
4393
4437
|
#
|
|
4394
|
-
# * `S3`\: The source code is in an Amazon
|
|
4395
|
-
# (Amazon S3) input bucket.
|
|
4438
|
+
# * `S3`\: The source code is in an Amazon S3 bucket.
|
|
4396
4439
|
# @return [String]
|
|
4397
4440
|
#
|
|
4398
4441
|
# @!attribute [rw] location
|
|
@@ -4400,18 +4443,18 @@ module Aws::CodeBuild
|
|
|
4400
4443
|
# values include:
|
|
4401
4444
|
#
|
|
4402
4445
|
# * For source code settings that are specified in the source action
|
|
4403
|
-
# of a pipeline in
|
|
4404
|
-
#
|
|
4405
|
-
#
|
|
4406
|
-
#
|
|
4407
|
-
#
|
|
4408
|
-
# * For source code in an
|
|
4409
|
-
#
|
|
4410
|
-
#
|
|
4446
|
+
# of a pipeline in CodePipeline, `location` should not be specified.
|
|
4447
|
+
# If it is specified, CodePipeline ignores it. This is because
|
|
4448
|
+
# CodePipeline uses the settings in a pipeline's source action
|
|
4449
|
+
# instead of this value.
|
|
4450
|
+
#
|
|
4451
|
+
# * For source code in an CodeCommit repository, the HTTPS clone URL
|
|
4452
|
+
# to the repository that contains the source code and the buildspec
|
|
4453
|
+
# file (for example,
|
|
4411
4454
|
# `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`).
|
|
4412
4455
|
#
|
|
4413
|
-
# * For source code in an Amazon
|
|
4414
|
-
#
|
|
4456
|
+
# * For source code in an Amazon S3 input bucket, one of the
|
|
4457
|
+
# following.
|
|
4415
4458
|
#
|
|
4416
4459
|
# * The path to the ZIP file that contains the source code (for
|
|
4417
4460
|
# example, `<bucket-name>/<path>/<object-name>.zip`).
|
|
@@ -4421,29 +4464,33 @@ module Aws::CodeBuild
|
|
|
4421
4464
|
#
|
|
4422
4465
|
# * For source code in a GitHub repository, the HTTPS clone URL to the
|
|
4423
4466
|
# repository that contains the source and the buildspec file. You
|
|
4424
|
-
# must connect your
|
|
4467
|
+
# must connect your account to your GitHub account. Use the
|
|
4425
4468
|
# CodeBuild console to start creating a build project. When you use
|
|
4426
4469
|
# the console to connect (or reconnect) with GitHub, on the GitHub
|
|
4427
4470
|
# **Authorize application** page, for **Organization access**,
|
|
4428
4471
|
# choose **Request access** next to each repository you want to
|
|
4429
|
-
# allow
|
|
4472
|
+
# allow CodeBuild to have access to, and then choose **Authorize
|
|
4430
4473
|
# application**. (After you have connected to your GitHub account,
|
|
4431
4474
|
# you do not need to finish creating the build project. You can
|
|
4432
|
-
# leave the
|
|
4433
|
-
#
|
|
4475
|
+
# leave the CodeBuild console.) To instruct CodeBuild to use this
|
|
4476
|
+
# connection, in the `source` object, set the `auth` object's
|
|
4434
4477
|
# `type` value to `OAUTH`.
|
|
4435
4478
|
#
|
|
4436
4479
|
# * For source code in a Bitbucket repository, the HTTPS clone URL to
|
|
4437
4480
|
# the repository that contains the source and the buildspec file.
|
|
4438
|
-
# You must connect your
|
|
4439
|
-
# the
|
|
4440
|
-
# you use the console to connect (or reconnect)
|
|
4441
|
-
# the Bitbucket **Confirm access to your
|
|
4442
|
-
# **Grant access**. (After you have connected
|
|
4443
|
-
# account, you do not need to finish creating the
|
|
4444
|
-
# can leave the
|
|
4445
|
-
# use this connection, in the `source` object, set the
|
|
4446
|
-
# object's `type` value to `OAUTH`.
|
|
4481
|
+
# You must connect your Amazon Web Services account to your
|
|
4482
|
+
# Bitbucket account. Use the CodeBuild console to start creating a
|
|
4483
|
+
# build project. When you use the console to connect (or reconnect)
|
|
4484
|
+
# with Bitbucket, on the Bitbucket **Confirm access to your
|
|
4485
|
+
# account** page, choose **Grant access**. (After you have connected
|
|
4486
|
+
# to your Bitbucket account, you do not need to finish creating the
|
|
4487
|
+
# build project. You can leave the CodeBuild console.) To instruct
|
|
4488
|
+
# CodeBuild to use this connection, in the `source` object, set the
|
|
4489
|
+
# `auth` object's `type` value to `OAUTH`.
|
|
4490
|
+
#
|
|
4491
|
+
# If you specify `CODEPIPELINE` for the `Type` property, don't
|
|
4492
|
+
# specify this property. For all of the other types, you must specify
|
|
4493
|
+
# `Location`.
|
|
4447
4494
|
# @return [String]
|
|
4448
4495
|
#
|
|
4449
4496
|
# @!attribute [rw] git_clone_depth
|
|
@@ -4462,8 +4509,8 @@ module Aws::CodeBuild
|
|
|
4462
4509
|
# If this value is set, it can be either an inline buildspec
|
|
4463
4510
|
# definition, the path to an alternate buildspec file relative to the
|
|
4464
4511
|
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
|
4465
|
-
# the path to an S3 bucket. The bucket must be in the same
|
|
4466
|
-
#
|
|
4512
|
+
# the path to an S3 bucket. The bucket must be in the same Region as
|
|
4513
|
+
# the build project. Specify the buildspec file using its ARN (for
|
|
4467
4514
|
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
|
4468
4515
|
# value is not provided or is set to an empty string, the source code
|
|
4469
4516
|
# must contain a buildspec file in its root directory. For more
|
|
@@ -4475,11 +4522,11 @@ module Aws::CodeBuild
|
|
|
4475
4522
|
# @return [String]
|
|
4476
4523
|
#
|
|
4477
4524
|
# @!attribute [rw] auth
|
|
4478
|
-
# Information about the authorization settings for
|
|
4479
|
-
#
|
|
4525
|
+
# Information about the authorization settings for CodeBuild to access
|
|
4526
|
+
# the source code to be built.
|
|
4480
4527
|
#
|
|
4481
|
-
# This information is for the
|
|
4482
|
-
#
|
|
4528
|
+
# This information is for the CodeBuild console's use only. Your code
|
|
4529
|
+
# should not get or set this information directly.
|
|
4483
4530
|
# @return [Types::SourceAuth]
|
|
4484
4531
|
#
|
|
4485
4532
|
# @!attribute [rw] report_build_status
|
|
@@ -4493,7 +4540,7 @@ module Aws::CodeBuild
|
|
|
4493
4540
|
# user associated with the source provider must have write access to
|
|
4494
4541
|
# the repo. If the user does not have write access, the build status
|
|
4495
4542
|
# cannot be updated. For more information, see [Source provider
|
|
4496
|
-
# access][1] in the *
|
|
4543
|
+
# access][1] in the *CodeBuild User Guide*.
|
|
4497
4544
|
#
|
|
4498
4545
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
|
4499
4546
|
# your source provider.
|
|
@@ -4518,7 +4565,9 @@ module Aws::CodeBuild
|
|
|
4518
4565
|
# @return [Boolean]
|
|
4519
4566
|
#
|
|
4520
4567
|
# @!attribute [rw] source_identifier
|
|
4521
|
-
# An identifier for this project source.
|
|
4568
|
+
# An identifier for this project source. The identifier can only
|
|
4569
|
+
# contain alphanumeric characters and underscores, and must be less
|
|
4570
|
+
# than 128 characters in length.
|
|
4522
4571
|
# @return [String]
|
|
4523
4572
|
#
|
|
4524
4573
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource AWS API Documentation
|
|
@@ -4549,14 +4598,16 @@ module Aws::CodeBuild
|
|
|
4549
4598
|
# }
|
|
4550
4599
|
#
|
|
4551
4600
|
# @!attribute [rw] source_identifier
|
|
4552
|
-
# An identifier for a source in the build project.
|
|
4601
|
+
# An identifier for a source in the build project. The identifier can
|
|
4602
|
+
# only contain alphanumeric characters and underscores, and must be
|
|
4603
|
+
# less than 128 characters in length.
|
|
4553
4604
|
# @return [String]
|
|
4554
4605
|
#
|
|
4555
4606
|
# @!attribute [rw] source_version
|
|
4556
4607
|
# The source version for the corresponding source identifier. If
|
|
4557
4608
|
# specified, must be one of:
|
|
4558
4609
|
#
|
|
4559
|
-
# * For
|
|
4610
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
4560
4611
|
#
|
|
4561
4612
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
4562
4613
|
# name that corresponds to the version of the source code you want
|
|
@@ -4571,11 +4622,11 @@ module Aws::CodeBuild
|
|
|
4571
4622
|
# used. If not specified, the default branch's HEAD commit ID is
|
|
4572
4623
|
# used.
|
|
4573
4624
|
#
|
|
4574
|
-
# * For Amazon
|
|
4575
|
-
#
|
|
4625
|
+
# * For Amazon S3: the version ID of the object that represents the
|
|
4626
|
+
# build input ZIP file to use.
|
|
4576
4627
|
#
|
|
4577
4628
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
4578
|
-
# in the *
|
|
4629
|
+
# in the *CodeBuild User Guide*.
|
|
4579
4630
|
#
|
|
4580
4631
|
#
|
|
4581
4632
|
#
|
|
@@ -4601,8 +4652,8 @@ module Aws::CodeBuild
|
|
|
4601
4652
|
#
|
|
4602
4653
|
# @!attribute [rw] policy
|
|
4603
4654
|
# A JSON-formatted resource policy. For more information, see [Sharing
|
|
4604
|
-
# a Project][1] and [Sharing a Report Group][2] in the *
|
|
4605
|
-
#
|
|
4655
|
+
# a Project][1] and [Sharing a Report Group][2] in the *CodeBuild User
|
|
4656
|
+
# Guide*.
|
|
4606
4657
|
#
|
|
4607
4658
|
#
|
|
4608
4659
|
#
|
|
@@ -4644,8 +4695,8 @@ module Aws::CodeBuild
|
|
|
4644
4695
|
#
|
|
4645
4696
|
# * images cannot be curated or an Amazon ECR image.
|
|
4646
4697
|
#
|
|
4647
|
-
# For more information, see [Private Registry with
|
|
4648
|
-
# Sample for
|
|
4698
|
+
# For more information, see [Private Registry with Secrets Manager
|
|
4699
|
+
# Sample for CodeBuild][1].
|
|
4649
4700
|
#
|
|
4650
4701
|
#
|
|
4651
4702
|
#
|
|
@@ -4661,18 +4712,17 @@ module Aws::CodeBuild
|
|
|
4661
4712
|
#
|
|
4662
4713
|
# @!attribute [rw] credential
|
|
4663
4714
|
# The Amazon Resource Name (ARN) or name of credentials created using
|
|
4664
|
-
#
|
|
4715
|
+
# Secrets Manager.
|
|
4665
4716
|
#
|
|
4666
4717
|
# <note markdown="1"> The `credential` can use the name of the credentials only if they
|
|
4667
|
-
# exist in your current
|
|
4718
|
+
# exist in your current Region.
|
|
4668
4719
|
#
|
|
4669
4720
|
# </note>
|
|
4670
4721
|
# @return [String]
|
|
4671
4722
|
#
|
|
4672
4723
|
# @!attribute [rw] credential_provider
|
|
4673
4724
|
# The service that created the credentials to access a private Docker
|
|
4674
|
-
# registry. The valid value, SECRETS\_MANAGER, is for
|
|
4675
|
-
# Manager.
|
|
4725
|
+
# registry. The valid value, SECRETS\_MANAGER, is for Secrets Manager.
|
|
4676
4726
|
# @return [String]
|
|
4677
4727
|
#
|
|
4678
4728
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RegistryCredential AWS API Documentation
|
|
@@ -4781,6 +4831,7 @@ module Aws::CodeBuild
|
|
|
4781
4831
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
|
4782
4832
|
# s3_destination: {
|
|
4783
4833
|
# bucket: "NonEmptyString",
|
|
4834
|
+
# bucket_owner: "String",
|
|
4784
4835
|
# path: "String",
|
|
4785
4836
|
# packaging: "ZIP", # accepts ZIP, NONE
|
|
4786
4837
|
# encryption_key: "NonEmptyString",
|
|
@@ -4875,8 +4926,8 @@ module Aws::CodeBuild
|
|
|
4875
4926
|
# @!attribute [rw] tags
|
|
4876
4927
|
# A list of tag key and value pairs associated with this report group.
|
|
4877
4928
|
#
|
|
4878
|
-
# These tags are available for use by
|
|
4879
|
-
# CodeBuild report group tags.
|
|
4929
|
+
# These tags are available for use by Amazon Web Services services
|
|
4930
|
+
# that support CodeBuild report group tags.
|
|
4880
4931
|
# @return [Array<Types::Tag>]
|
|
4881
4932
|
#
|
|
4882
4933
|
# @!attribute [rw] status
|
|
@@ -4956,7 +5007,7 @@ module Aws::CodeBuild
|
|
|
4956
5007
|
|
|
4957
5008
|
# Represents a resolved build artifact. A resolve artifact is an
|
|
4958
5009
|
# artifact that is built and deployed to the destination, such as Amazon
|
|
4959
|
-
#
|
|
5010
|
+
# S3.
|
|
4960
5011
|
#
|
|
4961
5012
|
# @!attribute [rw] type
|
|
4962
5013
|
# Specifies the type of artifact.
|
|
@@ -4980,14 +5031,14 @@ module Aws::CodeBuild
|
|
|
4980
5031
|
include Aws::Structure
|
|
4981
5032
|
end
|
|
4982
5033
|
|
|
4983
|
-
# The specified
|
|
4984
|
-
# with the same settings already exists.
|
|
5034
|
+
# The specified Amazon Web Services resource cannot be created, because
|
|
5035
|
+
# an Amazon Web Services resource with the same settings already exists.
|
|
4985
5036
|
#
|
|
4986
5037
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceAlreadyExistsException AWS API Documentation
|
|
4987
5038
|
#
|
|
4988
5039
|
class ResourceAlreadyExistsException < Aws::EmptyStructure; end
|
|
4989
5040
|
|
|
4990
|
-
# The specified
|
|
5041
|
+
# The specified Amazon Web Services resource cannot be found.
|
|
4991
5042
|
#
|
|
4992
5043
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceNotFoundException AWS API Documentation
|
|
4993
5044
|
#
|
|
@@ -5011,8 +5062,7 @@ module Aws::CodeBuild
|
|
|
5011
5062
|
# idempotency of the `RetryBuildBatch` request. The token is included
|
|
5012
5063
|
# in the `RetryBuildBatch` request and is valid for five minutes. If
|
|
5013
5064
|
# you repeat the `RetryBuildBatch` request with the same token, but
|
|
5014
|
-
# change a parameter,
|
|
5015
|
-
# error.
|
|
5065
|
+
# change a parameter, CodeBuild returns a parameter mismatch error.
|
|
5016
5066
|
# @return [String]
|
|
5017
5067
|
#
|
|
5018
5068
|
# @!attribute [rw] retry_type
|
|
@@ -5058,7 +5108,7 @@ module Aws::CodeBuild
|
|
|
5058
5108
|
# idempotency of the `RetryBuild` request. The token is included in
|
|
5059
5109
|
# the `RetryBuild` request and is valid for five minutes. If you
|
|
5060
5110
|
# repeat the `RetryBuild` request with the same token, but change a
|
|
5061
|
-
# parameter,
|
|
5111
|
+
# parameter, CodeBuild returns a parameter mismatch error.
|
|
5062
5112
|
# @return [String]
|
|
5063
5113
|
#
|
|
5064
5114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildInput AWS API Documentation
|
|
@@ -5131,6 +5181,7 @@ module Aws::CodeBuild
|
|
|
5131
5181
|
#
|
|
5132
5182
|
# {
|
|
5133
5183
|
# bucket: "NonEmptyString",
|
|
5184
|
+
# bucket_owner: "String",
|
|
5134
5185
|
# path: "String",
|
|
5135
5186
|
# packaging: "ZIP", # accepts ZIP, NONE
|
|
5136
5187
|
# encryption_key: "NonEmptyString",
|
|
@@ -5142,6 +5193,13 @@ module Aws::CodeBuild
|
|
|
5142
5193
|
# exported.
|
|
5143
5194
|
# @return [String]
|
|
5144
5195
|
#
|
|
5196
|
+
# @!attribute [rw] bucket_owner
|
|
5197
|
+
# The Amazon Web Services account identifier of the owner of the
|
|
5198
|
+
# Amazon S3 bucket. This allows report data to be exported to an
|
|
5199
|
+
# Amazon S3 bucket that is owned by an account other than the account
|
|
5200
|
+
# running the build.
|
|
5201
|
+
# @return [String]
|
|
5202
|
+
#
|
|
5145
5203
|
# @!attribute [rw] path
|
|
5146
5204
|
# The path to the exported report's raw data results.
|
|
5147
5205
|
# @return [String]
|
|
@@ -5149,10 +5207,10 @@ module Aws::CodeBuild
|
|
|
5149
5207
|
# @!attribute [rw] packaging
|
|
5150
5208
|
# The type of build output artifact to create. Valid values include:
|
|
5151
5209
|
#
|
|
5152
|
-
# * `NONE`\:
|
|
5153
|
-
#
|
|
5210
|
+
# * `NONE`\: CodeBuild creates the raw data in the output bucket. This
|
|
5211
|
+
# is the default if packaging is not specified.
|
|
5154
5212
|
#
|
|
5155
|
-
# * `ZIP`\:
|
|
5213
|
+
# * `ZIP`\: CodeBuild creates a ZIP file with the raw data in the
|
|
5156
5214
|
# output bucket.
|
|
5157
5215
|
# @return [String]
|
|
5158
5216
|
#
|
|
@@ -5169,6 +5227,7 @@ module Aws::CodeBuild
|
|
|
5169
5227
|
#
|
|
5170
5228
|
class S3ReportExportConfig < Struct.new(
|
|
5171
5229
|
:bucket,
|
|
5230
|
+
:bucket_owner,
|
|
5172
5231
|
:path,
|
|
5173
5232
|
:packaging,
|
|
5174
5233
|
:encryption_key,
|
|
@@ -5177,11 +5236,11 @@ module Aws::CodeBuild
|
|
|
5177
5236
|
include Aws::Structure
|
|
5178
5237
|
end
|
|
5179
5238
|
|
|
5180
|
-
# Information about the authorization settings for
|
|
5181
|
-
#
|
|
5239
|
+
# Information about the authorization settings for CodeBuild to access
|
|
5240
|
+
# the source code to be built.
|
|
5182
5241
|
#
|
|
5183
|
-
# This information is for the
|
|
5184
|
-
#
|
|
5242
|
+
# This information is for the CodeBuild console's use only. Your code
|
|
5243
|
+
# should not get or set this information directly.
|
|
5185
5244
|
#
|
|
5186
5245
|
# @note When making an API call, you may pass SourceAuth
|
|
5187
5246
|
# data as a hash:
|
|
@@ -5359,6 +5418,7 @@ module Aws::CodeBuild
|
|
|
5359
5418
|
# },
|
|
5360
5419
|
# timeout_in_mins: 1,
|
|
5361
5420
|
# },
|
|
5421
|
+
# debug_session_enabled: false,
|
|
5362
5422
|
# }
|
|
5363
5423
|
#
|
|
5364
5424
|
# @!attribute [rw] project_name
|
|
@@ -5380,7 +5440,7 @@ module Aws::CodeBuild
|
|
|
5380
5440
|
# only. If not specified, the latest version is used. If specified,
|
|
5381
5441
|
# the contents depends on the source provider:
|
|
5382
5442
|
#
|
|
5383
|
-
#
|
|
5443
|
+
# CodeCommit
|
|
5384
5444
|
#
|
|
5385
5445
|
# : The commit ID, branch, or Git tag to use.
|
|
5386
5446
|
#
|
|
@@ -5400,7 +5460,7 @@ module Aws::CodeBuild
|
|
|
5400
5460
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
|
5401
5461
|
# the default branch's HEAD commit ID is used.
|
|
5402
5462
|
#
|
|
5403
|
-
# Amazon
|
|
5463
|
+
# Amazon S3
|
|
5404
5464
|
#
|
|
5405
5465
|
# : The version ID of the object that represents the build input ZIP
|
|
5406
5466
|
# file to use.
|
|
@@ -5409,7 +5469,7 @@ module Aws::CodeBuild
|
|
|
5409
5469
|
# `sourceVersion` (at the build level) takes precedence.
|
|
5410
5470
|
#
|
|
5411
5471
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
5412
|
-
# in the *
|
|
5472
|
+
# in the *CodeBuild User Guide*.
|
|
5413
5473
|
#
|
|
5414
5474
|
#
|
|
5415
5475
|
#
|
|
@@ -5465,8 +5525,8 @@ module Aws::CodeBuild
|
|
|
5465
5525
|
# If this value is set, it can be either an inline buildspec
|
|
5466
5526
|
# definition, the path to an alternate buildspec file relative to the
|
|
5467
5527
|
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
|
5468
|
-
# the path to an S3 bucket. The bucket must be in the same
|
|
5469
|
-
#
|
|
5528
|
+
# the path to an S3 bucket. The bucket must be in the same Region as
|
|
5529
|
+
# the build project. Specify the buildspec file using its ARN (for
|
|
5470
5530
|
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
|
5471
5531
|
# value is not provided or is set to an empty string, the source code
|
|
5472
5532
|
# must contain a buildspec file in its root directory. For more
|
|
@@ -5541,9 +5601,9 @@ module Aws::CodeBuild
|
|
|
5541
5601
|
# @return [Integer]
|
|
5542
5602
|
#
|
|
5543
5603
|
# @!attribute [rw] encryption_key_override
|
|
5544
|
-
# The
|
|
5545
|
-
#
|
|
5546
|
-
#
|
|
5604
|
+
# The Key Management Service customer master key (CMK) that overrides
|
|
5605
|
+
# the one specified in the batch build project. The CMK key encrypts
|
|
5606
|
+
# the build output artifacts.
|
|
5547
5607
|
#
|
|
5548
5608
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
5549
5609
|
# artifacts if your service role has permission to that key.
|
|
@@ -5560,8 +5620,7 @@ module Aws::CodeBuild
|
|
|
5560
5620
|
# idempotency of the `StartBuildBatch` request. The token is included
|
|
5561
5621
|
# in the `StartBuildBatch` request and is valid for five minutes. If
|
|
5562
5622
|
# you repeat the `StartBuildBatch` request with the same token, but
|
|
5563
|
-
# change a parameter,
|
|
5564
|
-
# error.
|
|
5623
|
+
# change a parameter, CodeBuild returns a parameter mismatch error.
|
|
5565
5624
|
# @return [String]
|
|
5566
5625
|
#
|
|
5567
5626
|
# @!attribute [rw] logs_config_override
|
|
@@ -5575,23 +5634,22 @@ module Aws::CodeBuild
|
|
|
5575
5634
|
# @return [Types::RegistryCredential]
|
|
5576
5635
|
#
|
|
5577
5636
|
# @!attribute [rw] image_pull_credentials_type_override
|
|
5578
|
-
# The type of credentials
|
|
5579
|
-
#
|
|
5637
|
+
# The type of credentials CodeBuild uses to pull images in your batch
|
|
5638
|
+
# build. There are two valid values:
|
|
5580
5639
|
#
|
|
5581
5640
|
# CODEBUILD
|
|
5582
5641
|
#
|
|
5583
|
-
# : Specifies that
|
|
5584
|
-
#
|
|
5585
|
-
#
|
|
5642
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
|
5643
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
|
5644
|
+
# service principal.
|
|
5586
5645
|
#
|
|
5587
5646
|
# SERVICE\_ROLE
|
|
5588
5647
|
#
|
|
5589
|
-
# : Specifies that
|
|
5590
|
-
# role.
|
|
5648
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
|
5591
5649
|
#
|
|
5592
5650
|
# When using a cross-account or private registry image, you must use
|
|
5593
|
-
# `SERVICE_ROLE` credentials. When using an
|
|
5594
|
-
#
|
|
5651
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
|
5652
|
+
# you must use `CODEBUILD` credentials.
|
|
5595
5653
|
# @return [String]
|
|
5596
5654
|
#
|
|
5597
5655
|
# @!attribute [rw] build_batch_config_override
|
|
@@ -5599,6 +5657,17 @@ module Aws::CodeBuild
|
|
|
5599
5657
|
# configuration overrides.
|
|
5600
5658
|
# @return [Types::ProjectBuildBatchConfig]
|
|
5601
5659
|
#
|
|
5660
|
+
# @!attribute [rw] debug_session_enabled
|
|
5661
|
+
# Specifies if session debugging is enabled for this batch build. For
|
|
5662
|
+
# more information, see [Viewing a running build in Session
|
|
5663
|
+
# Manager][1]. Batch session debugging is not supported for matrix
|
|
5664
|
+
# batch builds.
|
|
5665
|
+
#
|
|
5666
|
+
#
|
|
5667
|
+
#
|
|
5668
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
|
|
5669
|
+
# @return [Boolean]
|
|
5670
|
+
#
|
|
5602
5671
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildBatchInput AWS API Documentation
|
|
5603
5672
|
#
|
|
5604
5673
|
class StartBuildBatchInput < Struct.new(
|
|
@@ -5631,7 +5700,8 @@ module Aws::CodeBuild
|
|
|
5631
5700
|
:logs_config_override,
|
|
5632
5701
|
:registry_credential_override,
|
|
5633
5702
|
:image_pull_credentials_type_override,
|
|
5634
|
-
:build_batch_config_override
|
|
5703
|
+
:build_batch_config_override,
|
|
5704
|
+
:debug_session_enabled)
|
|
5635
5705
|
SENSITIVE = []
|
|
5636
5706
|
include Aws::Structure
|
|
5637
5707
|
end
|
|
@@ -5767,8 +5837,7 @@ module Aws::CodeBuild
|
|
|
5767
5837
|
# }
|
|
5768
5838
|
#
|
|
5769
5839
|
# @!attribute [rw] project_name
|
|
5770
|
-
# The name of the
|
|
5771
|
-
# build.
|
|
5840
|
+
# The name of the CodeBuild build project to start running a build.
|
|
5772
5841
|
# @return [String]
|
|
5773
5842
|
#
|
|
5774
5843
|
# @!attribute [rw] secondary_sources_override
|
|
@@ -5786,7 +5855,7 @@ module Aws::CodeBuild
|
|
|
5786
5855
|
# not specified, the latest version is used. If specified, the
|
|
5787
5856
|
# contents depends on the source provider:
|
|
5788
5857
|
#
|
|
5789
|
-
#
|
|
5858
|
+
# CodeCommit
|
|
5790
5859
|
#
|
|
5791
5860
|
# : The commit ID, branch, or Git tag to use.
|
|
5792
5861
|
#
|
|
@@ -5806,7 +5875,7 @@ module Aws::CodeBuild
|
|
|
5806
5875
|
# specified, the branch's HEAD commit ID is used. If not specified,
|
|
5807
5876
|
# the default branch's HEAD commit ID is used.
|
|
5808
5877
|
#
|
|
5809
|
-
# Amazon
|
|
5878
|
+
# Amazon S3
|
|
5810
5879
|
#
|
|
5811
5880
|
# : The version ID of the object that represents the build input ZIP
|
|
5812
5881
|
# file to use.
|
|
@@ -5815,7 +5884,7 @@ module Aws::CodeBuild
|
|
|
5815
5884
|
# `sourceVersion` (at the build level) takes precedence.
|
|
5816
5885
|
#
|
|
5817
5886
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
5818
|
-
# in the *
|
|
5887
|
+
# in the *CodeBuild User Guide*.
|
|
5819
5888
|
#
|
|
5820
5889
|
#
|
|
5821
5890
|
#
|
|
@@ -5860,7 +5929,7 @@ module Aws::CodeBuild
|
|
|
5860
5929
|
#
|
|
5861
5930
|
# @!attribute [rw] git_submodules_config_override
|
|
5862
5931
|
# Information about the Git submodules configuration for this build of
|
|
5863
|
-
# an
|
|
5932
|
+
# an CodeBuild build project.
|
|
5864
5933
|
# @return [Types::GitSubmodulesConfig]
|
|
5865
5934
|
#
|
|
5866
5935
|
# @!attribute [rw] buildspec_override
|
|
@@ -5870,8 +5939,8 @@ module Aws::CodeBuild
|
|
|
5870
5939
|
# If this value is set, it can be either an inline buildspec
|
|
5871
5940
|
# definition, the path to an alternate buildspec file relative to the
|
|
5872
5941
|
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
|
5873
|
-
# the path to an S3 bucket. The bucket must be in the same
|
|
5874
|
-
#
|
|
5942
|
+
# the path to an S3 bucket. The bucket must be in the same Region as
|
|
5943
|
+
# the build project. Specify the buildspec file using its ARN (for
|
|
5875
5944
|
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
|
5876
5945
|
# value is not provided or is set to an empty string, the source code
|
|
5877
5946
|
# must contain a buildspec file in its root directory. For more
|
|
@@ -5900,7 +5969,7 @@ module Aws::CodeBuild
|
|
|
5900
5969
|
# user associated with the source provider must have write access to
|
|
5901
5970
|
# the repo. If the user does not have write access, the build status
|
|
5902
5971
|
# cannot be updated. For more information, see [Source provider
|
|
5903
|
-
# access][1] in the *
|
|
5972
|
+
# access][1] in the *CodeBuild User Guide*.
|
|
5904
5973
|
#
|
|
5905
5974
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
|
5906
5975
|
# your source provider.
|
|
@@ -5965,9 +6034,9 @@ module Aws::CodeBuild
|
|
|
5965
6034
|
# @return [Integer]
|
|
5966
6035
|
#
|
|
5967
6036
|
# @!attribute [rw] encryption_key_override
|
|
5968
|
-
# The
|
|
5969
|
-
#
|
|
5970
|
-
#
|
|
6037
|
+
# The Key Management Service customer master key (CMK) that overrides
|
|
6038
|
+
# the one specified in the build project. The CMK key encrypts the
|
|
6039
|
+
# build output artifacts.
|
|
5971
6040
|
#
|
|
5972
6041
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
5973
6042
|
# artifacts if your service role has permission to that key.
|
|
@@ -5983,7 +6052,7 @@ module Aws::CodeBuild
|
|
|
5983
6052
|
# A unique, case sensitive identifier you provide to ensure the
|
|
5984
6053
|
# idempotency of the StartBuild request. The token is included in the
|
|
5985
6054
|
# StartBuild request and is valid for 5 minutes. If you repeat the
|
|
5986
|
-
# StartBuild request with the same token, but change a parameter,
|
|
6055
|
+
# StartBuild request with the same token, but change a parameter,
|
|
5987
6056
|
# CodeBuild returns a parameter mismatch error.
|
|
5988
6057
|
# @return [String]
|
|
5989
6058
|
#
|
|
@@ -5997,23 +6066,22 @@ module Aws::CodeBuild
|
|
|
5997
6066
|
# @return [Types::RegistryCredential]
|
|
5998
6067
|
#
|
|
5999
6068
|
# @!attribute [rw] image_pull_credentials_type_override
|
|
6000
|
-
# The type of credentials
|
|
6001
|
-
#
|
|
6069
|
+
# The type of credentials CodeBuild uses to pull images in your build.
|
|
6070
|
+
# There are two valid values:
|
|
6002
6071
|
#
|
|
6003
6072
|
# CODEBUILD
|
|
6004
6073
|
#
|
|
6005
|
-
# : Specifies that
|
|
6006
|
-
#
|
|
6007
|
-
#
|
|
6074
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
|
6075
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
|
6076
|
+
# service principal.
|
|
6008
6077
|
#
|
|
6009
6078
|
# SERVICE\_ROLE
|
|
6010
6079
|
#
|
|
6011
|
-
# : Specifies that
|
|
6012
|
-
# role.
|
|
6080
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
|
6013
6081
|
#
|
|
6014
6082
|
# When using a cross-account or private registry image, you must use
|
|
6015
|
-
# `SERVICE_ROLE` credentials. When using an
|
|
6016
|
-
#
|
|
6083
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
|
6084
|
+
# you must use `CODEBUILD` credentials.
|
|
6017
6085
|
# @return [String]
|
|
6018
6086
|
#
|
|
6019
6087
|
# @!attribute [rw] debug_session_enabled
|
|
@@ -6139,8 +6207,8 @@ module Aws::CodeBuild
|
|
|
6139
6207
|
|
|
6140
6208
|
# A tag, consisting of a key and a value.
|
|
6141
6209
|
#
|
|
6142
|
-
# This tag is available for use by
|
|
6143
|
-
# CodeBuild.
|
|
6210
|
+
# This tag is available for use by Amazon Web Services services that
|
|
6211
|
+
# support tags in CodeBuild.
|
|
6144
6212
|
#
|
|
6145
6213
|
# @note When making an API call, you may pass Tag
|
|
6146
6214
|
# data as a hash:
|
|
@@ -6470,7 +6538,7 @@ module Aws::CodeBuild
|
|
|
6470
6538
|
# specified, the latest version is used. If specified, it must be one
|
|
6471
6539
|
# of:
|
|
6472
6540
|
#
|
|
6473
|
-
# * For
|
|
6541
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
6474
6542
|
#
|
|
6475
6543
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
6476
6544
|
# name that corresponds to the version of the source code you want
|
|
@@ -6485,15 +6553,15 @@ module Aws::CodeBuild
|
|
|
6485
6553
|
# used. If not specified, the default branch's HEAD commit ID is
|
|
6486
6554
|
# used.
|
|
6487
6555
|
#
|
|
6488
|
-
# * For Amazon
|
|
6489
|
-
#
|
|
6556
|
+
# * For Amazon S3: the version ID of the object that represents the
|
|
6557
|
+
# build input ZIP file to use.
|
|
6490
6558
|
#
|
|
6491
6559
|
# If `sourceVersion` is specified at the build level, then that
|
|
6492
6560
|
# version takes precedence over this `sourceVersion` (at the project
|
|
6493
6561
|
# level).
|
|
6494
6562
|
#
|
|
6495
6563
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
6496
|
-
# in the *
|
|
6564
|
+
# in the *CodeBuild User Guide*.
|
|
6497
6565
|
#
|
|
6498
6566
|
#
|
|
6499
6567
|
#
|
|
@@ -6526,13 +6594,13 @@ module Aws::CodeBuild
|
|
|
6526
6594
|
# @return [Types::ProjectEnvironment]
|
|
6527
6595
|
#
|
|
6528
6596
|
# @!attribute [rw] service_role
|
|
6529
|
-
# The replacement ARN of the
|
|
6530
|
-
#
|
|
6531
|
-
# services on behalf of the
|
|
6597
|
+
# The replacement ARN of the Identity and Access Management role that
|
|
6598
|
+
# enables CodeBuild to interact with dependent Amazon Web Services
|
|
6599
|
+
# services on behalf of the Amazon Web Services account.
|
|
6532
6600
|
# @return [String]
|
|
6533
6601
|
#
|
|
6534
6602
|
# @!attribute [rw] timeout_in_minutes
|
|
6535
|
-
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
|
6603
|
+
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
|
6536
6604
|
# CodeBuild to wait before timing out any related build that did not
|
|
6537
6605
|
# get marked as completed.
|
|
6538
6606
|
# @return [Integer]
|
|
@@ -6543,8 +6611,8 @@ module Aws::CodeBuild
|
|
|
6543
6611
|
# @return [Integer]
|
|
6544
6612
|
#
|
|
6545
6613
|
# @!attribute [rw] encryption_key
|
|
6546
|
-
# The
|
|
6547
|
-
#
|
|
6614
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
6615
|
+
# encrypting the build output artifacts.
|
|
6548
6616
|
#
|
|
6549
6617
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
6550
6618
|
# artifacts if your service role has permission to that key.
|
|
@@ -6560,13 +6628,12 @@ module Aws::CodeBuild
|
|
|
6560
6628
|
# An updated list of tag key and value pairs associated with this
|
|
6561
6629
|
# build project.
|
|
6562
6630
|
#
|
|
6563
|
-
# These tags are available for use by
|
|
6564
|
-
# CodeBuild build project tags.
|
|
6631
|
+
# These tags are available for use by Amazon Web Services services
|
|
6632
|
+
# that support CodeBuild build project tags.
|
|
6565
6633
|
# @return [Array<Types::Tag>]
|
|
6566
6634
|
#
|
|
6567
6635
|
# @!attribute [rw] vpc_config
|
|
6568
|
-
# VpcConfig enables
|
|
6569
|
-
# VPC.
|
|
6636
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
|
6570
6637
|
# @return [Types::VpcConfig]
|
|
6571
6638
|
#
|
|
6572
6639
|
# @!attribute [rw] badge_enabled
|
|
@@ -6576,7 +6643,7 @@ module Aws::CodeBuild
|
|
|
6576
6643
|
#
|
|
6577
6644
|
# @!attribute [rw] logs_config
|
|
6578
6645
|
# Information about logs for the build project. A project can create
|
|
6579
|
-
# logs in
|
|
6646
|
+
# logs in CloudWatch Logs, logs in an S3 bucket, or both.
|
|
6580
6647
|
# @return [Types::LogsConfig]
|
|
6581
6648
|
#
|
|
6582
6649
|
# @!attribute [rw] file_system_locations
|
|
@@ -6650,6 +6717,7 @@ module Aws::CodeBuild
|
|
|
6650
6717
|
# export_config_type: "S3", # accepts S3, NO_EXPORT
|
|
6651
6718
|
# s3_destination: {
|
|
6652
6719
|
# bucket: "NonEmptyString",
|
|
6720
|
+
# bucket_owner: "String",
|
|
6653
6721
|
# path: "String",
|
|
6654
6722
|
# packaging: "ZIP", # accepts ZIP, NONE
|
|
6655
6723
|
# encryption_key: "NonEmptyString",
|
|
@@ -6680,8 +6748,8 @@ module Aws::CodeBuild
|
|
|
6680
6748
|
# An updated list of tag key and value pairs associated with this
|
|
6681
6749
|
# report group.
|
|
6682
6750
|
#
|
|
6683
|
-
# These tags are available for use by
|
|
6684
|
-
# CodeBuild report group tags.
|
|
6751
|
+
# These tags are available for use by Amazon Web Services services
|
|
6752
|
+
# that support CodeBuild report group tags.
|
|
6685
6753
|
# @return [Array<Types::Tag>]
|
|
6686
6754
|
#
|
|
6687
6755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroupInput AWS API Documentation
|
|
@@ -6726,7 +6794,7 @@ module Aws::CodeBuild
|
|
|
6726
6794
|
# }
|
|
6727
6795
|
#
|
|
6728
6796
|
# @!attribute [rw] project_name
|
|
6729
|
-
# The name of the
|
|
6797
|
+
# The name of the CodeBuild project.
|
|
6730
6798
|
# @return [String]
|
|
6731
6799
|
#
|
|
6732
6800
|
# @!attribute [rw] branch_filter
|
|
@@ -6771,7 +6839,7 @@ module Aws::CodeBuild
|
|
|
6771
6839
|
|
|
6772
6840
|
# @!attribute [rw] webhook
|
|
6773
6841
|
# Information about a repository's webhook that is associated with a
|
|
6774
|
-
# project in
|
|
6842
|
+
# project in CodeBuild.
|
|
6775
6843
|
# @return [Types::Webhook]
|
|
6776
6844
|
#
|
|
6777
6845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookOutput AWS API Documentation
|
|
@@ -6782,7 +6850,7 @@ module Aws::CodeBuild
|
|
|
6782
6850
|
include Aws::Structure
|
|
6783
6851
|
end
|
|
6784
6852
|
|
|
6785
|
-
# Information about the VPC configuration that
|
|
6853
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
6786
6854
|
#
|
|
6787
6855
|
# @note When making an API call, you may pass VpcConfig
|
|
6788
6856
|
# data as a hash:
|
|
@@ -6816,14 +6884,14 @@ module Aws::CodeBuild
|
|
|
6816
6884
|
end
|
|
6817
6885
|
|
|
6818
6886
|
# Information about a webhook that connects repository events to a build
|
|
6819
|
-
# project in
|
|
6887
|
+
# project in CodeBuild.
|
|
6820
6888
|
#
|
|
6821
6889
|
# @!attribute [rw] url
|
|
6822
6890
|
# The URL to the webhook.
|
|
6823
6891
|
# @return [String]
|
|
6824
6892
|
#
|
|
6825
6893
|
# @!attribute [rw] payload_url
|
|
6826
|
-
# The
|
|
6894
|
+
# The CodeBuild endpoint where webhook events are sent.
|
|
6827
6895
|
# @return [String]
|
|
6828
6896
|
#
|
|
6829
6897
|
# @!attribute [rw] secret
|