aws-sdk-codebuild 1.74.0 → 1.78.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +215 -367
- data/lib/aws-sdk-codebuild/client_api.rb +28 -0
- data/lib/aws-sdk-codebuild/types.rb +483 -326
- metadata +4 -4
|
@@ -30,6 +30,7 @@ module Aws::CodeBuild
|
|
|
30
30
|
BatchGetReportGroupsOutput = Shapes::StructureShape.new(name: 'BatchGetReportGroupsOutput')
|
|
31
31
|
BatchGetReportsInput = Shapes::StructureShape.new(name: 'BatchGetReportsInput')
|
|
32
32
|
BatchGetReportsOutput = Shapes::StructureShape.new(name: 'BatchGetReportsOutput')
|
|
33
|
+
BatchReportModeType = Shapes::StringShape.new(name: 'BatchReportModeType')
|
|
33
34
|
BatchRestrictions = Shapes::StructureShape.new(name: 'BatchRestrictions')
|
|
34
35
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
35
36
|
BucketOwnerAccess = Shapes::StringShape.new(name: 'BucketOwnerAccess')
|
|
@@ -176,6 +177,7 @@ module Aws::CodeBuild
|
|
|
176
177
|
ProjectSource = Shapes::StructureShape.new(name: 'ProjectSource')
|
|
177
178
|
ProjectSourceVersion = Shapes::StructureShape.new(name: 'ProjectSourceVersion')
|
|
178
179
|
ProjectSources = Shapes::ListShape.new(name: 'ProjectSources')
|
|
180
|
+
ProjectVisibilityType = Shapes::StringShape.new(name: 'ProjectVisibilityType')
|
|
179
181
|
Projects = Shapes::ListShape.new(name: 'Projects')
|
|
180
182
|
PutResourcePolicyInput = Shapes::StructureShape.new(name: 'PutResourcePolicyInput')
|
|
181
183
|
PutResourcePolicyOutput = Shapes::StructureShape.new(name: 'PutResourcePolicyOutput')
|
|
@@ -243,6 +245,8 @@ module Aws::CodeBuild
|
|
|
243
245
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
244
246
|
UpdateProjectInput = Shapes::StructureShape.new(name: 'UpdateProjectInput')
|
|
245
247
|
UpdateProjectOutput = Shapes::StructureShape.new(name: 'UpdateProjectOutput')
|
|
248
|
+
UpdateProjectVisibilityInput = Shapes::StructureShape.new(name: 'UpdateProjectVisibilityInput')
|
|
249
|
+
UpdateProjectVisibilityOutput = Shapes::StructureShape.new(name: 'UpdateProjectVisibilityOutput')
|
|
246
250
|
UpdateReportGroupInput = Shapes::StructureShape.new(name: 'UpdateReportGroupInput')
|
|
247
251
|
UpdateReportGroupOutput = Shapes::StructureShape.new(name: 'UpdateReportGroupOutput')
|
|
248
252
|
UpdateWebhookInput = Shapes::StructureShape.new(name: 'UpdateWebhookInput')
|
|
@@ -817,6 +821,9 @@ module Aws::CodeBuild
|
|
|
817
821
|
Project.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
|
818
822
|
Project.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
|
|
819
823
|
Project.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
|
|
824
|
+
Project.add_member(:project_visibility, Shapes::ShapeRef.new(shape: ProjectVisibilityType, location_name: "projectVisibility"))
|
|
825
|
+
Project.add_member(:public_project_alias, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "publicProjectAlias"))
|
|
826
|
+
Project.add_member(:resource_access_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceAccessRole"))
|
|
820
827
|
Project.struct_class = Types::Project
|
|
821
828
|
|
|
822
829
|
ProjectArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
@@ -843,6 +850,7 @@ module Aws::CodeBuild
|
|
|
843
850
|
ProjectBuildBatchConfig.add_member(:combine_artifacts, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "combineArtifacts"))
|
|
844
851
|
ProjectBuildBatchConfig.add_member(:restrictions, Shapes::ShapeRef.new(shape: BatchRestrictions, location_name: "restrictions"))
|
|
845
852
|
ProjectBuildBatchConfig.add_member(:timeout_in_mins, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "timeoutInMins"))
|
|
853
|
+
ProjectBuildBatchConfig.add_member(:batch_report_mode, Shapes::ShapeRef.new(shape: BatchReportModeType, location_name: "batchReportMode"))
|
|
846
854
|
ProjectBuildBatchConfig.struct_class = Types::ProjectBuildBatchConfig
|
|
847
855
|
|
|
848
856
|
ProjectCache.add_member(:type, Shapes::ShapeRef.new(shape: CacheType, required: true, location_name: "type"))
|
|
@@ -1151,6 +1159,16 @@ module Aws::CodeBuild
|
|
|
1151
1159
|
UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
|
1152
1160
|
UpdateProjectOutput.struct_class = Types::UpdateProjectOutput
|
|
1153
1161
|
|
|
1162
|
+
UpdateProjectVisibilityInput.add_member(:project_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectArn"))
|
|
1163
|
+
UpdateProjectVisibilityInput.add_member(:project_visibility, Shapes::ShapeRef.new(shape: ProjectVisibilityType, required: true, location_name: "projectVisibility"))
|
|
1164
|
+
UpdateProjectVisibilityInput.add_member(:resource_access_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceAccessRole"))
|
|
1165
|
+
UpdateProjectVisibilityInput.struct_class = Types::UpdateProjectVisibilityInput
|
|
1166
|
+
|
|
1167
|
+
UpdateProjectVisibilityOutput.add_member(:project_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "projectArn"))
|
|
1168
|
+
UpdateProjectVisibilityOutput.add_member(:public_project_alias, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "publicProjectAlias"))
|
|
1169
|
+
UpdateProjectVisibilityOutput.add_member(:project_visibility, Shapes::ShapeRef.new(shape: ProjectVisibilityType, location_name: "projectVisibility"))
|
|
1170
|
+
UpdateProjectVisibilityOutput.struct_class = Types::UpdateProjectVisibilityOutput
|
|
1171
|
+
|
|
1154
1172
|
UpdateReportGroupInput.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "arn"))
|
|
1155
1173
|
UpdateReportGroupInput.add_member(:export_config, Shapes::ShapeRef.new(shape: ReportExportConfig, location_name: "exportConfig"))
|
|
1156
1174
|
UpdateReportGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
@@ -1681,6 +1699,16 @@ module Aws::CodeBuild
|
|
|
1681
1699
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1682
1700
|
end)
|
|
1683
1701
|
|
|
1702
|
+
api.add_operation(:update_project_visibility, Seahorse::Model::Operation.new.tap do |o|
|
|
1703
|
+
o.name = "UpdateProjectVisibility"
|
|
1704
|
+
o.http_method = "POST"
|
|
1705
|
+
o.http_request_uri = "/"
|
|
1706
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateProjectVisibilityInput)
|
|
1707
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateProjectVisibilityOutput)
|
|
1708
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1709
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1710
|
+
end)
|
|
1711
|
+
|
|
1684
1712
|
api.add_operation(:update_report_group, Seahorse::Model::Operation.new.tap do |o|
|
|
1685
1713
|
o.name = "UpdateReportGroup"
|
|
1686
1714
|
o.http_method = "POST"
|
|
@@ -10,7 +10,8 @@
|
|
|
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,17 +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
343
|
# * For Amazon S3, this does not apply.
|
|
344
344
|
# @return [String]
|
|
345
345
|
#
|
|
346
346
|
# @!attribute [rw] project_name
|
|
347
|
-
# The name of the
|
|
347
|
+
# The name of the CodeBuild project.
|
|
348
348
|
# @return [String]
|
|
349
349
|
#
|
|
350
350
|
# @!attribute [rw] phases
|
|
@@ -364,7 +364,7 @@ module Aws::CodeBuild
|
|
|
364
364
|
# An array of `ProjectSourceVersion` objects. Each
|
|
365
365
|
# `ProjectSourceVersion` must be one of:
|
|
366
366
|
#
|
|
367
|
-
# * For
|
|
367
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
368
368
|
#
|
|
369
369
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
370
370
|
# name that corresponds to the version of the source code you want
|
|
@@ -404,12 +404,12 @@ module Aws::CodeBuild
|
|
|
404
404
|
# @return [String]
|
|
405
405
|
#
|
|
406
406
|
# @!attribute [rw] logs
|
|
407
|
-
# Information about the build's logs in
|
|
407
|
+
# Information about the build's logs in CloudWatch Logs.
|
|
408
408
|
# @return [Types::LogsLocation]
|
|
409
409
|
#
|
|
410
410
|
# @!attribute [rw] timeout_in_minutes
|
|
411
|
-
# How long, in minutes, for
|
|
412
|
-
#
|
|
411
|
+
# How long, in minutes, for CodeBuild to wait before timing out this
|
|
412
|
+
# build if it does not get marked as completed.
|
|
413
413
|
# @return [Integer]
|
|
414
414
|
#
|
|
415
415
|
# @!attribute [rw] queued_timeout_in_minutes
|
|
@@ -424,22 +424,22 @@ module Aws::CodeBuild
|
|
|
424
424
|
# @!attribute [rw] initiator
|
|
425
425
|
# The entity that started the build. Valid values include:
|
|
426
426
|
#
|
|
427
|
-
# * If
|
|
427
|
+
# * If CodePipeline started the build, the pipeline's name (for
|
|
428
428
|
# example, `codepipeline/my-demo-pipeline`).
|
|
429
429
|
#
|
|
430
|
-
# * If an
|
|
431
|
-
#
|
|
430
|
+
# * If an IAM user started the build, the user's name (for example,
|
|
431
|
+
# `MyUserName`).
|
|
432
432
|
#
|
|
433
|
-
# * If the Jenkins plugin for
|
|
434
|
-
#
|
|
433
|
+
# * If the Jenkins plugin for CodeBuild started the build, the string
|
|
434
|
+
# `CodeBuild-Jenkins-Plugin`.
|
|
435
435
|
# @return [String]
|
|
436
436
|
#
|
|
437
437
|
# @!attribute [rw] vpc_config
|
|
438
|
-
# If your
|
|
439
|
-
#
|
|
440
|
-
#
|
|
441
|
-
#
|
|
442
|
-
#
|
|
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.
|
|
443
443
|
# @return [Types::VpcConfig]
|
|
444
444
|
#
|
|
445
445
|
# @!attribute [rw] network_interface
|
|
@@ -447,8 +447,8 @@ module Aws::CodeBuild
|
|
|
447
447
|
# @return [Types::NetworkInterface]
|
|
448
448
|
#
|
|
449
449
|
# @!attribute [rw] encryption_key
|
|
450
|
-
# The
|
|
451
|
-
#
|
|
450
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
451
|
+
# encrypting the build output artifacts.
|
|
452
452
|
#
|
|
453
453
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
454
454
|
# artifacts if your service role has permission to that key.
|
|
@@ -463,11 +463,10 @@ module Aws::CodeBuild
|
|
|
463
463
|
# @!attribute [rw] exported_environment_variables
|
|
464
464
|
# A list of exported environment variables for this build.
|
|
465
465
|
#
|
|
466
|
-
# Exported environment variables are used in conjunction with
|
|
466
|
+
# Exported environment variables are used in conjunction with
|
|
467
467
|
# CodePipeline to export environment variables from the current build
|
|
468
468
|
# stage to subsequent stages in the pipeline. For more information,
|
|
469
|
-
# see [Working with variables][1] in the *
|
|
470
|
-
# Guide*.
|
|
469
|
+
# see [Working with variables][1] in the *CodePipeline User Guide*.
|
|
471
470
|
#
|
|
472
471
|
#
|
|
473
472
|
#
|
|
@@ -581,12 +580,19 @@ module Aws::CodeBuild
|
|
|
581
580
|
# @return [String]
|
|
582
581
|
#
|
|
583
582
|
# @!attribute [rw] bucket_owner_access
|
|
584
|
-
# Specifies the access for objects that
|
|
585
|
-
#
|
|
583
|
+
# Specifies the bucket owner's access for objects that another
|
|
584
|
+
# account uploads to their Amazon S3 bucket. By default, only the
|
|
585
|
+
# account that uploads the objects to the bucket has access to these
|
|
586
|
+
# objects. This property allows you to give the bucket owner access to
|
|
587
|
+
# these objects.
|
|
588
|
+
#
|
|
589
|
+
# <note markdown="1"> To use this property, your CodeBuild service role must have the
|
|
590
|
+
# `s3:PutBucketAcl` permission. This permission allows CodeBuild to
|
|
591
|
+
# modify the access control list for the bucket.
|
|
592
|
+
#
|
|
593
|
+
# </note>
|
|
586
594
|
#
|
|
587
|
-
#
|
|
588
|
-
# has access to these objects. This property allows you to give the
|
|
589
|
-
# bucket owner access to these objects.
|
|
595
|
+
# This property can be one of the following values:
|
|
590
596
|
#
|
|
591
597
|
# NONE
|
|
592
598
|
#
|
|
@@ -595,7 +601,7 @@ module Aws::CodeBuild
|
|
|
595
601
|
#
|
|
596
602
|
# READ\_ONLY
|
|
597
603
|
#
|
|
598
|
-
# : The bucket owner has read
|
|
604
|
+
# : The bucket owner has read-only access to the objects. The
|
|
599
605
|
# uploading account retains ownership of the objects.
|
|
600
606
|
#
|
|
601
607
|
# FULL
|
|
@@ -668,11 +674,10 @@ module Aws::CodeBuild
|
|
|
668
674
|
# The identifier of the resolved version of this batch build's source
|
|
669
675
|
# code.
|
|
670
676
|
#
|
|
671
|
-
# * For
|
|
677
|
+
# * For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
|
|
672
678
|
# commit ID.
|
|
673
679
|
#
|
|
674
|
-
# * For
|
|
675
|
-
# CodePipeline.
|
|
680
|
+
# * For CodePipeline, the source revision provided by CodePipeline.
|
|
676
681
|
#
|
|
677
682
|
# * For Amazon S3, this does not apply.
|
|
678
683
|
# @return [String]
|
|
@@ -699,7 +704,7 @@ module Aws::CodeBuild
|
|
|
699
704
|
# An array of `ProjectSourceVersion` objects. Each
|
|
700
705
|
# `ProjectSourceVersion` must be one of:
|
|
701
706
|
#
|
|
702
|
-
# * For
|
|
707
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
703
708
|
#
|
|
704
709
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
705
710
|
# name that corresponds to the version of the source code you want
|
|
@@ -742,7 +747,7 @@ module Aws::CodeBuild
|
|
|
742
747
|
#
|
|
743
748
|
# @!attribute [rw] log_config
|
|
744
749
|
# Information about logs for a build project. These can be logs in
|
|
745
|
-
#
|
|
750
|
+
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
|
746
751
|
# @return [Types::LogsConfig]
|
|
747
752
|
#
|
|
748
753
|
# @!attribute [rw] build_timeout_in_minutes
|
|
@@ -762,23 +767,22 @@ module Aws::CodeBuild
|
|
|
762
767
|
# @!attribute [rw] initiator
|
|
763
768
|
# The entity that started the batch build. Valid values include:
|
|
764
769
|
#
|
|
765
|
-
# * If
|
|
770
|
+
# * If CodePipeline started the build, the pipeline's name (for
|
|
766
771
|
# example, `codepipeline/my-demo-pipeline`).
|
|
767
772
|
#
|
|
768
|
-
# * If an
|
|
769
|
-
# build, the user's name.
|
|
773
|
+
# * If an IAM user started the build, the user's name.
|
|
770
774
|
#
|
|
771
|
-
# * If the Jenkins plugin for
|
|
772
|
-
#
|
|
775
|
+
# * If the Jenkins plugin for CodeBuild started the build, the string
|
|
776
|
+
# `CodeBuild-Jenkins-Plugin`.
|
|
773
777
|
# @return [String]
|
|
774
778
|
#
|
|
775
779
|
# @!attribute [rw] vpc_config
|
|
776
|
-
# Information about the VPC configuration that
|
|
780
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
777
781
|
# @return [Types::VpcConfig]
|
|
778
782
|
#
|
|
779
783
|
# @!attribute [rw] encryption_key
|
|
780
|
-
# The
|
|
781
|
-
#
|
|
784
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
785
|
+
# encrypting the batch build output artifacts.
|
|
782
786
|
#
|
|
783
787
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
784
788
|
# artifacts if your service role has permission to that key.
|
|
@@ -1142,7 +1146,7 @@ module Aws::CodeBuild
|
|
|
1142
1146
|
include Aws::Structure
|
|
1143
1147
|
end
|
|
1144
1148
|
|
|
1145
|
-
# Contains information that defines how the
|
|
1149
|
+
# Contains information that defines how the CodeBuild build project
|
|
1146
1150
|
# reports the build status to the source provider.
|
|
1147
1151
|
#
|
|
1148
1152
|
# @note When making an API call, you may pass BuildStatusConfig
|
|
@@ -1268,7 +1272,7 @@ module Aws::CodeBuild
|
|
|
1268
1272
|
include Aws::Structure
|
|
1269
1273
|
end
|
|
1270
1274
|
|
|
1271
|
-
# Information about
|
|
1275
|
+
# Information about CloudWatch Logs for a build project.
|
|
1272
1276
|
#
|
|
1273
1277
|
# @note When making an API call, you may pass CloudWatchLogsConfig
|
|
1274
1278
|
# data as a hash:
|
|
@@ -1280,19 +1284,18 @@ module Aws::CodeBuild
|
|
|
1280
1284
|
# }
|
|
1281
1285
|
#
|
|
1282
1286
|
# @!attribute [rw] status
|
|
1283
|
-
# The current status of the logs in
|
|
1287
|
+
# The current status of the logs in CloudWatch Logs for a build
|
|
1284
1288
|
# project. Valid values are:
|
|
1285
1289
|
#
|
|
1286
|
-
# * `ENABLED`\:
|
|
1287
|
-
# project.
|
|
1290
|
+
# * `ENABLED`\: CloudWatch Logs are enabled for this build project.
|
|
1288
1291
|
#
|
|
1289
|
-
# * `DISABLED`\:
|
|
1292
|
+
# * `DISABLED`\: CloudWatch Logs are not enabled for this build
|
|
1290
1293
|
# project.
|
|
1291
1294
|
# @return [String]
|
|
1292
1295
|
#
|
|
1293
1296
|
# @!attribute [rw] group_name
|
|
1294
|
-
# The group name of the logs in
|
|
1295
|
-
#
|
|
1297
|
+
# The group name of the logs in CloudWatch Logs. For more information,
|
|
1298
|
+
# see [Working with Log Groups and Log Streams][1].
|
|
1296
1299
|
#
|
|
1297
1300
|
#
|
|
1298
1301
|
#
|
|
@@ -1300,8 +1303,8 @@ module Aws::CodeBuild
|
|
|
1300
1303
|
# @return [String]
|
|
1301
1304
|
#
|
|
1302
1305
|
# @!attribute [rw] stream_name
|
|
1303
|
-
# The prefix of the stream name of the
|
|
1304
|
-
#
|
|
1306
|
+
# The prefix of the stream name of the CloudWatch Logs. For more
|
|
1307
|
+
# information, see [Working with Log Groups and Log Streams][1].
|
|
1305
1308
|
#
|
|
1306
1309
|
#
|
|
1307
1310
|
#
|
|
@@ -1583,6 +1586,7 @@ module Aws::CodeBuild
|
|
|
1583
1586
|
# compute_types_allowed: ["NonEmptyString"],
|
|
1584
1587
|
# },
|
|
1585
1588
|
# timeout_in_mins: 1,
|
|
1589
|
+
# batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
|
|
1586
1590
|
# },
|
|
1587
1591
|
# concurrent_build_limit: 1,
|
|
1588
1592
|
# }
|
|
@@ -1608,7 +1612,7 @@ module Aws::CodeBuild
|
|
|
1608
1612
|
# specified, the latest version is used. If specified, it must be one
|
|
1609
1613
|
# of:
|
|
1610
1614
|
#
|
|
1611
|
-
# * For
|
|
1615
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
1612
1616
|
#
|
|
1613
1617
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
1614
1618
|
# name that corresponds to the version of the source code you want
|
|
@@ -1631,7 +1635,7 @@ module Aws::CodeBuild
|
|
|
1631
1635
|
# level).
|
|
1632
1636
|
#
|
|
1633
1637
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
1634
|
-
# in the *
|
|
1638
|
+
# in the *CodeBuild User Guide*.
|
|
1635
1639
|
#
|
|
1636
1640
|
#
|
|
1637
1641
|
#
|
|
@@ -1663,15 +1667,15 @@ module Aws::CodeBuild
|
|
|
1663
1667
|
# @return [Types::ProjectEnvironment]
|
|
1664
1668
|
#
|
|
1665
1669
|
# @!attribute [rw] service_role
|
|
1666
|
-
# The ARN of the
|
|
1667
|
-
#
|
|
1668
|
-
#
|
|
1670
|
+
# The ARN of the IAM role that enables CodeBuild to interact with
|
|
1671
|
+
# dependent Amazon Web Services services on behalf of the Amazon Web
|
|
1672
|
+
# Services account.
|
|
1669
1673
|
# @return [String]
|
|
1670
1674
|
#
|
|
1671
1675
|
# @!attribute [rw] timeout_in_minutes
|
|
1672
|
-
# How long, in minutes, from 5 to 480 (8 hours), for
|
|
1673
|
-
#
|
|
1674
|
-
#
|
|
1676
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
|
1677
|
+
# before it times out any build that has not been marked as completed.
|
|
1678
|
+
# The default is 60 minutes.
|
|
1675
1679
|
# @return [Integer]
|
|
1676
1680
|
#
|
|
1677
1681
|
# @!attribute [rw] queued_timeout_in_minutes
|
|
@@ -1680,8 +1684,8 @@ module Aws::CodeBuild
|
|
|
1680
1684
|
# @return [Integer]
|
|
1681
1685
|
#
|
|
1682
1686
|
# @!attribute [rw] encryption_key
|
|
1683
|
-
# The
|
|
1684
|
-
#
|
|
1687
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
1688
|
+
# encrypting the build output artifacts.
|
|
1685
1689
|
#
|
|
1686
1690
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
1687
1691
|
# artifacts if your service role has permission to that key.
|
|
@@ -1697,13 +1701,12 @@ module Aws::CodeBuild
|
|
|
1697
1701
|
# A list of tag key and value pairs associated with this build
|
|
1698
1702
|
# project.
|
|
1699
1703
|
#
|
|
1700
|
-
# These tags are available for use by
|
|
1701
|
-
# CodeBuild build project tags.
|
|
1704
|
+
# These tags are available for use by Amazon Web Services services
|
|
1705
|
+
# that support CodeBuild build project tags.
|
|
1702
1706
|
# @return [Array<Types::Tag>]
|
|
1703
1707
|
#
|
|
1704
1708
|
# @!attribute [rw] vpc_config
|
|
1705
|
-
# VpcConfig enables
|
|
1706
|
-
# VPC.
|
|
1709
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
|
1707
1710
|
# @return [Types::VpcConfig]
|
|
1708
1711
|
#
|
|
1709
1712
|
# @!attribute [rw] badge_enabled
|
|
@@ -1713,8 +1716,7 @@ module Aws::CodeBuild
|
|
|
1713
1716
|
#
|
|
1714
1717
|
# @!attribute [rw] logs_config
|
|
1715
1718
|
# Information about logs for the build project. These can be logs in
|
|
1716
|
-
#
|
|
1717
|
-
# both.
|
|
1719
|
+
# CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
|
|
1718
1720
|
# @return [Types::LogsConfig]
|
|
1719
1721
|
#
|
|
1720
1722
|
# @!attribute [rw] file_system_locations
|
|
@@ -1819,8 +1821,8 @@ module Aws::CodeBuild
|
|
|
1819
1821
|
# @!attribute [rw] tags
|
|
1820
1822
|
# A list of tag key and value pairs associated with this report group.
|
|
1821
1823
|
#
|
|
1822
|
-
# These tags are available for use by
|
|
1823
|
-
# CodeBuild report group tags.
|
|
1824
|
+
# These tags are available for use by Amazon Web Services services
|
|
1825
|
+
# that support CodeBuild report group tags.
|
|
1824
1826
|
# @return [Array<Types::Tag>]
|
|
1825
1827
|
#
|
|
1826
1828
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroupInput AWS API Documentation
|
|
@@ -1865,7 +1867,7 @@ module Aws::CodeBuild
|
|
|
1865
1867
|
# }
|
|
1866
1868
|
#
|
|
1867
1869
|
# @!attribute [rw] project_name
|
|
1868
|
-
# The name of the
|
|
1870
|
+
# The name of the CodeBuild project.
|
|
1869
1871
|
# @return [String]
|
|
1870
1872
|
#
|
|
1871
1873
|
# @!attribute [rw] branch_filter
|
|
@@ -1907,7 +1909,7 @@ module Aws::CodeBuild
|
|
|
1907
1909
|
|
|
1908
1910
|
# @!attribute [rw] webhook
|
|
1909
1911
|
# Information about a webhook that connects repository events to a
|
|
1910
|
-
# build project in
|
|
1912
|
+
# build project in CodeBuild.
|
|
1911
1913
|
# @return [Types::Webhook]
|
|
1912
1914
|
#
|
|
1913
1915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput AWS API Documentation
|
|
@@ -2136,7 +2138,7 @@ module Aws::CodeBuild
|
|
|
2136
2138
|
# }
|
|
2137
2139
|
#
|
|
2138
2140
|
# @!attribute [rw] project_name
|
|
2139
|
-
# The name of the
|
|
2141
|
+
# The name of the CodeBuild project.
|
|
2140
2142
|
# @return [String]
|
|
2141
2143
|
#
|
|
2142
2144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput AWS API Documentation
|
|
@@ -2308,7 +2310,7 @@ module Aws::CodeBuild
|
|
|
2308
2310
|
include Aws::Structure
|
|
2309
2311
|
end
|
|
2310
2312
|
|
|
2311
|
-
# Information about a Docker image that is managed by
|
|
2313
|
+
# Information about a Docker image that is managed by CodeBuild.
|
|
2312
2314
|
#
|
|
2313
2315
|
# @!attribute [rw] name
|
|
2314
2316
|
# The name of the Docker image.
|
|
@@ -2333,7 +2335,7 @@ module Aws::CodeBuild
|
|
|
2333
2335
|
end
|
|
2334
2336
|
|
|
2335
2337
|
# A set of Docker images that are related by programming language and
|
|
2336
|
-
# are managed by
|
|
2338
|
+
# are managed by CodeBuild.
|
|
2337
2339
|
#
|
|
2338
2340
|
# @!attribute [rw] language
|
|
2339
2341
|
# The programming language for the Docker images.
|
|
@@ -2354,7 +2356,7 @@ module Aws::CodeBuild
|
|
|
2354
2356
|
end
|
|
2355
2357
|
|
|
2356
2358
|
# A set of Docker images that are related by platform and are managed by
|
|
2357
|
-
#
|
|
2359
|
+
# CodeBuild.
|
|
2358
2360
|
#
|
|
2359
2361
|
# @!attribute [rw] platform
|
|
2360
2362
|
# The platform's name.
|
|
@@ -2394,27 +2396,27 @@ module Aws::CodeBuild
|
|
|
2394
2396
|
# The value of the environment variable.
|
|
2395
2397
|
#
|
|
2396
2398
|
# We strongly discourage the use of `PLAINTEXT` environment variables
|
|
2397
|
-
# to store sensitive values, especially
|
|
2398
|
-
# access keys. `PLAINTEXT` environment variables can be
|
|
2399
|
-
# plain text using the
|
|
2400
|
-
#
|
|
2401
|
-
#
|
|
2399
|
+
# to store sensitive values, especially Amazon Web Services secret key
|
|
2400
|
+
# IDs and secret access keys. `PLAINTEXT` environment variables can be
|
|
2401
|
+
# displayed in plain text using the CodeBuild console and the CLI. For
|
|
2402
|
+
# sensitive values, we recommend you use an environment variable of
|
|
2403
|
+
# type `PARAMETER_STORE` or `SECRETS_MANAGER`.
|
|
2402
2404
|
# @return [String]
|
|
2403
2405
|
#
|
|
2404
2406
|
# @!attribute [rw] type
|
|
2405
2407
|
# The type of environment variable. Valid values include:
|
|
2406
2408
|
#
|
|
2407
|
-
# * `PARAMETER_STORE`\: An environment variable stored in
|
|
2408
|
-
#
|
|
2409
|
-
#
|
|
2410
|
-
#
|
|
2409
|
+
# * `PARAMETER_STORE`\: An environment variable stored in Systems
|
|
2410
|
+
# Manager Parameter Store. To learn how to specify a parameter store
|
|
2411
|
+
# environment variable, see [env/parameter-store][1] in the
|
|
2412
|
+
# *CodeBuild User Guide*.
|
|
2411
2413
|
#
|
|
2412
2414
|
# * `PLAINTEXT`\: An environment variable in plain text format. This
|
|
2413
2415
|
# is the default value.
|
|
2414
2416
|
#
|
|
2415
|
-
# * `SECRETS_MANAGER`\: An environment variable stored in
|
|
2417
|
+
# * `SECRETS_MANAGER`\: An environment variable stored in Secrets
|
|
2416
2418
|
# Manager. To learn how to specify a secrets manager environment
|
|
2417
|
-
# variable, see [env/secrets-manager][2] in the *
|
|
2419
|
+
# variable, see [env/secrets-manager][2] in the *CodeBuild User
|
|
2418
2420
|
# Guide*.
|
|
2419
2421
|
#
|
|
2420
2422
|
#
|
|
@@ -2435,10 +2437,10 @@ module Aws::CodeBuild
|
|
|
2435
2437
|
|
|
2436
2438
|
# Contains information about an exported environment variable.
|
|
2437
2439
|
#
|
|
2438
|
-
# Exported environment variables are used in conjunction with
|
|
2440
|
+
# Exported environment variables are used in conjunction with
|
|
2439
2441
|
# CodePipeline to export environment variables from the current build
|
|
2440
2442
|
# stage to subsequent stages in the pipeline. For more information, see
|
|
2441
|
-
# [Working with variables][1] in the *
|
|
2443
|
+
# [Working with variables][1] in the *CodePipeline User Guide*.
|
|
2442
2444
|
#
|
|
2443
2445
|
# <note markdown="1"> During a build, the value of a variable is available starting with the
|
|
2444
2446
|
# `install` phase. It can be updated between the start of the `install`
|
|
@@ -2600,8 +2602,8 @@ module Aws::CodeBuild
|
|
|
2600
2602
|
include Aws::Structure
|
|
2601
2603
|
end
|
|
2602
2604
|
|
|
2603
|
-
# Information about the Git submodules configuration for an
|
|
2604
|
-
#
|
|
2605
|
+
# Information about the Git submodules configuration for an CodeBuild
|
|
2606
|
+
# build project.
|
|
2605
2607
|
#
|
|
2606
2608
|
# @note When making an API call, you may pass GitSubmodulesConfig
|
|
2607
2609
|
# data as a hash:
|
|
@@ -2611,7 +2613,7 @@ module Aws::CodeBuild
|
|
|
2611
2613
|
# }
|
|
2612
2614
|
#
|
|
2613
2615
|
# @!attribute [rw] fetch_submodules
|
|
2614
|
-
# Set to true to fetch Git submodules for your
|
|
2616
|
+
# Set to true to fetch Git submodules for your CodeBuild build
|
|
2615
2617
|
# project.
|
|
2616
2618
|
# @return [Boolean]
|
|
2617
2619
|
#
|
|
@@ -2652,7 +2654,7 @@ module Aws::CodeBuild
|
|
|
2652
2654
|
# @!attribute [rw] auth_type
|
|
2653
2655
|
# The type of authentication used to connect to a GitHub, GitHub
|
|
2654
2656
|
# Enterprise, or Bitbucket repository. An OAUTH connection is not
|
|
2655
|
-
# supported by the API and must be created using the
|
|
2657
|
+
# supported by the API and must be created using the CodeBuild
|
|
2656
2658
|
# console.
|
|
2657
2659
|
# @return [String]
|
|
2658
2660
|
#
|
|
@@ -2700,8 +2702,7 @@ module Aws::CodeBuild
|
|
|
2700
2702
|
# }
|
|
2701
2703
|
#
|
|
2702
2704
|
# @!attribute [rw] project_name
|
|
2703
|
-
# The name of the
|
|
2704
|
-
# for.
|
|
2705
|
+
# The name of the CodeBuild build project that the cache is reset for.
|
|
2705
2706
|
# @return [String]
|
|
2706
2707
|
#
|
|
2707
2708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput AWS API Documentation
|
|
@@ -2868,7 +2869,7 @@ module Aws::CodeBuild
|
|
|
2868
2869
|
# }
|
|
2869
2870
|
#
|
|
2870
2871
|
# @!attribute [rw] project_name
|
|
2871
|
-
# The name of the
|
|
2872
|
+
# The name of the CodeBuild project.
|
|
2872
2873
|
# @return [String]
|
|
2873
2874
|
#
|
|
2874
2875
|
# @!attribute [rw] sort_order
|
|
@@ -2989,7 +2990,7 @@ module Aws::CodeBuild
|
|
|
2989
2990
|
|
|
2990
2991
|
# @!attribute [rw] platforms
|
|
2991
2992
|
# Information about supported platforms for Docker images that are
|
|
2992
|
-
# managed by
|
|
2993
|
+
# managed by CodeBuild.
|
|
2993
2994
|
# @return [Array<Types::EnvironmentPlatform>]
|
|
2994
2995
|
#
|
|
2995
2996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesOutput AWS API Documentation
|
|
@@ -3142,7 +3143,8 @@ module Aws::CodeBuild
|
|
|
3142
3143
|
# @return [String]
|
|
3143
3144
|
#
|
|
3144
3145
|
# @!attribute [rw] report_groups
|
|
3145
|
-
# The list of ARNs for the report groups in the current
|
|
3146
|
+
# The list of ARNs for the report groups in the current Amazon Web
|
|
3147
|
+
# Services account.
|
|
3146
3148
|
# @return [Array<String>]
|
|
3147
3149
|
#
|
|
3148
3150
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportGroupsOutput AWS API Documentation
|
|
@@ -3297,8 +3299,8 @@ module Aws::CodeBuild
|
|
|
3297
3299
|
# @return [String]
|
|
3298
3300
|
#
|
|
3299
3301
|
# @!attribute [rw] reports
|
|
3300
|
-
# The list of returned ARNs for the reports in the current
|
|
3301
|
-
# account.
|
|
3302
|
+
# The list of returned ARNs for the reports in the current Amazon Web
|
|
3303
|
+
# Services account.
|
|
3302
3304
|
# @return [Array<String>]
|
|
3303
3305
|
#
|
|
3304
3306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsOutput AWS API Documentation
|
|
@@ -3322,7 +3324,7 @@ module Aws::CodeBuild
|
|
|
3322
3324
|
#
|
|
3323
3325
|
# @!attribute [rw] sort_by
|
|
3324
3326
|
# The criterion to be used to list build projects shared with the
|
|
3325
|
-
# current
|
|
3327
|
+
# current Amazon Web Services account or user. Valid values include:
|
|
3326
3328
|
#
|
|
3327
3329
|
# * `ARN`\: List based on the ARN.
|
|
3328
3330
|
#
|
|
@@ -3377,8 +3379,8 @@ module Aws::CodeBuild
|
|
|
3377
3379
|
# @return [String]
|
|
3378
3380
|
#
|
|
3379
3381
|
# @!attribute [rw] projects
|
|
3380
|
-
# The list of ARNs for the build projects shared with the current
|
|
3381
|
-
# account or user.
|
|
3382
|
+
# The list of ARNs for the build projects shared with the current
|
|
3383
|
+
# Amazon Web Services account or user.
|
|
3382
3384
|
# @return [Array<String>]
|
|
3383
3385
|
#
|
|
3384
3386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedProjectsOutput AWS API Documentation
|
|
@@ -3411,7 +3413,7 @@ module Aws::CodeBuild
|
|
|
3411
3413
|
#
|
|
3412
3414
|
# @!attribute [rw] sort_by
|
|
3413
3415
|
# The criterion to be used to list report groups shared with the
|
|
3414
|
-
# current
|
|
3416
|
+
# current Amazon Web Services account or user. Valid values include:
|
|
3415
3417
|
#
|
|
3416
3418
|
# * `ARN`\: List based on the ARN.
|
|
3417
3419
|
#
|
|
@@ -3457,8 +3459,8 @@ module Aws::CodeBuild
|
|
|
3457
3459
|
# @return [String]
|
|
3458
3460
|
#
|
|
3459
3461
|
# @!attribute [rw] report_groups
|
|
3460
|
-
# The list of ARNs for the report groups shared with the current
|
|
3461
|
-
# account or user.
|
|
3462
|
+
# The list of ARNs for the report groups shared with the current
|
|
3463
|
+
# Amazon Web Services account or user.
|
|
3462
3464
|
# @return [Array<String>]
|
|
3463
3465
|
#
|
|
3464
3466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedReportGroupsOutput AWS API Documentation
|
|
@@ -3491,7 +3493,7 @@ module Aws::CodeBuild
|
|
|
3491
3493
|
end
|
|
3492
3494
|
|
|
3493
3495
|
# Information about logs for a build project. These can be logs in
|
|
3494
|
-
#
|
|
3496
|
+
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
|
3495
3497
|
#
|
|
3496
3498
|
# @note When making an API call, you may pass LogsConfig
|
|
3497
3499
|
# data as a hash:
|
|
@@ -3511,8 +3513,8 @@ module Aws::CodeBuild
|
|
|
3511
3513
|
# }
|
|
3512
3514
|
#
|
|
3513
3515
|
# @!attribute [rw] cloud_watch_logs
|
|
3514
|
-
# Information about
|
|
3515
|
-
#
|
|
3516
|
+
# Information about CloudWatch Logs for a build project. CloudWatch
|
|
3517
|
+
# Logs are enabled by default.
|
|
3516
3518
|
# @return [Types::CloudWatchLogsConfig]
|
|
3517
3519
|
#
|
|
3518
3520
|
# @!attribute [rw] s3_logs
|
|
@@ -3529,18 +3531,18 @@ module Aws::CodeBuild
|
|
|
3529
3531
|
include Aws::Structure
|
|
3530
3532
|
end
|
|
3531
3533
|
|
|
3532
|
-
# Information about build logs in
|
|
3534
|
+
# Information about build logs in CloudWatch Logs.
|
|
3533
3535
|
#
|
|
3534
3536
|
# @!attribute [rw] group_name
|
|
3535
|
-
# The name of the
|
|
3537
|
+
# The name of the CloudWatch Logs group for the build logs.
|
|
3536
3538
|
# @return [String]
|
|
3537
3539
|
#
|
|
3538
3540
|
# @!attribute [rw] stream_name
|
|
3539
|
-
# The name of the
|
|
3541
|
+
# The name of the CloudWatch Logs stream for the build logs.
|
|
3540
3542
|
# @return [String]
|
|
3541
3543
|
#
|
|
3542
3544
|
# @!attribute [rw] deep_link
|
|
3543
|
-
# The URL to an individual build log in
|
|
3545
|
+
# The URL to an individual build log in CloudWatch Logs.
|
|
3544
3546
|
# @return [String]
|
|
3545
3547
|
#
|
|
3546
3548
|
# @!attribute [rw] s3_deep_link
|
|
@@ -3548,10 +3550,9 @@ module Aws::CodeBuild
|
|
|
3548
3550
|
# @return [String]
|
|
3549
3551
|
#
|
|
3550
3552
|
# @!attribute [rw] cloud_watch_logs_arn
|
|
3551
|
-
# The ARN of
|
|
3553
|
+
# The ARN of CloudWatch Logs for a build project. Its format is
|
|
3552
3554
|
# `arn:$\{Partition\}:logs:$\{Region\}:$\{Account\}:log-group:$\{LogGroupName\}:log-stream:$\{LogStreamName\}`.
|
|
3553
|
-
# For more information, see [Resources Defined by
|
|
3554
|
-
# Logs][1].
|
|
3555
|
+
# For more information, see [Resources Defined by CloudWatch Logs][1].
|
|
3555
3556
|
#
|
|
3556
3557
|
#
|
|
3557
3558
|
#
|
|
@@ -3569,7 +3570,7 @@ module Aws::CodeBuild
|
|
|
3569
3570
|
# @return [String]
|
|
3570
3571
|
#
|
|
3571
3572
|
# @!attribute [rw] cloud_watch_logs
|
|
3572
|
-
# Information about
|
|
3573
|
+
# Information about CloudWatch Logs for a build project.
|
|
3573
3574
|
# @return [Types::CloudWatchLogsConfig]
|
|
3574
3575
|
#
|
|
3575
3576
|
# @!attribute [rw] s3_logs
|
|
@@ -3665,7 +3666,7 @@ module Aws::CodeBuild
|
|
|
3665
3666
|
# specified, the latest version is used. If specified, it must be one
|
|
3666
3667
|
# of:
|
|
3667
3668
|
#
|
|
3668
|
-
# * For
|
|
3669
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
3669
3670
|
#
|
|
3670
3671
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
3671
3672
|
# name that corresponds to the version of the source code you want
|
|
@@ -3688,7 +3689,7 @@ module Aws::CodeBuild
|
|
|
3688
3689
|
# level).
|
|
3689
3690
|
#
|
|
3690
3691
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
3691
|
-
# in the *
|
|
3692
|
+
# in the *CodeBuild User Guide*.
|
|
3692
3693
|
#
|
|
3693
3694
|
#
|
|
3694
3695
|
#
|
|
@@ -3718,14 +3719,14 @@ module Aws::CodeBuild
|
|
|
3718
3719
|
# @return [Types::ProjectEnvironment]
|
|
3719
3720
|
#
|
|
3720
3721
|
# @!attribute [rw] service_role
|
|
3721
|
-
# The ARN of the
|
|
3722
|
-
#
|
|
3723
|
-
#
|
|
3722
|
+
# The ARN of the IAM role that enables CodeBuild to interact with
|
|
3723
|
+
# dependent Amazon Web Services services on behalf of the Amazon Web
|
|
3724
|
+
# Services account.
|
|
3724
3725
|
# @return [String]
|
|
3725
3726
|
#
|
|
3726
3727
|
# @!attribute [rw] timeout_in_minutes
|
|
3727
|
-
# How long, in minutes, from 5 to 480 (8 hours), for
|
|
3728
|
-
#
|
|
3728
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
|
3729
|
+
# before timing out any related build that did not get marked as
|
|
3729
3730
|
# completed. The default is 60 minutes.
|
|
3730
3731
|
# @return [Integer]
|
|
3731
3732
|
#
|
|
@@ -3735,8 +3736,8 @@ module Aws::CodeBuild
|
|
|
3735
3736
|
# @return [Integer]
|
|
3736
3737
|
#
|
|
3737
3738
|
# @!attribute [rw] encryption_key
|
|
3738
|
-
# The
|
|
3739
|
-
#
|
|
3739
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
3740
|
+
# encrypting the build output artifacts.
|
|
3740
3741
|
#
|
|
3741
3742
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
3742
3743
|
# artifacts if your service role has permission to that key.
|
|
@@ -3745,15 +3746,16 @@ module Aws::CodeBuild
|
|
|
3745
3746
|
#
|
|
3746
3747
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
|
3747
3748
|
# if available, the CMK's alias (using the format
|
|
3748
|
-
# `alias/<alias-name>`).
|
|
3749
|
+
# `alias/<alias-name>`). If you don't specify a value, CodeBuild uses
|
|
3750
|
+
# the managed CMK for Amazon Simple Storage Service (Amazon S3).
|
|
3749
3751
|
# @return [String]
|
|
3750
3752
|
#
|
|
3751
3753
|
# @!attribute [rw] tags
|
|
3752
3754
|
# A list of tag key and value pairs associated with this build
|
|
3753
3755
|
# project.
|
|
3754
3756
|
#
|
|
3755
|
-
# These tags are available for use by
|
|
3756
|
-
# CodeBuild build project tags.
|
|
3757
|
+
# These tags are available for use by Amazon Web Services services
|
|
3758
|
+
# that support CodeBuild build project tags.
|
|
3757
3759
|
# @return [Array<Types::Tag>]
|
|
3758
3760
|
#
|
|
3759
3761
|
# @!attribute [rw] created
|
|
@@ -3767,11 +3769,11 @@ module Aws::CodeBuild
|
|
|
3767
3769
|
#
|
|
3768
3770
|
# @!attribute [rw] webhook
|
|
3769
3771
|
# Information about a webhook that connects repository events to a
|
|
3770
|
-
# build project in
|
|
3772
|
+
# build project in CodeBuild.
|
|
3771
3773
|
# @return [Types::Webhook]
|
|
3772
3774
|
#
|
|
3773
3775
|
# @!attribute [rw] vpc_config
|
|
3774
|
-
# Information about the VPC configuration that
|
|
3776
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
3775
3777
|
# @return [Types::VpcConfig]
|
|
3776
3778
|
#
|
|
3777
3779
|
# @!attribute [rw] badge
|
|
@@ -3780,7 +3782,7 @@ module Aws::CodeBuild
|
|
|
3780
3782
|
#
|
|
3781
3783
|
# @!attribute [rw] logs_config
|
|
3782
3784
|
# Information about logs for the build project. A project can create
|
|
3783
|
-
# logs in
|
|
3785
|
+
# logs in CloudWatch Logs, an S3 bucket, or both.
|
|
3784
3786
|
# @return [Types::LogsConfig]
|
|
3785
3787
|
#
|
|
3786
3788
|
# @!attribute [rw] file_system_locations
|
|
@@ -3804,6 +3806,28 @@ module Aws::CodeBuild
|
|
|
3804
3806
|
# limit, new builds are throttled and are not run.
|
|
3805
3807
|
# @return [Integer]
|
|
3806
3808
|
#
|
|
3809
|
+
# @!attribute [rw] project_visibility
|
|
3810
|
+
# Specifies the visibility of the project's builds. Possible values
|
|
3811
|
+
# are:
|
|
3812
|
+
#
|
|
3813
|
+
# PUBLIC\_READ
|
|
3814
|
+
#
|
|
3815
|
+
# : The project builds are visible to the public.
|
|
3816
|
+
#
|
|
3817
|
+
# PRIVATE
|
|
3818
|
+
#
|
|
3819
|
+
# : The project builds are not visible to the public.
|
|
3820
|
+
# @return [String]
|
|
3821
|
+
#
|
|
3822
|
+
# @!attribute [rw] public_project_alias
|
|
3823
|
+
# Contains the project identifier used with the public build APIs.
|
|
3824
|
+
# @return [String]
|
|
3825
|
+
#
|
|
3826
|
+
# @!attribute [rw] resource_access_role
|
|
3827
|
+
# The ARN of the IAM role that enables CodeBuild to access the
|
|
3828
|
+
# CloudWatch Logs and Amazon S3 artifacts for the project's builds.
|
|
3829
|
+
# @return [String]
|
|
3830
|
+
#
|
|
3807
3831
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
|
|
3808
3832
|
#
|
|
3809
3833
|
class Project < Struct.new(
|
|
@@ -3831,7 +3855,10 @@ module Aws::CodeBuild
|
|
|
3831
3855
|
:logs_config,
|
|
3832
3856
|
:file_system_locations,
|
|
3833
3857
|
:build_batch_config,
|
|
3834
|
-
:concurrent_build_limit
|
|
3858
|
+
:concurrent_build_limit,
|
|
3859
|
+
:project_visibility,
|
|
3860
|
+
:public_project_alias,
|
|
3861
|
+
:resource_access_role)
|
|
3835
3862
|
SENSITIVE = []
|
|
3836
3863
|
include Aws::Structure
|
|
3837
3864
|
end
|
|
@@ -3858,7 +3885,7 @@ module Aws::CodeBuild
|
|
|
3858
3885
|
# The type of build output artifact. Valid values include:
|
|
3859
3886
|
#
|
|
3860
3887
|
# * `CODEPIPELINE`\: The build project has build output generated
|
|
3861
|
-
# through
|
|
3888
|
+
# through CodePipeline.
|
|
3862
3889
|
#
|
|
3863
3890
|
# <note markdown="1"> The `CODEPIPELINE` type is not supported for `secondaryArtifacts`.
|
|
3864
3891
|
#
|
|
@@ -3873,9 +3900,9 @@ module Aws::CodeBuild
|
|
|
3873
3900
|
# @!attribute [rw] location
|
|
3874
3901
|
# Information about the build output artifact location:
|
|
3875
3902
|
#
|
|
3876
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3877
|
-
# value if specified. This is because
|
|
3878
|
-
#
|
|
3903
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3904
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3905
|
+
# output locations instead of CodeBuild.
|
|
3879
3906
|
#
|
|
3880
3907
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3881
3908
|
# specified, because no build output is produced.
|
|
@@ -3884,12 +3911,12 @@ module Aws::CodeBuild
|
|
|
3884
3911
|
# @return [String]
|
|
3885
3912
|
#
|
|
3886
3913
|
# @!attribute [rw] path
|
|
3887
|
-
# Along with `namespaceType` and `name`, the pattern that
|
|
3888
|
-
#
|
|
3914
|
+
# Along with `namespaceType` and `name`, the pattern that CodeBuild
|
|
3915
|
+
# uses to name and store the output artifact:
|
|
3889
3916
|
#
|
|
3890
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3891
|
-
# value if specified. This is because
|
|
3892
|
-
#
|
|
3917
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3918
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3919
|
+
# output names instead of CodeBuild.
|
|
3893
3920
|
#
|
|
3894
3921
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3895
3922
|
# specified, because no build output is produced.
|
|
@@ -3904,12 +3931,12 @@ module Aws::CodeBuild
|
|
|
3904
3931
|
# @return [String]
|
|
3905
3932
|
#
|
|
3906
3933
|
# @!attribute [rw] namespace_type
|
|
3907
|
-
# Along with `path` and `name`, the pattern that
|
|
3934
|
+
# Along with `path` and `name`, the pattern that CodeBuild uses to
|
|
3908
3935
|
# determine the name and location to store the output artifact:
|
|
3909
3936
|
#
|
|
3910
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3911
|
-
# value if specified. This is because
|
|
3912
|
-
#
|
|
3937
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3938
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3939
|
+
# output names instead of CodeBuild.
|
|
3913
3940
|
#
|
|
3914
3941
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3915
3942
|
# specified, because no build output is produced.
|
|
@@ -3928,12 +3955,12 @@ module Aws::CodeBuild
|
|
|
3928
3955
|
# @return [String]
|
|
3929
3956
|
#
|
|
3930
3957
|
# @!attribute [rw] name
|
|
3931
|
-
# Along with `path` and `namespaceType`, the pattern that
|
|
3932
|
-
#
|
|
3958
|
+
# Along with `path` and `namespaceType`, the pattern that CodeBuild
|
|
3959
|
+
# uses to name and store the output artifact:
|
|
3933
3960
|
#
|
|
3934
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3935
|
-
# value if specified. This is because
|
|
3936
|
-
#
|
|
3961
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3962
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3963
|
+
# output names instead of CodeBuild.
|
|
3937
3964
|
#
|
|
3938
3965
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3939
3966
|
# specified, because no build output is produced.
|
|
@@ -3960,21 +3987,21 @@ module Aws::CodeBuild
|
|
|
3960
3987
|
# @!attribute [rw] packaging
|
|
3961
3988
|
# The type of build output artifact to create:
|
|
3962
3989
|
#
|
|
3963
|
-
# * If `type` is set to `CODEPIPELINE`,
|
|
3964
|
-
# value if specified. This is because
|
|
3965
|
-
#
|
|
3990
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
|
3991
|
+
# value if specified. This is because CodePipeline manages its build
|
|
3992
|
+
# output artifacts instead of CodeBuild.
|
|
3966
3993
|
#
|
|
3967
3994
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
|
3968
3995
|
# specified, because no build output is produced.
|
|
3969
3996
|
#
|
|
3970
3997
|
# * If `type` is set to `S3`, valid values include:
|
|
3971
3998
|
#
|
|
3972
|
-
# * `NONE`\:
|
|
3973
|
-
#
|
|
3974
|
-
#
|
|
3999
|
+
# * `NONE`\: CodeBuild creates in the output bucket a folder that
|
|
4000
|
+
# contains the build output. This is the default if `packaging` is
|
|
4001
|
+
# not specified.
|
|
3975
4002
|
#
|
|
3976
|
-
# * `ZIP`\:
|
|
3977
|
-
#
|
|
4003
|
+
# * `ZIP`\: CodeBuild creates in the output bucket a ZIP file that
|
|
4004
|
+
# contains the build output.
|
|
3978
4005
|
# @return [String]
|
|
3979
4006
|
#
|
|
3980
4007
|
# @!attribute [rw] override_artifact_name
|
|
@@ -3996,12 +4023,19 @@ module Aws::CodeBuild
|
|
|
3996
4023
|
# @return [String]
|
|
3997
4024
|
#
|
|
3998
4025
|
# @!attribute [rw] bucket_owner_access
|
|
3999
|
-
# Specifies the access for objects that
|
|
4000
|
-
#
|
|
4026
|
+
# Specifies the bucket owner's access for objects that another
|
|
4027
|
+
# account uploads to their Amazon S3 bucket. By default, only the
|
|
4028
|
+
# account that uploads the objects to the bucket has access to these
|
|
4029
|
+
# objects. This property allows you to give the bucket owner access to
|
|
4030
|
+
# these objects.
|
|
4001
4031
|
#
|
|
4002
|
-
#
|
|
4003
|
-
#
|
|
4004
|
-
#
|
|
4032
|
+
# <note markdown="1"> To use this property, your CodeBuild service role must have the
|
|
4033
|
+
# `s3:PutBucketAcl` permission. This permission allows CodeBuild to
|
|
4034
|
+
# modify the access control list for the bucket.
|
|
4035
|
+
#
|
|
4036
|
+
# </note>
|
|
4037
|
+
#
|
|
4038
|
+
# This property can be one of the following values:
|
|
4005
4039
|
#
|
|
4006
4040
|
# NONE
|
|
4007
4041
|
#
|
|
@@ -4010,7 +4044,7 @@ module Aws::CodeBuild
|
|
|
4010
4044
|
#
|
|
4011
4045
|
# READ\_ONLY
|
|
4012
4046
|
#
|
|
4013
|
-
# : The bucket owner has read
|
|
4047
|
+
# : The bucket owner has read-only access to the objects. The
|
|
4014
4048
|
# uploading account retains ownership of the objects.
|
|
4015
4049
|
#
|
|
4016
4050
|
# FULL
|
|
@@ -4086,6 +4120,7 @@ module Aws::CodeBuild
|
|
|
4086
4120
|
# compute_types_allowed: ["NonEmptyString"],
|
|
4087
4121
|
# },
|
|
4088
4122
|
# timeout_in_mins: 1,
|
|
4123
|
+
# batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
|
|
4089
4124
|
# }
|
|
4090
4125
|
#
|
|
4091
4126
|
# @!attribute [rw] service_role
|
|
@@ -4107,13 +4142,31 @@ module Aws::CodeBuild
|
|
|
4107
4142
|
# build must be completed in.
|
|
4108
4143
|
# @return [Integer]
|
|
4109
4144
|
#
|
|
4145
|
+
# @!attribute [rw] batch_report_mode
|
|
4146
|
+
# Specifies how build status reports are sent to the source provider
|
|
4147
|
+
# for the batch build. This property is only used when the source
|
|
4148
|
+
# provider for your project is Bitbucket, GitHub, or GitHub
|
|
4149
|
+
# Enterprise, and your project is configured to report build statuses
|
|
4150
|
+
# to the source provider.
|
|
4151
|
+
#
|
|
4152
|
+
# REPORT\_AGGREGATED\_BATCH
|
|
4153
|
+
#
|
|
4154
|
+
# : (Default) Aggregate all of the build statuses into a single status
|
|
4155
|
+
# report.
|
|
4156
|
+
#
|
|
4157
|
+
# REPORT\_INDIVIDUAL\_BUILDS
|
|
4158
|
+
#
|
|
4159
|
+
# : Send a separate status report for each individual build.
|
|
4160
|
+
# @return [String]
|
|
4161
|
+
#
|
|
4110
4162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBuildBatchConfig AWS API Documentation
|
|
4111
4163
|
#
|
|
4112
4164
|
class ProjectBuildBatchConfig < Struct.new(
|
|
4113
4165
|
:service_role,
|
|
4114
4166
|
:combine_artifacts,
|
|
4115
4167
|
:restrictions,
|
|
4116
|
-
:timeout_in_mins
|
|
4168
|
+
:timeout_in_mins,
|
|
4169
|
+
:batch_report_mode)
|
|
4117
4170
|
SENSITIVE = []
|
|
4118
4171
|
include Aws::Structure
|
|
4119
4172
|
end
|
|
@@ -4254,6 +4307,21 @@ module Aws::CodeBuild
|
|
|
4254
4307
|
# Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia
|
|
4255
4308
|
# Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
|
|
4256
4309
|
# Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
|
|
4310
|
+
# ^
|
|
4311
|
+
#
|
|
4312
|
+
# * The environment types `WINDOWS_CONTAINER` and
|
|
4313
|
+
# `WINDOWS_SERVER_2019_CONTAINER` are available only in regions US
|
|
4314
|
+
# East (N. Virginia), US East (Ohio), US West (Oregon), and EU
|
|
4315
|
+
# (Ireland).
|
|
4316
|
+
#
|
|
4317
|
+
# ^
|
|
4318
|
+
#
|
|
4319
|
+
# For more information, see [Build environment compute types][1] in
|
|
4320
|
+
# the *CodeBuild user guide*.
|
|
4321
|
+
#
|
|
4322
|
+
#
|
|
4323
|
+
#
|
|
4324
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
|
4257
4325
|
# @return [String]
|
|
4258
4326
|
#
|
|
4259
4327
|
# @!attribute [rw] image
|
|
@@ -4269,6 +4337,13 @@ module Aws::CodeBuild
|
|
|
4269
4337
|
# "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
|
|
4270
4338
|
# use
|
|
4271
4339
|
# `<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf`.
|
|
4340
|
+
#
|
|
4341
|
+
# For more information, see [Docker images provided by CodeBuild][1]
|
|
4342
|
+
# in the *CodeBuild user guide*.
|
|
4343
|
+
#
|
|
4344
|
+
#
|
|
4345
|
+
#
|
|
4346
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
|
|
4272
4347
|
# @return [String]
|
|
4273
4348
|
#
|
|
4274
4349
|
# @!attribute [rw] compute_type
|
|
@@ -4300,7 +4375,7 @@ module Aws::CodeBuild
|
|
|
4300
4375
|
# memory and 8 vCPUs on ARM-based processors for builds.
|
|
4301
4376
|
#
|
|
4302
4377
|
# For more information, see [Build Environment Compute Types][1] in
|
|
4303
|
-
# the *
|
|
4378
|
+
# the *CodeBuild User Guide.*
|
|
4304
4379
|
#
|
|
4305
4380
|
#
|
|
4306
4381
|
#
|
|
@@ -4342,7 +4417,7 @@ module Aws::CodeBuild
|
|
|
4342
4417
|
# @!attribute [rw] certificate
|
|
4343
4418
|
# The ARN of the Amazon S3 bucket, path prefix, and object key that
|
|
4344
4419
|
# contains the PEM-encoded certificate for the build project. For more
|
|
4345
|
-
# information, see [certificate][1] in the *
|
|
4420
|
+
# information, see [certificate][1] in the *CodeBuild User Guide*.
|
|
4346
4421
|
#
|
|
4347
4422
|
#
|
|
4348
4423
|
#
|
|
@@ -4354,19 +4429,19 @@ module Aws::CodeBuild
|
|
|
4354
4429
|
# @return [Types::RegistryCredential]
|
|
4355
4430
|
#
|
|
4356
4431
|
# @!attribute [rw] image_pull_credentials_type
|
|
4357
|
-
# The type of credentials
|
|
4358
|
-
#
|
|
4432
|
+
# The type of credentials CodeBuild uses to pull images in your build.
|
|
4433
|
+
# There are two valid values:
|
|
4359
4434
|
#
|
|
4360
|
-
# * `CODEBUILD` specifies that
|
|
4435
|
+
# * `CODEBUILD` specifies that CodeBuild uses its own credentials.
|
|
4361
4436
|
# This requires that you modify your ECR repository policy to trust
|
|
4362
|
-
#
|
|
4437
|
+
# CodeBuild service principal.
|
|
4363
4438
|
#
|
|
4364
|
-
# * `SERVICE_ROLE` specifies that
|
|
4365
|
-
#
|
|
4439
|
+
# * `SERVICE_ROLE` specifies that CodeBuild uses your build project's
|
|
4440
|
+
# service role.
|
|
4366
4441
|
#
|
|
4367
4442
|
# When you use a cross-account or private registry image, you must use
|
|
4368
|
-
# SERVICE\_ROLE credentials. When you use an
|
|
4369
|
-
#
|
|
4443
|
+
# SERVICE\_ROLE credentials. When you use an CodeBuild curated image,
|
|
4444
|
+
# you must use CODEBUILD credentials.
|
|
4370
4445
|
# @return [String]
|
|
4371
4446
|
#
|
|
4372
4447
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment AWS API Documentation
|
|
@@ -4410,7 +4485,7 @@ module Aws::CodeBuild
|
|
|
4410
4485
|
# @!attribute [rw] location
|
|
4411
4486
|
# A string that specifies the location of the file system created by
|
|
4412
4487
|
# Amazon EFS. Its format is `efs-dns-name:/directory-path`. You can
|
|
4413
|
-
# find the DNS name of file system when you view it in the
|
|
4488
|
+
# find the DNS name of file system when you view it in the Amazon EFS
|
|
4414
4489
|
# console. The directory path is a path to a directory in the file
|
|
4415
4490
|
# system that CodeBuild mounts. For example, if the DNS name of a file
|
|
4416
4491
|
# system is `fs-abcd1234.efs.us-west-2.amazonaws.com`, and its mount
|
|
@@ -4437,8 +4512,8 @@ module Aws::CodeBuild
|
|
|
4437
4512
|
# @return [String]
|
|
4438
4513
|
#
|
|
4439
4514
|
# @!attribute [rw] mount_options
|
|
4440
|
-
# The mount options for a file system created by
|
|
4441
|
-
# mount options used by CodeBuild are
|
|
4515
|
+
# The mount options for a file system created by Amazon EFS. The
|
|
4516
|
+
# default mount options used by CodeBuild are
|
|
4442
4517
|
# `nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2`.
|
|
4443
4518
|
# For more information, see [Recommended NFS Mount Options][1].
|
|
4444
4519
|
#
|
|
@@ -4491,10 +4566,10 @@ module Aws::CodeBuild
|
|
|
4491
4566
|
#
|
|
4492
4567
|
# * `BITBUCKET`\: The source code is in a Bitbucket repository.
|
|
4493
4568
|
#
|
|
4494
|
-
# * `CODECOMMIT`\: The source code is in an
|
|
4569
|
+
# * `CODECOMMIT`\: The source code is in an CodeCommit repository.
|
|
4495
4570
|
#
|
|
4496
4571
|
# * `CODEPIPELINE`\: The source code settings are specified in the
|
|
4497
|
-
# source action of a pipeline in
|
|
4572
|
+
# source action of a pipeline in CodePipeline.
|
|
4498
4573
|
#
|
|
4499
4574
|
# * `GITHUB`\: The source code is in a GitHub or GitHub Enterprise
|
|
4500
4575
|
# Cloud repository.
|
|
@@ -4512,14 +4587,14 @@ module Aws::CodeBuild
|
|
|
4512
4587
|
# values include:
|
|
4513
4588
|
#
|
|
4514
4589
|
# * For source code settings that are specified in the source action
|
|
4515
|
-
# of a pipeline in
|
|
4516
|
-
#
|
|
4517
|
-
#
|
|
4518
|
-
#
|
|
4519
|
-
#
|
|
4520
|
-
# * For source code in an
|
|
4521
|
-
#
|
|
4522
|
-
#
|
|
4590
|
+
# of a pipeline in CodePipeline, `location` should not be specified.
|
|
4591
|
+
# If it is specified, CodePipeline ignores it. This is because
|
|
4592
|
+
# CodePipeline uses the settings in a pipeline's source action
|
|
4593
|
+
# instead of this value.
|
|
4594
|
+
#
|
|
4595
|
+
# * For source code in an CodeCommit repository, the HTTPS clone URL
|
|
4596
|
+
# to the repository that contains the source code and the buildspec
|
|
4597
|
+
# file (for example,
|
|
4523
4598
|
# `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`).
|
|
4524
4599
|
#
|
|
4525
4600
|
# * For source code in an Amazon S3 input bucket, one of the
|
|
@@ -4533,29 +4608,33 @@ module Aws::CodeBuild
|
|
|
4533
4608
|
#
|
|
4534
4609
|
# * For source code in a GitHub repository, the HTTPS clone URL to the
|
|
4535
4610
|
# repository that contains the source and the buildspec file. You
|
|
4536
|
-
# must connect your
|
|
4537
|
-
# CodeBuild console to start creating a build
|
|
4538
|
-
# the console to connect (or reconnect) with
|
|
4539
|
-
# **Authorize application** page, for
|
|
4540
|
-
# choose **Request access** next to each
|
|
4541
|
-
# allow
|
|
4542
|
-
# application**. (After you have connected to
|
|
4543
|
-
# you do not need to finish creating the build
|
|
4544
|
-
# leave the
|
|
4545
|
-
# this connection, in the `source` object, set the
|
|
4546
|
-
# `type` value to `OAUTH`.
|
|
4611
|
+
# must connect your Amazon Web Services account to your GitHub
|
|
4612
|
+
# account. Use the CodeBuild console to start creating a build
|
|
4613
|
+
# project. When you use the console to connect (or reconnect) with
|
|
4614
|
+
# GitHub, on the GitHub **Authorize application** page, for
|
|
4615
|
+
# **Organization access**, choose **Request access** next to each
|
|
4616
|
+
# repository you want to allow CodeBuild to have access to, and then
|
|
4617
|
+
# choose **Authorize application**. (After you have connected to
|
|
4618
|
+
# your GitHub account, you do not need to finish creating the build
|
|
4619
|
+
# project. You can leave the CodeBuild console.) To instruct
|
|
4620
|
+
# CodeBuild to use this connection, in the `source` object, set the
|
|
4621
|
+
# `auth` object's `type` value to `OAUTH`.
|
|
4547
4622
|
#
|
|
4548
4623
|
# * For source code in a Bitbucket repository, the HTTPS clone URL to
|
|
4549
4624
|
# the repository that contains the source and the buildspec file.
|
|
4550
|
-
# You must connect your
|
|
4551
|
-
# the
|
|
4552
|
-
# you use the console to connect (or reconnect)
|
|
4553
|
-
# the Bitbucket **Confirm access to your
|
|
4554
|
-
# **Grant access**. (After you have connected
|
|
4555
|
-
# account, you do not need to finish creating the
|
|
4556
|
-
# can leave the
|
|
4557
|
-
# use this connection, in the `source` object, set the
|
|
4558
|
-
# object's `type` value to `OAUTH`.
|
|
4625
|
+
# You must connect your Amazon Web Services account to your
|
|
4626
|
+
# Bitbucket account. Use the CodeBuild console to start creating a
|
|
4627
|
+
# build project. When you use the console to connect (or reconnect)
|
|
4628
|
+
# with Bitbucket, on the Bitbucket **Confirm access to your
|
|
4629
|
+
# account** page, choose **Grant access**. (After you have connected
|
|
4630
|
+
# to your Bitbucket account, you do not need to finish creating the
|
|
4631
|
+
# build project. You can leave the CodeBuild console.) To instruct
|
|
4632
|
+
# CodeBuild to use this connection, in the `source` object, set the
|
|
4633
|
+
# `auth` object's `type` value to `OAUTH`.
|
|
4634
|
+
#
|
|
4635
|
+
# If you specify `CODEPIPELINE` for the `Type` property, don't
|
|
4636
|
+
# specify this property. For all of the other types, you must specify
|
|
4637
|
+
# `Location`.
|
|
4559
4638
|
# @return [String]
|
|
4560
4639
|
#
|
|
4561
4640
|
# @!attribute [rw] git_clone_depth
|
|
@@ -4574,11 +4653,12 @@ module Aws::CodeBuild
|
|
|
4574
4653
|
# If this value is set, it can be either an inline buildspec
|
|
4575
4654
|
# definition, the path to an alternate buildspec file relative to the
|
|
4576
4655
|
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
|
4577
|
-
# the path to an S3 bucket. The bucket must be in the same
|
|
4578
|
-
# as the build project. Specify the buildspec file
|
|
4579
|
-
#
|
|
4580
|
-
#
|
|
4581
|
-
#
|
|
4656
|
+
# the path to an S3 bucket. The bucket must be in the same Amazon Web
|
|
4657
|
+
# Services Region as the build project. Specify the buildspec file
|
|
4658
|
+
# using its ARN (for example,
|
|
4659
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
|
4660
|
+
# not provided or is set to an empty string, the source code must
|
|
4661
|
+
# contain a buildspec file in its root directory. For more
|
|
4582
4662
|
# information, see [Buildspec File Name and Storage Location][1].
|
|
4583
4663
|
#
|
|
4584
4664
|
#
|
|
@@ -4587,11 +4667,11 @@ module Aws::CodeBuild
|
|
|
4587
4667
|
# @return [String]
|
|
4588
4668
|
#
|
|
4589
4669
|
# @!attribute [rw] auth
|
|
4590
|
-
# Information about the authorization settings for
|
|
4591
|
-
#
|
|
4670
|
+
# Information about the authorization settings for CodeBuild to access
|
|
4671
|
+
# the source code to be built.
|
|
4592
4672
|
#
|
|
4593
|
-
# This information is for the
|
|
4594
|
-
#
|
|
4673
|
+
# This information is for the CodeBuild console's use only. Your code
|
|
4674
|
+
# should not get or set this information directly.
|
|
4595
4675
|
# @return [Types::SourceAuth]
|
|
4596
4676
|
#
|
|
4597
4677
|
# @!attribute [rw] report_build_status
|
|
@@ -4605,7 +4685,7 @@ module Aws::CodeBuild
|
|
|
4605
4685
|
# user associated with the source provider must have write access to
|
|
4606
4686
|
# the repo. If the user does not have write access, the build status
|
|
4607
4687
|
# cannot be updated. For more information, see [Source provider
|
|
4608
|
-
# access][1] in the *
|
|
4688
|
+
# access][1] in the *CodeBuild User Guide*.
|
|
4609
4689
|
#
|
|
4610
4690
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
|
4611
4691
|
# your source provider.
|
|
@@ -4672,7 +4752,7 @@ module Aws::CodeBuild
|
|
|
4672
4752
|
# The source version for the corresponding source identifier. If
|
|
4673
4753
|
# specified, must be one of:
|
|
4674
4754
|
#
|
|
4675
|
-
# * For
|
|
4755
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
4676
4756
|
#
|
|
4677
4757
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
4678
4758
|
# name that corresponds to the version of the source code you want
|
|
@@ -4691,7 +4771,7 @@ module Aws::CodeBuild
|
|
|
4691
4771
|
# build input ZIP file to use.
|
|
4692
4772
|
#
|
|
4693
4773
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
4694
|
-
# in the *
|
|
4774
|
+
# in the *CodeBuild User Guide*.
|
|
4695
4775
|
#
|
|
4696
4776
|
#
|
|
4697
4777
|
#
|
|
@@ -4717,8 +4797,8 @@ module Aws::CodeBuild
|
|
|
4717
4797
|
#
|
|
4718
4798
|
# @!attribute [rw] policy
|
|
4719
4799
|
# A JSON-formatted resource policy. For more information, see [Sharing
|
|
4720
|
-
# a Project][1] and [Sharing a Report Group][2] in the *
|
|
4721
|
-
#
|
|
4800
|
+
# a Project][1] and [Sharing a Report Group][2] in the *CodeBuild User
|
|
4801
|
+
# Guide*.
|
|
4722
4802
|
#
|
|
4723
4803
|
#
|
|
4724
4804
|
#
|
|
@@ -4760,8 +4840,8 @@ module Aws::CodeBuild
|
|
|
4760
4840
|
#
|
|
4761
4841
|
# * images cannot be curated or an Amazon ECR image.
|
|
4762
4842
|
#
|
|
4763
|
-
# For more information, see [Private Registry with
|
|
4764
|
-
# Sample for
|
|
4843
|
+
# For more information, see [Private Registry with Secrets Manager
|
|
4844
|
+
# Sample for CodeBuild][1].
|
|
4765
4845
|
#
|
|
4766
4846
|
#
|
|
4767
4847
|
#
|
|
@@ -4777,18 +4857,17 @@ module Aws::CodeBuild
|
|
|
4777
4857
|
#
|
|
4778
4858
|
# @!attribute [rw] credential
|
|
4779
4859
|
# The Amazon Resource Name (ARN) or name of credentials created using
|
|
4780
|
-
#
|
|
4860
|
+
# Secrets Manager.
|
|
4781
4861
|
#
|
|
4782
4862
|
# <note markdown="1"> The `credential` can use the name of the credentials only if they
|
|
4783
|
-
# exist in your current
|
|
4863
|
+
# exist in your current Amazon Web Services Region.
|
|
4784
4864
|
#
|
|
4785
4865
|
# </note>
|
|
4786
4866
|
# @return [String]
|
|
4787
4867
|
#
|
|
4788
4868
|
# @!attribute [rw] credential_provider
|
|
4789
4869
|
# The service that created the credentials to access a private Docker
|
|
4790
|
-
# registry. The valid value, SECRETS\_MANAGER, is for
|
|
4791
|
-
# Manager.
|
|
4870
|
+
# registry. The valid value, SECRETS\_MANAGER, is for Secrets Manager.
|
|
4792
4871
|
# @return [String]
|
|
4793
4872
|
#
|
|
4794
4873
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RegistryCredential AWS API Documentation
|
|
@@ -4992,8 +5071,8 @@ module Aws::CodeBuild
|
|
|
4992
5071
|
# @!attribute [rw] tags
|
|
4993
5072
|
# A list of tag key and value pairs associated with this report group.
|
|
4994
5073
|
#
|
|
4995
|
-
# These tags are available for use by
|
|
4996
|
-
# CodeBuild report group tags.
|
|
5074
|
+
# These tags are available for use by Amazon Web Services services
|
|
5075
|
+
# that support CodeBuild report group tags.
|
|
4997
5076
|
# @return [Array<Types::Tag>]
|
|
4998
5077
|
#
|
|
4999
5078
|
# @!attribute [rw] status
|
|
@@ -5071,7 +5150,7 @@ module Aws::CodeBuild
|
|
|
5071
5150
|
include Aws::Structure
|
|
5072
5151
|
end
|
|
5073
5152
|
|
|
5074
|
-
# Represents a resolved build artifact. A
|
|
5153
|
+
# Represents a resolved build artifact. A resolved artifact is an
|
|
5075
5154
|
# artifact that is built and deployed to the destination, such as Amazon
|
|
5076
5155
|
# S3.
|
|
5077
5156
|
#
|
|
@@ -5097,14 +5176,14 @@ module Aws::CodeBuild
|
|
|
5097
5176
|
include Aws::Structure
|
|
5098
5177
|
end
|
|
5099
5178
|
|
|
5100
|
-
# The specified
|
|
5101
|
-
# with the same settings already exists.
|
|
5179
|
+
# The specified Amazon Web Services resource cannot be created, because
|
|
5180
|
+
# an Amazon Web Services resource with the same settings already exists.
|
|
5102
5181
|
#
|
|
5103
5182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceAlreadyExistsException AWS API Documentation
|
|
5104
5183
|
#
|
|
5105
5184
|
class ResourceAlreadyExistsException < Aws::EmptyStructure; end
|
|
5106
5185
|
|
|
5107
|
-
# The specified
|
|
5186
|
+
# The specified Amazon Web Services resource cannot be found.
|
|
5108
5187
|
#
|
|
5109
5188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceNotFoundException AWS API Documentation
|
|
5110
5189
|
#
|
|
@@ -5128,8 +5207,7 @@ module Aws::CodeBuild
|
|
|
5128
5207
|
# idempotency of the `RetryBuildBatch` request. The token is included
|
|
5129
5208
|
# in the `RetryBuildBatch` request and is valid for five minutes. If
|
|
5130
5209
|
# you repeat the `RetryBuildBatch` request with the same token, but
|
|
5131
|
-
# change a parameter,
|
|
5132
|
-
# error.
|
|
5210
|
+
# change a parameter, CodeBuild returns a parameter mismatch error.
|
|
5133
5211
|
# @return [String]
|
|
5134
5212
|
#
|
|
5135
5213
|
# @!attribute [rw] retry_type
|
|
@@ -5175,7 +5253,7 @@ module Aws::CodeBuild
|
|
|
5175
5253
|
# idempotency of the `RetryBuild` request. The token is included in
|
|
5176
5254
|
# the `RetryBuild` request and is valid for five minutes. If you
|
|
5177
5255
|
# repeat the `RetryBuild` request with the same token, but change a
|
|
5178
|
-
# parameter,
|
|
5256
|
+
# parameter, CodeBuild returns a parameter mismatch error.
|
|
5179
5257
|
# @return [String]
|
|
5180
5258
|
#
|
|
5181
5259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildInput AWS API Documentation
|
|
@@ -5232,12 +5310,19 @@ module Aws::CodeBuild
|
|
|
5232
5310
|
# @return [Boolean]
|
|
5233
5311
|
#
|
|
5234
5312
|
# @!attribute [rw] bucket_owner_access
|
|
5235
|
-
# Specifies the access for objects that
|
|
5236
|
-
#
|
|
5313
|
+
# Specifies the bucket owner's access for objects that another
|
|
5314
|
+
# account uploads to their Amazon S3 bucket. By default, only the
|
|
5315
|
+
# account that uploads the objects to the bucket has access to these
|
|
5316
|
+
# objects. This property allows you to give the bucket owner access to
|
|
5317
|
+
# these objects.
|
|
5318
|
+
#
|
|
5319
|
+
# <note markdown="1"> To use this property, your CodeBuild service role must have the
|
|
5320
|
+
# `s3:PutBucketAcl` permission. This permission allows CodeBuild to
|
|
5321
|
+
# modify the access control list for the bucket.
|
|
5322
|
+
#
|
|
5323
|
+
# </note>
|
|
5237
5324
|
#
|
|
5238
|
-
#
|
|
5239
|
-
# has access to these objects. This property allows you to give the
|
|
5240
|
-
# bucket owner access to these objects.
|
|
5325
|
+
# This property can be one of the following values:
|
|
5241
5326
|
#
|
|
5242
5327
|
# NONE
|
|
5243
5328
|
#
|
|
@@ -5246,7 +5331,7 @@ module Aws::CodeBuild
|
|
|
5246
5331
|
#
|
|
5247
5332
|
# READ\_ONLY
|
|
5248
5333
|
#
|
|
5249
|
-
# : The bucket owner has read
|
|
5334
|
+
# : The bucket owner has read-only access to the objects. The
|
|
5250
5335
|
# uploading account retains ownership of the objects.
|
|
5251
5336
|
#
|
|
5252
5337
|
# FULL
|
|
@@ -5303,9 +5388,10 @@ module Aws::CodeBuild
|
|
|
5303
5388
|
# @return [String]
|
|
5304
5389
|
#
|
|
5305
5390
|
# @!attribute [rw] bucket_owner
|
|
5306
|
-
# The
|
|
5307
|
-
# This allows report data to be exported to an
|
|
5308
|
-
# is owned by an account other than the account
|
|
5391
|
+
# The Amazon Web Services account identifier of the owner of the
|
|
5392
|
+
# Amazon S3 bucket. This allows report data to be exported to an
|
|
5393
|
+
# Amazon S3 bucket that is owned by an account other than the account
|
|
5394
|
+
# running the build.
|
|
5309
5395
|
# @return [String]
|
|
5310
5396
|
#
|
|
5311
5397
|
# @!attribute [rw] path
|
|
@@ -5315,10 +5401,10 @@ module Aws::CodeBuild
|
|
|
5315
5401
|
# @!attribute [rw] packaging
|
|
5316
5402
|
# The type of build output artifact to create. Valid values include:
|
|
5317
5403
|
#
|
|
5318
|
-
# * `NONE`\:
|
|
5319
|
-
#
|
|
5404
|
+
# * `NONE`\: CodeBuild creates the raw data in the output bucket. This
|
|
5405
|
+
# is the default if packaging is not specified.
|
|
5320
5406
|
#
|
|
5321
|
-
# * `ZIP`\:
|
|
5407
|
+
# * `ZIP`\: CodeBuild creates a ZIP file with the raw data in the
|
|
5322
5408
|
# output bucket.
|
|
5323
5409
|
# @return [String]
|
|
5324
5410
|
#
|
|
@@ -5344,11 +5430,11 @@ module Aws::CodeBuild
|
|
|
5344
5430
|
include Aws::Structure
|
|
5345
5431
|
end
|
|
5346
5432
|
|
|
5347
|
-
# Information about the authorization settings for
|
|
5348
|
-
#
|
|
5433
|
+
# Information about the authorization settings for CodeBuild to access
|
|
5434
|
+
# the source code to be built.
|
|
5349
5435
|
#
|
|
5350
|
-
# This information is for the
|
|
5351
|
-
#
|
|
5436
|
+
# This information is for the CodeBuild console's use only. Your code
|
|
5437
|
+
# should not get or set this information directly.
|
|
5352
5438
|
#
|
|
5353
5439
|
# @note When making an API call, you may pass SourceAuth
|
|
5354
5440
|
# data as a hash:
|
|
@@ -5528,6 +5614,7 @@ module Aws::CodeBuild
|
|
|
5528
5614
|
# compute_types_allowed: ["NonEmptyString"],
|
|
5529
5615
|
# },
|
|
5530
5616
|
# timeout_in_mins: 1,
|
|
5617
|
+
# batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
|
|
5531
5618
|
# },
|
|
5532
5619
|
# debug_session_enabled: false,
|
|
5533
5620
|
# }
|
|
@@ -5551,7 +5638,7 @@ module Aws::CodeBuild
|
|
|
5551
5638
|
# only. If not specified, the latest version is used. If specified,
|
|
5552
5639
|
# the contents depends on the source provider:
|
|
5553
5640
|
#
|
|
5554
|
-
#
|
|
5641
|
+
# CodeCommit
|
|
5555
5642
|
#
|
|
5556
5643
|
# : The commit ID, branch, or Git tag to use.
|
|
5557
5644
|
#
|
|
@@ -5580,7 +5667,7 @@ module Aws::CodeBuild
|
|
|
5580
5667
|
# `sourceVersion` (at the build level) takes precedence.
|
|
5581
5668
|
#
|
|
5582
5669
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
5583
|
-
# in the *
|
|
5670
|
+
# in the *CodeBuild User Guide*.
|
|
5584
5671
|
#
|
|
5585
5672
|
#
|
|
5586
5673
|
#
|
|
@@ -5636,11 +5723,12 @@ module Aws::CodeBuild
|
|
|
5636
5723
|
# If this value is set, it can be either an inline buildspec
|
|
5637
5724
|
# definition, the path to an alternate buildspec file relative to the
|
|
5638
5725
|
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
|
5639
|
-
# the path to an S3 bucket. The bucket must be in the same
|
|
5640
|
-
# as the build project. Specify the buildspec file
|
|
5641
|
-
#
|
|
5642
|
-
#
|
|
5643
|
-
#
|
|
5726
|
+
# the path to an S3 bucket. The bucket must be in the same Amazon Web
|
|
5727
|
+
# Services Region as the build project. Specify the buildspec file
|
|
5728
|
+
# using its ARN (for example,
|
|
5729
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
|
5730
|
+
# not provided or is set to an empty string, the source code must
|
|
5731
|
+
# contain a buildspec file in its root directory. For more
|
|
5644
5732
|
# information, see [Buildspec File Name and Storage Location][1].
|
|
5645
5733
|
#
|
|
5646
5734
|
#
|
|
@@ -5712,9 +5800,9 @@ module Aws::CodeBuild
|
|
|
5712
5800
|
# @return [Integer]
|
|
5713
5801
|
#
|
|
5714
5802
|
# @!attribute [rw] encryption_key_override
|
|
5715
|
-
# The
|
|
5716
|
-
#
|
|
5717
|
-
#
|
|
5803
|
+
# The Key Management Service customer master key (CMK) that overrides
|
|
5804
|
+
# the one specified in the batch build project. The CMK key encrypts
|
|
5805
|
+
# the build output artifacts.
|
|
5718
5806
|
#
|
|
5719
5807
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
5720
5808
|
# artifacts if your service role has permission to that key.
|
|
@@ -5731,8 +5819,7 @@ module Aws::CodeBuild
|
|
|
5731
5819
|
# idempotency of the `StartBuildBatch` request. The token is included
|
|
5732
5820
|
# in the `StartBuildBatch` request and is valid for five minutes. If
|
|
5733
5821
|
# you repeat the `StartBuildBatch` request with the same token, but
|
|
5734
|
-
# change a parameter,
|
|
5735
|
-
# error.
|
|
5822
|
+
# change a parameter, CodeBuild returns a parameter mismatch error.
|
|
5736
5823
|
# @return [String]
|
|
5737
5824
|
#
|
|
5738
5825
|
# @!attribute [rw] logs_config_override
|
|
@@ -5746,23 +5833,22 @@ module Aws::CodeBuild
|
|
|
5746
5833
|
# @return [Types::RegistryCredential]
|
|
5747
5834
|
#
|
|
5748
5835
|
# @!attribute [rw] image_pull_credentials_type_override
|
|
5749
|
-
# The type of credentials
|
|
5750
|
-
#
|
|
5836
|
+
# The type of credentials CodeBuild uses to pull images in your batch
|
|
5837
|
+
# build. There are two valid values:
|
|
5751
5838
|
#
|
|
5752
5839
|
# CODEBUILD
|
|
5753
5840
|
#
|
|
5754
|
-
# : Specifies that
|
|
5755
|
-
#
|
|
5756
|
-
#
|
|
5841
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
|
5842
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
|
5843
|
+
# service principal.
|
|
5757
5844
|
#
|
|
5758
5845
|
# SERVICE\_ROLE
|
|
5759
5846
|
#
|
|
5760
|
-
# : Specifies that
|
|
5761
|
-
# role.
|
|
5847
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
|
5762
5848
|
#
|
|
5763
5849
|
# When using a cross-account or private registry image, you must use
|
|
5764
|
-
# `SERVICE_ROLE` credentials. When using an
|
|
5765
|
-
#
|
|
5850
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
|
5851
|
+
# you must use `CODEBUILD` credentials.
|
|
5766
5852
|
# @return [String]
|
|
5767
5853
|
#
|
|
5768
5854
|
# @!attribute [rw] build_batch_config_override
|
|
@@ -5953,8 +6039,7 @@ module Aws::CodeBuild
|
|
|
5953
6039
|
# }
|
|
5954
6040
|
#
|
|
5955
6041
|
# @!attribute [rw] project_name
|
|
5956
|
-
# The name of the
|
|
5957
|
-
# build.
|
|
6042
|
+
# The name of the CodeBuild build project to start running a build.
|
|
5958
6043
|
# @return [String]
|
|
5959
6044
|
#
|
|
5960
6045
|
# @!attribute [rw] secondary_sources_override
|
|
@@ -5972,7 +6057,7 @@ module Aws::CodeBuild
|
|
|
5972
6057
|
# not specified, the latest version is used. If specified, the
|
|
5973
6058
|
# contents depends on the source provider:
|
|
5974
6059
|
#
|
|
5975
|
-
#
|
|
6060
|
+
# CodeCommit
|
|
5976
6061
|
#
|
|
5977
6062
|
# : The commit ID, branch, or Git tag to use.
|
|
5978
6063
|
#
|
|
@@ -6001,7 +6086,7 @@ module Aws::CodeBuild
|
|
|
6001
6086
|
# `sourceVersion` (at the build level) takes precedence.
|
|
6002
6087
|
#
|
|
6003
6088
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
6004
|
-
# in the *
|
|
6089
|
+
# in the *CodeBuild User Guide*.
|
|
6005
6090
|
#
|
|
6006
6091
|
#
|
|
6007
6092
|
#
|
|
@@ -6046,7 +6131,7 @@ module Aws::CodeBuild
|
|
|
6046
6131
|
#
|
|
6047
6132
|
# @!attribute [rw] git_submodules_config_override
|
|
6048
6133
|
# Information about the Git submodules configuration for this build of
|
|
6049
|
-
# an
|
|
6134
|
+
# an CodeBuild build project.
|
|
6050
6135
|
# @return [Types::GitSubmodulesConfig]
|
|
6051
6136
|
#
|
|
6052
6137
|
# @!attribute [rw] buildspec_override
|
|
@@ -6056,11 +6141,12 @@ module Aws::CodeBuild
|
|
|
6056
6141
|
# If this value is set, it can be either an inline buildspec
|
|
6057
6142
|
# definition, the path to an alternate buildspec file relative to the
|
|
6058
6143
|
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
|
6059
|
-
# the path to an S3 bucket. The bucket must be in the same
|
|
6060
|
-
# as the build project. Specify the buildspec file
|
|
6061
|
-
#
|
|
6062
|
-
#
|
|
6063
|
-
#
|
|
6144
|
+
# the path to an S3 bucket. The bucket must be in the same Amazon Web
|
|
6145
|
+
# Services Region as the build project. Specify the buildspec file
|
|
6146
|
+
# using its ARN (for example,
|
|
6147
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
|
6148
|
+
# not provided or is set to an empty string, the source code must
|
|
6149
|
+
# contain a buildspec file in its root directory. For more
|
|
6064
6150
|
# information, see [Buildspec File Name and Storage Location][1].
|
|
6065
6151
|
#
|
|
6066
6152
|
#
|
|
@@ -6086,7 +6172,7 @@ module Aws::CodeBuild
|
|
|
6086
6172
|
# user associated with the source provider must have write access to
|
|
6087
6173
|
# the repo. If the user does not have write access, the build status
|
|
6088
6174
|
# cannot be updated. For more information, see [Source provider
|
|
6089
|
-
# access][1] in the *
|
|
6175
|
+
# access][1] in the *CodeBuild User Guide*.
|
|
6090
6176
|
#
|
|
6091
6177
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
|
6092
6178
|
# your source provider.
|
|
@@ -6151,9 +6237,9 @@ module Aws::CodeBuild
|
|
|
6151
6237
|
# @return [Integer]
|
|
6152
6238
|
#
|
|
6153
6239
|
# @!attribute [rw] encryption_key_override
|
|
6154
|
-
# The
|
|
6155
|
-
#
|
|
6156
|
-
#
|
|
6240
|
+
# The Key Management Service customer master key (CMK) that overrides
|
|
6241
|
+
# the one specified in the build project. The CMK key encrypts the
|
|
6242
|
+
# build output artifacts.
|
|
6157
6243
|
#
|
|
6158
6244
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
6159
6245
|
# artifacts if your service role has permission to that key.
|
|
@@ -6169,7 +6255,7 @@ module Aws::CodeBuild
|
|
|
6169
6255
|
# A unique, case sensitive identifier you provide to ensure the
|
|
6170
6256
|
# idempotency of the StartBuild request. The token is included in the
|
|
6171
6257
|
# StartBuild request and is valid for 5 minutes. If you repeat the
|
|
6172
|
-
# StartBuild request with the same token, but change a parameter,
|
|
6258
|
+
# StartBuild request with the same token, but change a parameter,
|
|
6173
6259
|
# CodeBuild returns a parameter mismatch error.
|
|
6174
6260
|
# @return [String]
|
|
6175
6261
|
#
|
|
@@ -6183,23 +6269,22 @@ module Aws::CodeBuild
|
|
|
6183
6269
|
# @return [Types::RegistryCredential]
|
|
6184
6270
|
#
|
|
6185
6271
|
# @!attribute [rw] image_pull_credentials_type_override
|
|
6186
|
-
# The type of credentials
|
|
6187
|
-
#
|
|
6272
|
+
# The type of credentials CodeBuild uses to pull images in your build.
|
|
6273
|
+
# There are two valid values:
|
|
6188
6274
|
#
|
|
6189
6275
|
# CODEBUILD
|
|
6190
6276
|
#
|
|
6191
|
-
# : Specifies that
|
|
6192
|
-
#
|
|
6193
|
-
#
|
|
6277
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
|
6278
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
|
6279
|
+
# service principal.
|
|
6194
6280
|
#
|
|
6195
6281
|
# SERVICE\_ROLE
|
|
6196
6282
|
#
|
|
6197
|
-
# : Specifies that
|
|
6198
|
-
# role.
|
|
6283
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
|
6199
6284
|
#
|
|
6200
6285
|
# When using a cross-account or private registry image, you must use
|
|
6201
|
-
# `SERVICE_ROLE` credentials. When using an
|
|
6202
|
-
#
|
|
6286
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
|
6287
|
+
# you must use `CODEBUILD` credentials.
|
|
6203
6288
|
# @return [String]
|
|
6204
6289
|
#
|
|
6205
6290
|
# @!attribute [rw] debug_session_enabled
|
|
@@ -6325,8 +6410,8 @@ module Aws::CodeBuild
|
|
|
6325
6410
|
|
|
6326
6411
|
# A tag, consisting of a key and a value.
|
|
6327
6412
|
#
|
|
6328
|
-
# This tag is available for use by
|
|
6329
|
-
# CodeBuild.
|
|
6413
|
+
# This tag is available for use by Amazon Web Services services that
|
|
6414
|
+
# support tags in CodeBuild.
|
|
6330
6415
|
#
|
|
6331
6416
|
# @note When making an API call, you may pass Tag
|
|
6332
6417
|
# data as a hash:
|
|
@@ -6629,6 +6714,7 @@ module Aws::CodeBuild
|
|
|
6629
6714
|
# compute_types_allowed: ["NonEmptyString"],
|
|
6630
6715
|
# },
|
|
6631
6716
|
# timeout_in_mins: 1,
|
|
6717
|
+
# batch_report_mode: "REPORT_INDIVIDUAL_BUILDS", # accepts REPORT_INDIVIDUAL_BUILDS, REPORT_AGGREGATED_BATCH
|
|
6632
6718
|
# },
|
|
6633
6719
|
# concurrent_build_limit: 1,
|
|
6634
6720
|
# }
|
|
@@ -6659,7 +6745,7 @@ module Aws::CodeBuild
|
|
|
6659
6745
|
# specified, the latest version is used. If specified, it must be one
|
|
6660
6746
|
# of:
|
|
6661
6747
|
#
|
|
6662
|
-
# * For
|
|
6748
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
|
6663
6749
|
#
|
|
6664
6750
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
|
6665
6751
|
# name that corresponds to the version of the source code you want
|
|
@@ -6682,7 +6768,7 @@ module Aws::CodeBuild
|
|
|
6682
6768
|
# level).
|
|
6683
6769
|
#
|
|
6684
6770
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
|
6685
|
-
# in the *
|
|
6771
|
+
# in the *CodeBuild User Guide*.
|
|
6686
6772
|
#
|
|
6687
6773
|
#
|
|
6688
6774
|
#
|
|
@@ -6715,13 +6801,13 @@ module Aws::CodeBuild
|
|
|
6715
6801
|
# @return [Types::ProjectEnvironment]
|
|
6716
6802
|
#
|
|
6717
6803
|
# @!attribute [rw] service_role
|
|
6718
|
-
# The replacement ARN of the
|
|
6719
|
-
#
|
|
6720
|
-
#
|
|
6804
|
+
# The replacement ARN of the IAM role that enables CodeBuild to
|
|
6805
|
+
# interact with dependent Amazon Web Services services on behalf of
|
|
6806
|
+
# the Amazon Web Services account.
|
|
6721
6807
|
# @return [String]
|
|
6722
6808
|
#
|
|
6723
6809
|
# @!attribute [rw] timeout_in_minutes
|
|
6724
|
-
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
|
6810
|
+
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
|
6725
6811
|
# CodeBuild to wait before timing out any related build that did not
|
|
6726
6812
|
# get marked as completed.
|
|
6727
6813
|
# @return [Integer]
|
|
@@ -6732,8 +6818,8 @@ module Aws::CodeBuild
|
|
|
6732
6818
|
# @return [Integer]
|
|
6733
6819
|
#
|
|
6734
6820
|
# @!attribute [rw] encryption_key
|
|
6735
|
-
# The
|
|
6736
|
-
#
|
|
6821
|
+
# The Key Management Service customer master key (CMK) to be used for
|
|
6822
|
+
# encrypting the build output artifacts.
|
|
6737
6823
|
#
|
|
6738
6824
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
|
6739
6825
|
# artifacts if your service role has permission to that key.
|
|
@@ -6749,13 +6835,12 @@ module Aws::CodeBuild
|
|
|
6749
6835
|
# An updated list of tag key and value pairs associated with this
|
|
6750
6836
|
# build project.
|
|
6751
6837
|
#
|
|
6752
|
-
# These tags are available for use by
|
|
6753
|
-
# CodeBuild build project tags.
|
|
6838
|
+
# These tags are available for use by Amazon Web Services services
|
|
6839
|
+
# that support CodeBuild build project tags.
|
|
6754
6840
|
# @return [Array<Types::Tag>]
|
|
6755
6841
|
#
|
|
6756
6842
|
# @!attribute [rw] vpc_config
|
|
6757
|
-
# VpcConfig enables
|
|
6758
|
-
# VPC.
|
|
6843
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
|
6759
6844
|
# @return [Types::VpcConfig]
|
|
6760
6845
|
#
|
|
6761
6846
|
# @!attribute [rw] badge_enabled
|
|
@@ -6765,7 +6850,7 @@ module Aws::CodeBuild
|
|
|
6765
6850
|
#
|
|
6766
6851
|
# @!attribute [rw] logs_config
|
|
6767
6852
|
# Information about logs for the build project. A project can create
|
|
6768
|
-
# logs in
|
|
6853
|
+
# logs in CloudWatch Logs, logs in an S3 bucket, or both.
|
|
6769
6854
|
# @return [Types::LogsConfig]
|
|
6770
6855
|
#
|
|
6771
6856
|
# @!attribute [rw] file_system_locations
|
|
@@ -6830,6 +6915,78 @@ module Aws::CodeBuild
|
|
|
6830
6915
|
include Aws::Structure
|
|
6831
6916
|
end
|
|
6832
6917
|
|
|
6918
|
+
# @note When making an API call, you may pass UpdateProjectVisibilityInput
|
|
6919
|
+
# data as a hash:
|
|
6920
|
+
#
|
|
6921
|
+
# {
|
|
6922
|
+
# project_arn: "NonEmptyString", # required
|
|
6923
|
+
# project_visibility: "PUBLIC_READ", # required, accepts PUBLIC_READ, PRIVATE
|
|
6924
|
+
# resource_access_role: "NonEmptyString",
|
|
6925
|
+
# }
|
|
6926
|
+
#
|
|
6927
|
+
# @!attribute [rw] project_arn
|
|
6928
|
+
# The Amazon Resource Name (ARN) of the build project.
|
|
6929
|
+
# @return [String]
|
|
6930
|
+
#
|
|
6931
|
+
# @!attribute [rw] project_visibility
|
|
6932
|
+
# Specifies the visibility of the project's builds. Possible values
|
|
6933
|
+
# are:
|
|
6934
|
+
#
|
|
6935
|
+
# PUBLIC\_READ
|
|
6936
|
+
#
|
|
6937
|
+
# : The project builds are visible to the public.
|
|
6938
|
+
#
|
|
6939
|
+
# PRIVATE
|
|
6940
|
+
#
|
|
6941
|
+
# : The project builds are not visible to the public.
|
|
6942
|
+
# @return [String]
|
|
6943
|
+
#
|
|
6944
|
+
# @!attribute [rw] resource_access_role
|
|
6945
|
+
# The ARN of the IAM role that enables CodeBuild to access the
|
|
6946
|
+
# CloudWatch Logs and Amazon S3 artifacts for the project's builds.
|
|
6947
|
+
# @return [String]
|
|
6948
|
+
#
|
|
6949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibilityInput AWS API Documentation
|
|
6950
|
+
#
|
|
6951
|
+
class UpdateProjectVisibilityInput < Struct.new(
|
|
6952
|
+
:project_arn,
|
|
6953
|
+
:project_visibility,
|
|
6954
|
+
:resource_access_role)
|
|
6955
|
+
SENSITIVE = []
|
|
6956
|
+
include Aws::Structure
|
|
6957
|
+
end
|
|
6958
|
+
|
|
6959
|
+
# @!attribute [rw] project_arn
|
|
6960
|
+
# The Amazon Resource Name (ARN) of the build project.
|
|
6961
|
+
# @return [String]
|
|
6962
|
+
#
|
|
6963
|
+
# @!attribute [rw] public_project_alias
|
|
6964
|
+
# Contains the project identifier used with the public build APIs.
|
|
6965
|
+
# @return [String]
|
|
6966
|
+
#
|
|
6967
|
+
# @!attribute [rw] project_visibility
|
|
6968
|
+
# Specifies the visibility of the project's builds. Possible values
|
|
6969
|
+
# are:
|
|
6970
|
+
#
|
|
6971
|
+
# PUBLIC\_READ
|
|
6972
|
+
#
|
|
6973
|
+
# : The project builds are visible to the public.
|
|
6974
|
+
#
|
|
6975
|
+
# PRIVATE
|
|
6976
|
+
#
|
|
6977
|
+
# : The project builds are not visible to the public.
|
|
6978
|
+
# @return [String]
|
|
6979
|
+
#
|
|
6980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibilityOutput AWS API Documentation
|
|
6981
|
+
#
|
|
6982
|
+
class UpdateProjectVisibilityOutput < Struct.new(
|
|
6983
|
+
:project_arn,
|
|
6984
|
+
:public_project_alias,
|
|
6985
|
+
:project_visibility)
|
|
6986
|
+
SENSITIVE = []
|
|
6987
|
+
include Aws::Structure
|
|
6988
|
+
end
|
|
6989
|
+
|
|
6833
6990
|
# @note When making an API call, you may pass UpdateReportGroupInput
|
|
6834
6991
|
# data as a hash:
|
|
6835
6992
|
#
|
|
@@ -6870,8 +7027,8 @@ module Aws::CodeBuild
|
|
|
6870
7027
|
# An updated list of tag key and value pairs associated with this
|
|
6871
7028
|
# report group.
|
|
6872
7029
|
#
|
|
6873
|
-
# These tags are available for use by
|
|
6874
|
-
# CodeBuild report group tags.
|
|
7030
|
+
# These tags are available for use by Amazon Web Services services
|
|
7031
|
+
# that support CodeBuild report group tags.
|
|
6875
7032
|
# @return [Array<Types::Tag>]
|
|
6876
7033
|
#
|
|
6877
7034
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroupInput AWS API Documentation
|
|
@@ -6916,7 +7073,7 @@ module Aws::CodeBuild
|
|
|
6916
7073
|
# }
|
|
6917
7074
|
#
|
|
6918
7075
|
# @!attribute [rw] project_name
|
|
6919
|
-
# The name of the
|
|
7076
|
+
# The name of the CodeBuild project.
|
|
6920
7077
|
# @return [String]
|
|
6921
7078
|
#
|
|
6922
7079
|
# @!attribute [rw] branch_filter
|
|
@@ -6961,7 +7118,7 @@ module Aws::CodeBuild
|
|
|
6961
7118
|
|
|
6962
7119
|
# @!attribute [rw] webhook
|
|
6963
7120
|
# Information about a repository's webhook that is associated with a
|
|
6964
|
-
# project in
|
|
7121
|
+
# project in CodeBuild.
|
|
6965
7122
|
# @return [Types::Webhook]
|
|
6966
7123
|
#
|
|
6967
7124
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookOutput AWS API Documentation
|
|
@@ -6972,7 +7129,7 @@ module Aws::CodeBuild
|
|
|
6972
7129
|
include Aws::Structure
|
|
6973
7130
|
end
|
|
6974
7131
|
|
|
6975
|
-
# Information about the VPC configuration that
|
|
7132
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
|
6976
7133
|
#
|
|
6977
7134
|
# @note When making an API call, you may pass VpcConfig
|
|
6978
7135
|
# data as a hash:
|
|
@@ -7006,14 +7163,14 @@ module Aws::CodeBuild
|
|
|
7006
7163
|
end
|
|
7007
7164
|
|
|
7008
7165
|
# Information about a webhook that connects repository events to a build
|
|
7009
|
-
# project in
|
|
7166
|
+
# project in CodeBuild.
|
|
7010
7167
|
#
|
|
7011
7168
|
# @!attribute [rw] url
|
|
7012
7169
|
# The URL to the webhook.
|
|
7013
7170
|
# @return [String]
|
|
7014
7171
|
#
|
|
7015
7172
|
# @!attribute [rw] payload_url
|
|
7016
|
-
# The
|
|
7173
|
+
# The CodeBuild endpoint where webhook events are sent.
|
|
7017
7174
|
# @return [String]
|
|
7018
7175
|
#
|
|
7019
7176
|
# @!attribute [rw] secret
|