aws-sdk-codebuild 1.76.0 → 1.80.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/client.rb +205 -367
- data/lib/aws-sdk-codebuild/client_api.rb +26 -0
- data/lib/aws-sdk-codebuild/types.rb +498 -356
- data/lib/aws-sdk-codebuild.rb +1 -1
- metadata +2 -2
@@ -176,6 +176,7 @@ module Aws::CodeBuild
|
|
176
176
|
ProjectSource = Shapes::StructureShape.new(name: 'ProjectSource')
|
177
177
|
ProjectSourceVersion = Shapes::StructureShape.new(name: 'ProjectSourceVersion')
|
178
178
|
ProjectSources = Shapes::ListShape.new(name: 'ProjectSources')
|
179
|
+
ProjectVisibilityType = Shapes::StringShape.new(name: 'ProjectVisibilityType')
|
179
180
|
Projects = Shapes::ListShape.new(name: 'Projects')
|
180
181
|
PutResourcePolicyInput = Shapes::StructureShape.new(name: 'PutResourcePolicyInput')
|
181
182
|
PutResourcePolicyOutput = Shapes::StructureShape.new(name: 'PutResourcePolicyOutput')
|
@@ -243,6 +244,8 @@ module Aws::CodeBuild
|
|
243
244
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
244
245
|
UpdateProjectInput = Shapes::StructureShape.new(name: 'UpdateProjectInput')
|
245
246
|
UpdateProjectOutput = Shapes::StructureShape.new(name: 'UpdateProjectOutput')
|
247
|
+
UpdateProjectVisibilityInput = Shapes::StructureShape.new(name: 'UpdateProjectVisibilityInput')
|
248
|
+
UpdateProjectVisibilityOutput = Shapes::StructureShape.new(name: 'UpdateProjectVisibilityOutput')
|
246
249
|
UpdateReportGroupInput = Shapes::StructureShape.new(name: 'UpdateReportGroupInput')
|
247
250
|
UpdateReportGroupOutput = Shapes::StructureShape.new(name: 'UpdateReportGroupOutput')
|
248
251
|
UpdateWebhookInput = Shapes::StructureShape.new(name: 'UpdateWebhookInput')
|
@@ -817,6 +820,9 @@ module Aws::CodeBuild
|
|
817
820
|
Project.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
818
821
|
Project.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
|
819
822
|
Project.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
|
823
|
+
Project.add_member(:project_visibility, Shapes::ShapeRef.new(shape: ProjectVisibilityType, location_name: "projectVisibility"))
|
824
|
+
Project.add_member(:public_project_alias, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "publicProjectAlias"))
|
825
|
+
Project.add_member(:resource_access_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceAccessRole"))
|
820
826
|
Project.struct_class = Types::Project
|
821
827
|
|
822
828
|
ProjectArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
@@ -1151,6 +1157,16 @@ module Aws::CodeBuild
|
|
1151
1157
|
UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
1152
1158
|
UpdateProjectOutput.struct_class = Types::UpdateProjectOutput
|
1153
1159
|
|
1160
|
+
UpdateProjectVisibilityInput.add_member(:project_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectArn"))
|
1161
|
+
UpdateProjectVisibilityInput.add_member(:project_visibility, Shapes::ShapeRef.new(shape: ProjectVisibilityType, required: true, location_name: "projectVisibility"))
|
1162
|
+
UpdateProjectVisibilityInput.add_member(:resource_access_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceAccessRole"))
|
1163
|
+
UpdateProjectVisibilityInput.struct_class = Types::UpdateProjectVisibilityInput
|
1164
|
+
|
1165
|
+
UpdateProjectVisibilityOutput.add_member(:project_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "projectArn"))
|
1166
|
+
UpdateProjectVisibilityOutput.add_member(:public_project_alias, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "publicProjectAlias"))
|
1167
|
+
UpdateProjectVisibilityOutput.add_member(:project_visibility, Shapes::ShapeRef.new(shape: ProjectVisibilityType, location_name: "projectVisibility"))
|
1168
|
+
UpdateProjectVisibilityOutput.struct_class = Types::UpdateProjectVisibilityOutput
|
1169
|
+
|
1154
1170
|
UpdateReportGroupInput.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "arn"))
|
1155
1171
|
UpdateReportGroupInput.add_member(:export_config, Shapes::ShapeRef.new(shape: ReportExportConfig, location_name: "exportConfig"))
|
1156
1172
|
UpdateReportGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
@@ -1681,6 +1697,16 @@ module Aws::CodeBuild
|
|
1681
1697
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1682
1698
|
end)
|
1683
1699
|
|
1700
|
+
api.add_operation(:update_project_visibility, Seahorse::Model::Operation.new.tap do |o|
|
1701
|
+
o.name = "UpdateProjectVisibility"
|
1702
|
+
o.http_method = "POST"
|
1703
|
+
o.http_request_uri = "/"
|
1704
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateProjectVisibilityInput)
|
1705
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateProjectVisibilityOutput)
|
1706
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1707
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1708
|
+
end)
|
1709
|
+
|
1684
1710
|
api.add_operation(:update_report_group, Seahorse::Model::Operation.new.tap do |o|
|
1685
1711
|
o.name = "UpdateReportGroup"
|
1686
1712
|
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.
|
@@ -934,11 +938,6 @@ module Aws::CodeBuild
|
|
934
938
|
#
|
935
939
|
# : The build phase is still in progress.
|
936
940
|
#
|
937
|
-
# QUEUED
|
938
|
-
#
|
939
|
-
# : The build has been submitted and is queued behind other submitted
|
940
|
-
# builds.
|
941
|
-
#
|
942
941
|
# STOPPED
|
943
942
|
#
|
944
943
|
# : The build phase stopped.
|
@@ -1047,35 +1046,50 @@ module Aws::CodeBuild
|
|
1047
1046
|
# @!attribute [rw] phase_type
|
1048
1047
|
# The name of the build phase. Valid values include:
|
1049
1048
|
#
|
1050
|
-
#
|
1051
|
-
#
|
1049
|
+
# BUILD
|
1050
|
+
#
|
1051
|
+
# : Core build activities typically occur in this build phase.
|
1052
|
+
#
|
1053
|
+
# COMPLETED
|
1054
|
+
#
|
1055
|
+
# : The build has been completed.
|
1056
|
+
#
|
1057
|
+
# DOWNLOAD\_SOURCE
|
1058
|
+
#
|
1059
|
+
# : Source code is being downloaded in this build phase.
|
1052
1060
|
#
|
1053
|
-
#
|
1061
|
+
# FINALIZING
|
1054
1062
|
#
|
1055
|
-
#
|
1056
|
-
# phase.
|
1063
|
+
# : The build process is completing in this build phase.
|
1057
1064
|
#
|
1058
|
-
#
|
1059
|
-
# phase.
|
1065
|
+
# INSTALL
|
1060
1066
|
#
|
1061
|
-
#
|
1062
|
-
# phase.
|
1067
|
+
# : Installation activities typically occur in this build phase.
|
1063
1068
|
#
|
1064
|
-
#
|
1065
|
-
# phase.
|
1069
|
+
# POST\_BUILD
|
1066
1070
|
#
|
1067
|
-
#
|
1068
|
-
# phase.
|
1071
|
+
# : Post-build activities typically occur in this build phase.
|
1069
1072
|
#
|
1070
|
-
#
|
1073
|
+
# PRE\_BUILD
|
1071
1074
|
#
|
1072
|
-
#
|
1073
|
-
# submitted builds.
|
1075
|
+
# : Pre-build activities typically occur in this build phase.
|
1074
1076
|
#
|
1075
|
-
#
|
1077
|
+
# PROVISIONING
|
1076
1078
|
#
|
1077
|
-
#
|
1078
|
-
#
|
1079
|
+
# : The build environment is being set up.
|
1080
|
+
#
|
1081
|
+
# QUEUED
|
1082
|
+
#
|
1083
|
+
# : The build has been submitted and is queued behind other submitted
|
1084
|
+
# builds.
|
1085
|
+
#
|
1086
|
+
# SUBMITTED
|
1087
|
+
#
|
1088
|
+
# : The build has been submitted.
|
1089
|
+
#
|
1090
|
+
# UPLOAD\_ARTIFACTS
|
1091
|
+
#
|
1092
|
+
# : Build output artifacts are being uploaded to the output location.
|
1079
1093
|
# @return [String]
|
1080
1094
|
#
|
1081
1095
|
# @!attribute [rw] phase_status
|
@@ -1093,11 +1107,6 @@ module Aws::CodeBuild
|
|
1093
1107
|
#
|
1094
1108
|
# : The build phase is still in progress.
|
1095
1109
|
#
|
1096
|
-
# QUEUED
|
1097
|
-
#
|
1098
|
-
# : The build has been submitted and is queued behind other submitted
|
1099
|
-
# builds.
|
1100
|
-
#
|
1101
1110
|
# STOPPED
|
1102
1111
|
#
|
1103
1112
|
# : The build phase stopped.
|
@@ -1142,7 +1151,7 @@ module Aws::CodeBuild
|
|
1142
1151
|
include Aws::Structure
|
1143
1152
|
end
|
1144
1153
|
|
1145
|
-
# Contains information that defines how the
|
1154
|
+
# Contains information that defines how the CodeBuild build project
|
1146
1155
|
# reports the build status to the source provider.
|
1147
1156
|
#
|
1148
1157
|
# @note When making an API call, you may pass BuildStatusConfig
|
@@ -1268,7 +1277,7 @@ module Aws::CodeBuild
|
|
1268
1277
|
include Aws::Structure
|
1269
1278
|
end
|
1270
1279
|
|
1271
|
-
# Information about
|
1280
|
+
# Information about CloudWatch Logs for a build project.
|
1272
1281
|
#
|
1273
1282
|
# @note When making an API call, you may pass CloudWatchLogsConfig
|
1274
1283
|
# data as a hash:
|
@@ -1280,19 +1289,18 @@ module Aws::CodeBuild
|
|
1280
1289
|
# }
|
1281
1290
|
#
|
1282
1291
|
# @!attribute [rw] status
|
1283
|
-
# The current status of the logs in
|
1292
|
+
# The current status of the logs in CloudWatch Logs for a build
|
1284
1293
|
# project. Valid values are:
|
1285
1294
|
#
|
1286
|
-
# * `ENABLED`\:
|
1287
|
-
# project.
|
1295
|
+
# * `ENABLED`\: CloudWatch Logs are enabled for this build project.
|
1288
1296
|
#
|
1289
|
-
# * `DISABLED`\:
|
1297
|
+
# * `DISABLED`\: CloudWatch Logs are not enabled for this build
|
1290
1298
|
# project.
|
1291
1299
|
# @return [String]
|
1292
1300
|
#
|
1293
1301
|
# @!attribute [rw] group_name
|
1294
|
-
# The group name of the logs in
|
1295
|
-
#
|
1302
|
+
# The group name of the logs in CloudWatch Logs. For more information,
|
1303
|
+
# see [Working with Log Groups and Log Streams][1].
|
1296
1304
|
#
|
1297
1305
|
#
|
1298
1306
|
#
|
@@ -1300,8 +1308,8 @@ module Aws::CodeBuild
|
|
1300
1308
|
# @return [String]
|
1301
1309
|
#
|
1302
1310
|
# @!attribute [rw] stream_name
|
1303
|
-
# The prefix of the stream name of the
|
1304
|
-
#
|
1311
|
+
# The prefix of the stream name of the CloudWatch Logs. For more
|
1312
|
+
# information, see [Working with Log Groups and Log Streams][1].
|
1305
1313
|
#
|
1306
1314
|
#
|
1307
1315
|
#
|
@@ -1608,7 +1616,7 @@ module Aws::CodeBuild
|
|
1608
1616
|
# specified, the latest version is used. If specified, it must be one
|
1609
1617
|
# of:
|
1610
1618
|
#
|
1611
|
-
# * For
|
1619
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
1612
1620
|
#
|
1613
1621
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
1614
1622
|
# name that corresponds to the version of the source code you want
|
@@ -1631,7 +1639,7 @@ module Aws::CodeBuild
|
|
1631
1639
|
# level).
|
1632
1640
|
#
|
1633
1641
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
1634
|
-
# in the *
|
1642
|
+
# in the *CodeBuild User Guide*.
|
1635
1643
|
#
|
1636
1644
|
#
|
1637
1645
|
#
|
@@ -1663,15 +1671,15 @@ module Aws::CodeBuild
|
|
1663
1671
|
# @return [Types::ProjectEnvironment]
|
1664
1672
|
#
|
1665
1673
|
# @!attribute [rw] service_role
|
1666
|
-
# The ARN of the
|
1667
|
-
#
|
1668
|
-
#
|
1674
|
+
# The ARN of the IAM role that enables CodeBuild to interact with
|
1675
|
+
# dependent Amazon Web Services services on behalf of the Amazon Web
|
1676
|
+
# Services account.
|
1669
1677
|
# @return [String]
|
1670
1678
|
#
|
1671
1679
|
# @!attribute [rw] timeout_in_minutes
|
1672
|
-
# How long, in minutes, from 5 to 480 (8 hours), for
|
1673
|
-
#
|
1674
|
-
#
|
1680
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
1681
|
+
# before it times out any build that has not been marked as completed.
|
1682
|
+
# The default is 60 minutes.
|
1675
1683
|
# @return [Integer]
|
1676
1684
|
#
|
1677
1685
|
# @!attribute [rw] queued_timeout_in_minutes
|
@@ -1680,8 +1688,8 @@ module Aws::CodeBuild
|
|
1680
1688
|
# @return [Integer]
|
1681
1689
|
#
|
1682
1690
|
# @!attribute [rw] encryption_key
|
1683
|
-
# The
|
1684
|
-
#
|
1691
|
+
# The Key Management Service customer master key (CMK) to be used for
|
1692
|
+
# encrypting the build output artifacts.
|
1685
1693
|
#
|
1686
1694
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
1687
1695
|
# artifacts if your service role has permission to that key.
|
@@ -1697,13 +1705,12 @@ module Aws::CodeBuild
|
|
1697
1705
|
# A list of tag key and value pairs associated with this build
|
1698
1706
|
# project.
|
1699
1707
|
#
|
1700
|
-
# These tags are available for use by
|
1701
|
-
# CodeBuild build project tags.
|
1708
|
+
# These tags are available for use by Amazon Web Services services
|
1709
|
+
# that support CodeBuild build project tags.
|
1702
1710
|
# @return [Array<Types::Tag>]
|
1703
1711
|
#
|
1704
1712
|
# @!attribute [rw] vpc_config
|
1705
|
-
# VpcConfig enables
|
1706
|
-
# VPC.
|
1713
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
1707
1714
|
# @return [Types::VpcConfig]
|
1708
1715
|
#
|
1709
1716
|
# @!attribute [rw] badge_enabled
|
@@ -1713,8 +1720,7 @@ module Aws::CodeBuild
|
|
1713
1720
|
#
|
1714
1721
|
# @!attribute [rw] logs_config
|
1715
1722
|
# Information about logs for the build project. These can be logs in
|
1716
|
-
#
|
1717
|
-
# both.
|
1723
|
+
# CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
|
1718
1724
|
# @return [Types::LogsConfig]
|
1719
1725
|
#
|
1720
1726
|
# @!attribute [rw] file_system_locations
|
@@ -1819,8 +1825,8 @@ module Aws::CodeBuild
|
|
1819
1825
|
# @!attribute [rw] tags
|
1820
1826
|
# A list of tag key and value pairs associated with this report group.
|
1821
1827
|
#
|
1822
|
-
# These tags are available for use by
|
1823
|
-
# CodeBuild report group tags.
|
1828
|
+
# These tags are available for use by Amazon Web Services services
|
1829
|
+
# that support CodeBuild report group tags.
|
1824
1830
|
# @return [Array<Types::Tag>]
|
1825
1831
|
#
|
1826
1832
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroupInput AWS API Documentation
|
@@ -1865,7 +1871,7 @@ module Aws::CodeBuild
|
|
1865
1871
|
# }
|
1866
1872
|
#
|
1867
1873
|
# @!attribute [rw] project_name
|
1868
|
-
# The name of the
|
1874
|
+
# The name of the CodeBuild project.
|
1869
1875
|
# @return [String]
|
1870
1876
|
#
|
1871
1877
|
# @!attribute [rw] branch_filter
|
@@ -1907,7 +1913,7 @@ module Aws::CodeBuild
|
|
1907
1913
|
|
1908
1914
|
# @!attribute [rw] webhook
|
1909
1915
|
# Information about a webhook that connects repository events to a
|
1910
|
-
# build project in
|
1916
|
+
# build project in CodeBuild.
|
1911
1917
|
# @return [Types::Webhook]
|
1912
1918
|
#
|
1913
1919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput AWS API Documentation
|
@@ -2136,7 +2142,7 @@ module Aws::CodeBuild
|
|
2136
2142
|
# }
|
2137
2143
|
#
|
2138
2144
|
# @!attribute [rw] project_name
|
2139
|
-
# The name of the
|
2145
|
+
# The name of the CodeBuild project.
|
2140
2146
|
# @return [String]
|
2141
2147
|
#
|
2142
2148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput AWS API Documentation
|
@@ -2308,7 +2314,7 @@ module Aws::CodeBuild
|
|
2308
2314
|
include Aws::Structure
|
2309
2315
|
end
|
2310
2316
|
|
2311
|
-
# Information about a Docker image that is managed by
|
2317
|
+
# Information about a Docker image that is managed by CodeBuild.
|
2312
2318
|
#
|
2313
2319
|
# @!attribute [rw] name
|
2314
2320
|
# The name of the Docker image.
|
@@ -2333,7 +2339,7 @@ module Aws::CodeBuild
|
|
2333
2339
|
end
|
2334
2340
|
|
2335
2341
|
# A set of Docker images that are related by programming language and
|
2336
|
-
# are managed by
|
2342
|
+
# are managed by CodeBuild.
|
2337
2343
|
#
|
2338
2344
|
# @!attribute [rw] language
|
2339
2345
|
# The programming language for the Docker images.
|
@@ -2354,7 +2360,7 @@ module Aws::CodeBuild
|
|
2354
2360
|
end
|
2355
2361
|
|
2356
2362
|
# A set of Docker images that are related by platform and are managed by
|
2357
|
-
#
|
2363
|
+
# CodeBuild.
|
2358
2364
|
#
|
2359
2365
|
# @!attribute [rw] platform
|
2360
2366
|
# The platform's name.
|
@@ -2394,27 +2400,27 @@ module Aws::CodeBuild
|
|
2394
2400
|
# The value of the environment variable.
|
2395
2401
|
#
|
2396
2402
|
# 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
|
-
#
|
2403
|
+
# to store sensitive values, especially Amazon Web Services secret key
|
2404
|
+
# IDs and secret access keys. `PLAINTEXT` environment variables can be
|
2405
|
+
# displayed in plain text using the CodeBuild console and the CLI. For
|
2406
|
+
# sensitive values, we recommend you use an environment variable of
|
2407
|
+
# type `PARAMETER_STORE` or `SECRETS_MANAGER`.
|
2402
2408
|
# @return [String]
|
2403
2409
|
#
|
2404
2410
|
# @!attribute [rw] type
|
2405
2411
|
# The type of environment variable. Valid values include:
|
2406
2412
|
#
|
2407
|
-
# * `PARAMETER_STORE`\: An environment variable stored in
|
2408
|
-
#
|
2409
|
-
#
|
2410
|
-
#
|
2413
|
+
# * `PARAMETER_STORE`\: An environment variable stored in Systems
|
2414
|
+
# Manager Parameter Store. To learn how to specify a parameter store
|
2415
|
+
# environment variable, see [env/parameter-store][1] in the
|
2416
|
+
# *CodeBuild User Guide*.
|
2411
2417
|
#
|
2412
2418
|
# * `PLAINTEXT`\: An environment variable in plain text format. This
|
2413
2419
|
# is the default value.
|
2414
2420
|
#
|
2415
|
-
# * `SECRETS_MANAGER`\: An environment variable stored in
|
2421
|
+
# * `SECRETS_MANAGER`\: An environment variable stored in Secrets
|
2416
2422
|
# Manager. To learn how to specify a secrets manager environment
|
2417
|
-
# variable, see [env/secrets-manager][2] in the *
|
2423
|
+
# variable, see [env/secrets-manager][2] in the *CodeBuild User
|
2418
2424
|
# Guide*.
|
2419
2425
|
#
|
2420
2426
|
#
|
@@ -2435,10 +2441,10 @@ module Aws::CodeBuild
|
|
2435
2441
|
|
2436
2442
|
# Contains information about an exported environment variable.
|
2437
2443
|
#
|
2438
|
-
# Exported environment variables are used in conjunction with
|
2444
|
+
# Exported environment variables are used in conjunction with
|
2439
2445
|
# CodePipeline to export environment variables from the current build
|
2440
2446
|
# stage to subsequent stages in the pipeline. For more information, see
|
2441
|
-
# [Working with variables][1] in the *
|
2447
|
+
# [Working with variables][1] in the *CodePipeline User Guide*.
|
2442
2448
|
#
|
2443
2449
|
# <note markdown="1"> During a build, the value of a variable is available starting with the
|
2444
2450
|
# `install` phase. It can be updated between the start of the `install`
|
@@ -2600,8 +2606,8 @@ module Aws::CodeBuild
|
|
2600
2606
|
include Aws::Structure
|
2601
2607
|
end
|
2602
2608
|
|
2603
|
-
# Information about the Git submodules configuration for an
|
2604
|
-
#
|
2609
|
+
# Information about the Git submodules configuration for an CodeBuild
|
2610
|
+
# build project.
|
2605
2611
|
#
|
2606
2612
|
# @note When making an API call, you may pass GitSubmodulesConfig
|
2607
2613
|
# data as a hash:
|
@@ -2611,7 +2617,7 @@ module Aws::CodeBuild
|
|
2611
2617
|
# }
|
2612
2618
|
#
|
2613
2619
|
# @!attribute [rw] fetch_submodules
|
2614
|
-
# Set to true to fetch Git submodules for your
|
2620
|
+
# Set to true to fetch Git submodules for your CodeBuild build
|
2615
2621
|
# project.
|
2616
2622
|
# @return [Boolean]
|
2617
2623
|
#
|
@@ -2652,7 +2658,7 @@ module Aws::CodeBuild
|
|
2652
2658
|
# @!attribute [rw] auth_type
|
2653
2659
|
# The type of authentication used to connect to a GitHub, GitHub
|
2654
2660
|
# Enterprise, or Bitbucket repository. An OAUTH connection is not
|
2655
|
-
# supported by the API and must be created using the
|
2661
|
+
# supported by the API and must be created using the CodeBuild
|
2656
2662
|
# console.
|
2657
2663
|
# @return [String]
|
2658
2664
|
#
|
@@ -2700,8 +2706,7 @@ module Aws::CodeBuild
|
|
2700
2706
|
# }
|
2701
2707
|
#
|
2702
2708
|
# @!attribute [rw] project_name
|
2703
|
-
# The name of the
|
2704
|
-
# for.
|
2709
|
+
# The name of the CodeBuild build project that the cache is reset for.
|
2705
2710
|
# @return [String]
|
2706
2711
|
#
|
2707
2712
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput AWS API Documentation
|
@@ -2868,7 +2873,7 @@ module Aws::CodeBuild
|
|
2868
2873
|
# }
|
2869
2874
|
#
|
2870
2875
|
# @!attribute [rw] project_name
|
2871
|
-
# The name of the
|
2876
|
+
# The name of the CodeBuild project.
|
2872
2877
|
# @return [String]
|
2873
2878
|
#
|
2874
2879
|
# @!attribute [rw] sort_order
|
@@ -2989,7 +2994,7 @@ module Aws::CodeBuild
|
|
2989
2994
|
|
2990
2995
|
# @!attribute [rw] platforms
|
2991
2996
|
# Information about supported platforms for Docker images that are
|
2992
|
-
# managed by
|
2997
|
+
# managed by CodeBuild.
|
2993
2998
|
# @return [Array<Types::EnvironmentPlatform>]
|
2994
2999
|
#
|
2995
3000
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesOutput AWS API Documentation
|
@@ -3142,7 +3147,8 @@ module Aws::CodeBuild
|
|
3142
3147
|
# @return [String]
|
3143
3148
|
#
|
3144
3149
|
# @!attribute [rw] report_groups
|
3145
|
-
# The list of ARNs for the report groups in the current
|
3150
|
+
# The list of ARNs for the report groups in the current Amazon Web
|
3151
|
+
# Services account.
|
3146
3152
|
# @return [Array<String>]
|
3147
3153
|
#
|
3148
3154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportGroupsOutput AWS API Documentation
|
@@ -3297,8 +3303,8 @@ module Aws::CodeBuild
|
|
3297
3303
|
# @return [String]
|
3298
3304
|
#
|
3299
3305
|
# @!attribute [rw] reports
|
3300
|
-
# The list of returned ARNs for the reports in the current
|
3301
|
-
# account.
|
3306
|
+
# The list of returned ARNs for the reports in the current Amazon Web
|
3307
|
+
# Services account.
|
3302
3308
|
# @return [Array<String>]
|
3303
3309
|
#
|
3304
3310
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsOutput AWS API Documentation
|
@@ -3322,7 +3328,7 @@ module Aws::CodeBuild
|
|
3322
3328
|
#
|
3323
3329
|
# @!attribute [rw] sort_by
|
3324
3330
|
# The criterion to be used to list build projects shared with the
|
3325
|
-
# current
|
3331
|
+
# current Amazon Web Services account or user. Valid values include:
|
3326
3332
|
#
|
3327
3333
|
# * `ARN`\: List based on the ARN.
|
3328
3334
|
#
|
@@ -3377,8 +3383,8 @@ module Aws::CodeBuild
|
|
3377
3383
|
# @return [String]
|
3378
3384
|
#
|
3379
3385
|
# @!attribute [rw] projects
|
3380
|
-
# The list of ARNs for the build projects shared with the current
|
3381
|
-
# account or user.
|
3386
|
+
# The list of ARNs for the build projects shared with the current
|
3387
|
+
# Amazon Web Services account or user.
|
3382
3388
|
# @return [Array<String>]
|
3383
3389
|
#
|
3384
3390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedProjectsOutput AWS API Documentation
|
@@ -3411,7 +3417,7 @@ module Aws::CodeBuild
|
|
3411
3417
|
#
|
3412
3418
|
# @!attribute [rw] sort_by
|
3413
3419
|
# The criterion to be used to list report groups shared with the
|
3414
|
-
# current
|
3420
|
+
# current Amazon Web Services account or user. Valid values include:
|
3415
3421
|
#
|
3416
3422
|
# * `ARN`\: List based on the ARN.
|
3417
3423
|
#
|
@@ -3457,8 +3463,8 @@ module Aws::CodeBuild
|
|
3457
3463
|
# @return [String]
|
3458
3464
|
#
|
3459
3465
|
# @!attribute [rw] report_groups
|
3460
|
-
# The list of ARNs for the report groups shared with the current
|
3461
|
-
# account or user.
|
3466
|
+
# The list of ARNs for the report groups shared with the current
|
3467
|
+
# Amazon Web Services account or user.
|
3462
3468
|
# @return [Array<String>]
|
3463
3469
|
#
|
3464
3470
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedReportGroupsOutput AWS API Documentation
|
@@ -3491,7 +3497,7 @@ module Aws::CodeBuild
|
|
3491
3497
|
end
|
3492
3498
|
|
3493
3499
|
# Information about logs for a build project. These can be logs in
|
3494
|
-
#
|
3500
|
+
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
3495
3501
|
#
|
3496
3502
|
# @note When making an API call, you may pass LogsConfig
|
3497
3503
|
# data as a hash:
|
@@ -3511,8 +3517,8 @@ module Aws::CodeBuild
|
|
3511
3517
|
# }
|
3512
3518
|
#
|
3513
3519
|
# @!attribute [rw] cloud_watch_logs
|
3514
|
-
# Information about
|
3515
|
-
#
|
3520
|
+
# Information about CloudWatch Logs for a build project. CloudWatch
|
3521
|
+
# Logs are enabled by default.
|
3516
3522
|
# @return [Types::CloudWatchLogsConfig]
|
3517
3523
|
#
|
3518
3524
|
# @!attribute [rw] s3_logs
|
@@ -3529,18 +3535,18 @@ module Aws::CodeBuild
|
|
3529
3535
|
include Aws::Structure
|
3530
3536
|
end
|
3531
3537
|
|
3532
|
-
# Information about build logs in
|
3538
|
+
# Information about build logs in CloudWatch Logs.
|
3533
3539
|
#
|
3534
3540
|
# @!attribute [rw] group_name
|
3535
|
-
# The name of the
|
3541
|
+
# The name of the CloudWatch Logs group for the build logs.
|
3536
3542
|
# @return [String]
|
3537
3543
|
#
|
3538
3544
|
# @!attribute [rw] stream_name
|
3539
|
-
# The name of the
|
3545
|
+
# The name of the CloudWatch Logs stream for the build logs.
|
3540
3546
|
# @return [String]
|
3541
3547
|
#
|
3542
3548
|
# @!attribute [rw] deep_link
|
3543
|
-
# The URL to an individual build log in
|
3549
|
+
# The URL to an individual build log in CloudWatch Logs.
|
3544
3550
|
# @return [String]
|
3545
3551
|
#
|
3546
3552
|
# @!attribute [rw] s3_deep_link
|
@@ -3548,10 +3554,9 @@ module Aws::CodeBuild
|
|
3548
3554
|
# @return [String]
|
3549
3555
|
#
|
3550
3556
|
# @!attribute [rw] cloud_watch_logs_arn
|
3551
|
-
# The ARN of
|
3557
|
+
# The ARN of CloudWatch Logs for a build project. Its format is
|
3552
3558
|
# `arn:$\{Partition\}:logs:$\{Region\}:$\{Account\}:log-group:$\{LogGroupName\}:log-stream:$\{LogStreamName\}`.
|
3553
|
-
# For more information, see [Resources Defined by
|
3554
|
-
# Logs][1].
|
3559
|
+
# For more information, see [Resources Defined by CloudWatch Logs][1].
|
3555
3560
|
#
|
3556
3561
|
#
|
3557
3562
|
#
|
@@ -3569,7 +3574,7 @@ module Aws::CodeBuild
|
|
3569
3574
|
# @return [String]
|
3570
3575
|
#
|
3571
3576
|
# @!attribute [rw] cloud_watch_logs
|
3572
|
-
# Information about
|
3577
|
+
# Information about CloudWatch Logs for a build project.
|
3573
3578
|
# @return [Types::CloudWatchLogsConfig]
|
3574
3579
|
#
|
3575
3580
|
# @!attribute [rw] s3_logs
|
@@ -3665,7 +3670,7 @@ module Aws::CodeBuild
|
|
3665
3670
|
# specified, the latest version is used. If specified, it must be one
|
3666
3671
|
# of:
|
3667
3672
|
#
|
3668
|
-
# * For
|
3673
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
3669
3674
|
#
|
3670
3675
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
3671
3676
|
# name that corresponds to the version of the source code you want
|
@@ -3688,7 +3693,7 @@ module Aws::CodeBuild
|
|
3688
3693
|
# level).
|
3689
3694
|
#
|
3690
3695
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
3691
|
-
# in the *
|
3696
|
+
# in the *CodeBuild User Guide*.
|
3692
3697
|
#
|
3693
3698
|
#
|
3694
3699
|
#
|
@@ -3718,14 +3723,14 @@ module Aws::CodeBuild
|
|
3718
3723
|
# @return [Types::ProjectEnvironment]
|
3719
3724
|
#
|
3720
3725
|
# @!attribute [rw] service_role
|
3721
|
-
# The ARN of the
|
3722
|
-
#
|
3723
|
-
#
|
3726
|
+
# The ARN of the IAM role that enables CodeBuild to interact with
|
3727
|
+
# dependent Amazon Web Services services on behalf of the Amazon Web
|
3728
|
+
# Services account.
|
3724
3729
|
# @return [String]
|
3725
3730
|
#
|
3726
3731
|
# @!attribute [rw] timeout_in_minutes
|
3727
|
-
# How long, in minutes, from 5 to 480 (8 hours), for
|
3728
|
-
#
|
3732
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
3733
|
+
# before timing out any related build that did not get marked as
|
3729
3734
|
# completed. The default is 60 minutes.
|
3730
3735
|
# @return [Integer]
|
3731
3736
|
#
|
@@ -3735,8 +3740,8 @@ module Aws::CodeBuild
|
|
3735
3740
|
# @return [Integer]
|
3736
3741
|
#
|
3737
3742
|
# @!attribute [rw] encryption_key
|
3738
|
-
# The
|
3739
|
-
#
|
3743
|
+
# The Key Management Service customer master key (CMK) to be used for
|
3744
|
+
# encrypting the build output artifacts.
|
3740
3745
|
#
|
3741
3746
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
3742
3747
|
# artifacts if your service role has permission to that key.
|
@@ -3745,15 +3750,16 @@ module Aws::CodeBuild
|
|
3745
3750
|
#
|
3746
3751
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
3747
3752
|
# if available, the CMK's alias (using the format
|
3748
|
-
# `alias/<alias-name>`).
|
3753
|
+
# `alias/<alias-name>`). If you don't specify a value, CodeBuild uses
|
3754
|
+
# the managed CMK for Amazon Simple Storage Service (Amazon S3).
|
3749
3755
|
# @return [String]
|
3750
3756
|
#
|
3751
3757
|
# @!attribute [rw] tags
|
3752
3758
|
# A list of tag key and value pairs associated with this build
|
3753
3759
|
# project.
|
3754
3760
|
#
|
3755
|
-
# These tags are available for use by
|
3756
|
-
# CodeBuild build project tags.
|
3761
|
+
# These tags are available for use by Amazon Web Services services
|
3762
|
+
# that support CodeBuild build project tags.
|
3757
3763
|
# @return [Array<Types::Tag>]
|
3758
3764
|
#
|
3759
3765
|
# @!attribute [rw] created
|
@@ -3767,11 +3773,11 @@ module Aws::CodeBuild
|
|
3767
3773
|
#
|
3768
3774
|
# @!attribute [rw] webhook
|
3769
3775
|
# Information about a webhook that connects repository events to a
|
3770
|
-
# build project in
|
3776
|
+
# build project in CodeBuild.
|
3771
3777
|
# @return [Types::Webhook]
|
3772
3778
|
#
|
3773
3779
|
# @!attribute [rw] vpc_config
|
3774
|
-
# Information about the VPC configuration that
|
3780
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
3775
3781
|
# @return [Types::VpcConfig]
|
3776
3782
|
#
|
3777
3783
|
# @!attribute [rw] badge
|
@@ -3780,7 +3786,7 @@ module Aws::CodeBuild
|
|
3780
3786
|
#
|
3781
3787
|
# @!attribute [rw] logs_config
|
3782
3788
|
# Information about logs for the build project. A project can create
|
3783
|
-
# logs in
|
3789
|
+
# logs in CloudWatch Logs, an S3 bucket, or both.
|
3784
3790
|
# @return [Types::LogsConfig]
|
3785
3791
|
#
|
3786
3792
|
# @!attribute [rw] file_system_locations
|
@@ -3804,6 +3810,28 @@ module Aws::CodeBuild
|
|
3804
3810
|
# limit, new builds are throttled and are not run.
|
3805
3811
|
# @return [Integer]
|
3806
3812
|
#
|
3813
|
+
# @!attribute [rw] project_visibility
|
3814
|
+
# Specifies the visibility of the project's builds. Possible values
|
3815
|
+
# are:
|
3816
|
+
#
|
3817
|
+
# PUBLIC\_READ
|
3818
|
+
#
|
3819
|
+
# : The project builds are visible to the public.
|
3820
|
+
#
|
3821
|
+
# PRIVATE
|
3822
|
+
#
|
3823
|
+
# : The project builds are not visible to the public.
|
3824
|
+
# @return [String]
|
3825
|
+
#
|
3826
|
+
# @!attribute [rw] public_project_alias
|
3827
|
+
# Contains the project identifier used with the public build APIs.
|
3828
|
+
# @return [String]
|
3829
|
+
#
|
3830
|
+
# @!attribute [rw] resource_access_role
|
3831
|
+
# The ARN of the IAM role that enables CodeBuild to access the
|
3832
|
+
# CloudWatch Logs and Amazon S3 artifacts for the project's builds.
|
3833
|
+
# @return [String]
|
3834
|
+
#
|
3807
3835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
|
3808
3836
|
#
|
3809
3837
|
class Project < Struct.new(
|
@@ -3831,7 +3859,10 @@ module Aws::CodeBuild
|
|
3831
3859
|
:logs_config,
|
3832
3860
|
:file_system_locations,
|
3833
3861
|
:build_batch_config,
|
3834
|
-
:concurrent_build_limit
|
3862
|
+
:concurrent_build_limit,
|
3863
|
+
:project_visibility,
|
3864
|
+
:public_project_alias,
|
3865
|
+
:resource_access_role)
|
3835
3866
|
SENSITIVE = []
|
3836
3867
|
include Aws::Structure
|
3837
3868
|
end
|
@@ -3858,7 +3889,7 @@ module Aws::CodeBuild
|
|
3858
3889
|
# The type of build output artifact. Valid values include:
|
3859
3890
|
#
|
3860
3891
|
# * `CODEPIPELINE`\: The build project has build output generated
|
3861
|
-
# through
|
3892
|
+
# through CodePipeline.
|
3862
3893
|
#
|
3863
3894
|
# <note markdown="1"> The `CODEPIPELINE` type is not supported for `secondaryArtifacts`.
|
3864
3895
|
#
|
@@ -3873,9 +3904,9 @@ module Aws::CodeBuild
|
|
3873
3904
|
# @!attribute [rw] location
|
3874
3905
|
# Information about the build output artifact location:
|
3875
3906
|
#
|
3876
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3877
|
-
# value if specified. This is because
|
3878
|
-
#
|
3907
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3908
|
+
# value if specified. This is because CodePipeline manages its build
|
3909
|
+
# output locations instead of CodeBuild.
|
3879
3910
|
#
|
3880
3911
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3881
3912
|
# specified, because no build output is produced.
|
@@ -3884,12 +3915,12 @@ module Aws::CodeBuild
|
|
3884
3915
|
# @return [String]
|
3885
3916
|
#
|
3886
3917
|
# @!attribute [rw] path
|
3887
|
-
# Along with `namespaceType` and `name`, the pattern that
|
3888
|
-
#
|
3918
|
+
# Along with `namespaceType` and `name`, the pattern that CodeBuild
|
3919
|
+
# uses to name and store the output artifact:
|
3889
3920
|
#
|
3890
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3891
|
-
# value if specified. This is because
|
3892
|
-
#
|
3921
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3922
|
+
# value if specified. This is because CodePipeline manages its build
|
3923
|
+
# output names instead of CodeBuild.
|
3893
3924
|
#
|
3894
3925
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3895
3926
|
# specified, because no build output is produced.
|
@@ -3904,12 +3935,12 @@ module Aws::CodeBuild
|
|
3904
3935
|
# @return [String]
|
3905
3936
|
#
|
3906
3937
|
# @!attribute [rw] namespace_type
|
3907
|
-
# Along with `path` and `name`, the pattern that
|
3938
|
+
# Along with `path` and `name`, the pattern that CodeBuild uses to
|
3908
3939
|
# determine the name and location to store the output artifact:
|
3909
3940
|
#
|
3910
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3911
|
-
# value if specified. This is because
|
3912
|
-
#
|
3941
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3942
|
+
# value if specified. This is because CodePipeline manages its build
|
3943
|
+
# output names instead of CodeBuild.
|
3913
3944
|
#
|
3914
3945
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3915
3946
|
# specified, because no build output is produced.
|
@@ -3928,12 +3959,12 @@ module Aws::CodeBuild
|
|
3928
3959
|
# @return [String]
|
3929
3960
|
#
|
3930
3961
|
# @!attribute [rw] name
|
3931
|
-
# Along with `path` and `namespaceType`, the pattern that
|
3932
|
-
#
|
3962
|
+
# Along with `path` and `namespaceType`, the pattern that CodeBuild
|
3963
|
+
# uses to name and store the output artifact:
|
3933
3964
|
#
|
3934
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3935
|
-
# value if specified. This is because
|
3936
|
-
#
|
3965
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3966
|
+
# value if specified. This is because CodePipeline manages its build
|
3967
|
+
# output names instead of CodeBuild.
|
3937
3968
|
#
|
3938
3969
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3939
3970
|
# specified, because no build output is produced.
|
@@ -3960,21 +3991,21 @@ module Aws::CodeBuild
|
|
3960
3991
|
# @!attribute [rw] packaging
|
3961
3992
|
# The type of build output artifact to create:
|
3962
3993
|
#
|
3963
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3964
|
-
# value if specified. This is because
|
3965
|
-
#
|
3994
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3995
|
+
# value if specified. This is because CodePipeline manages its build
|
3996
|
+
# output artifacts instead of CodeBuild.
|
3966
3997
|
#
|
3967
3998
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3968
3999
|
# specified, because no build output is produced.
|
3969
4000
|
#
|
3970
4001
|
# * If `type` is set to `S3`, valid values include:
|
3971
4002
|
#
|
3972
|
-
# * `NONE`\:
|
3973
|
-
#
|
3974
|
-
#
|
4003
|
+
# * `NONE`\: CodeBuild creates in the output bucket a folder that
|
4004
|
+
# contains the build output. This is the default if `packaging` is
|
4005
|
+
# not specified.
|
3975
4006
|
#
|
3976
|
-
# * `ZIP`\:
|
3977
|
-
#
|
4007
|
+
# * `ZIP`\: CodeBuild creates in the output bucket a ZIP file that
|
4008
|
+
# contains the build output.
|
3978
4009
|
# @return [String]
|
3979
4010
|
#
|
3980
4011
|
# @!attribute [rw] override_artifact_name
|
@@ -3996,12 +4027,19 @@ module Aws::CodeBuild
|
|
3996
4027
|
# @return [String]
|
3997
4028
|
#
|
3998
4029
|
# @!attribute [rw] bucket_owner_access
|
3999
|
-
# Specifies the access for objects that
|
4000
|
-
#
|
4030
|
+
# Specifies the bucket owner's access for objects that another
|
4031
|
+
# account uploads to their Amazon S3 bucket. By default, only the
|
4032
|
+
# account that uploads the objects to the bucket has access to these
|
4033
|
+
# objects. This property allows you to give the bucket owner access to
|
4034
|
+
# these objects.
|
4035
|
+
#
|
4036
|
+
# <note markdown="1"> To use this property, your CodeBuild service role must have the
|
4037
|
+
# `s3:PutBucketAcl` permission. This permission allows CodeBuild to
|
4038
|
+
# modify the access control list for the bucket.
|
4039
|
+
#
|
4040
|
+
# </note>
|
4001
4041
|
#
|
4002
|
-
#
|
4003
|
-
# has access to these objects. This property allows you to give the
|
4004
|
-
# bucket owner access to these objects.
|
4042
|
+
# This property can be one of the following values:
|
4005
4043
|
#
|
4006
4044
|
# NONE
|
4007
4045
|
#
|
@@ -4010,7 +4048,7 @@ module Aws::CodeBuild
|
|
4010
4048
|
#
|
4011
4049
|
# READ\_ONLY
|
4012
4050
|
#
|
4013
|
-
# : The bucket owner has read
|
4051
|
+
# : The bucket owner has read-only access to the objects. The
|
4014
4052
|
# uploading account retains ownership of the objects.
|
4015
4053
|
#
|
4016
4054
|
# FULL
|
@@ -4254,6 +4292,21 @@ module Aws::CodeBuild
|
|
4254
4292
|
# Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia
|
4255
4293
|
# Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
|
4256
4294
|
# Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
|
4295
|
+
# ^
|
4296
|
+
#
|
4297
|
+
# * The environment types `WINDOWS_CONTAINER` and
|
4298
|
+
# `WINDOWS_SERVER_2019_CONTAINER` are available only in regions US
|
4299
|
+
# East (N. Virginia), US East (Ohio), US West (Oregon), and EU
|
4300
|
+
# (Ireland).
|
4301
|
+
#
|
4302
|
+
# ^
|
4303
|
+
#
|
4304
|
+
# For more information, see [Build environment compute types][1] in
|
4305
|
+
# the *CodeBuild user guide*.
|
4306
|
+
#
|
4307
|
+
#
|
4308
|
+
#
|
4309
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
4257
4310
|
# @return [String]
|
4258
4311
|
#
|
4259
4312
|
# @!attribute [rw] image
|
@@ -4269,6 +4322,13 @@ module Aws::CodeBuild
|
|
4269
4322
|
# "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
|
4270
4323
|
# use
|
4271
4324
|
# `<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf`.
|
4325
|
+
#
|
4326
|
+
# For more information, see [Docker images provided by CodeBuild][1]
|
4327
|
+
# in the *CodeBuild user guide*.
|
4328
|
+
#
|
4329
|
+
#
|
4330
|
+
#
|
4331
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
|
4272
4332
|
# @return [String]
|
4273
4333
|
#
|
4274
4334
|
# @!attribute [rw] compute_type
|
@@ -4300,7 +4360,7 @@ module Aws::CodeBuild
|
|
4300
4360
|
# memory and 8 vCPUs on ARM-based processors for builds.
|
4301
4361
|
#
|
4302
4362
|
# For more information, see [Build Environment Compute Types][1] in
|
4303
|
-
# the *
|
4363
|
+
# the *CodeBuild User Guide.*
|
4304
4364
|
#
|
4305
4365
|
#
|
4306
4366
|
#
|
@@ -4342,7 +4402,7 @@ module Aws::CodeBuild
|
|
4342
4402
|
# @!attribute [rw] certificate
|
4343
4403
|
# The ARN of the Amazon S3 bucket, path prefix, and object key that
|
4344
4404
|
# contains the PEM-encoded certificate for the build project. For more
|
4345
|
-
# information, see [certificate][1] in the *
|
4405
|
+
# information, see [certificate][1] in the *CodeBuild User Guide*.
|
4346
4406
|
#
|
4347
4407
|
#
|
4348
4408
|
#
|
@@ -4354,19 +4414,19 @@ module Aws::CodeBuild
|
|
4354
4414
|
# @return [Types::RegistryCredential]
|
4355
4415
|
#
|
4356
4416
|
# @!attribute [rw] image_pull_credentials_type
|
4357
|
-
# The type of credentials
|
4358
|
-
#
|
4417
|
+
# The type of credentials CodeBuild uses to pull images in your build.
|
4418
|
+
# There are two valid values:
|
4359
4419
|
#
|
4360
|
-
# * `CODEBUILD` specifies that
|
4420
|
+
# * `CODEBUILD` specifies that CodeBuild uses its own credentials.
|
4361
4421
|
# This requires that you modify your ECR repository policy to trust
|
4362
|
-
#
|
4422
|
+
# CodeBuild service principal.
|
4363
4423
|
#
|
4364
|
-
# * `SERVICE_ROLE` specifies that
|
4365
|
-
#
|
4424
|
+
# * `SERVICE_ROLE` specifies that CodeBuild uses your build project's
|
4425
|
+
# service role.
|
4366
4426
|
#
|
4367
4427
|
# When you use a cross-account or private registry image, you must use
|
4368
|
-
# SERVICE\_ROLE credentials. When you use an
|
4369
|
-
#
|
4428
|
+
# SERVICE\_ROLE credentials. When you use an CodeBuild curated image,
|
4429
|
+
# you must use CODEBUILD credentials.
|
4370
4430
|
# @return [String]
|
4371
4431
|
#
|
4372
4432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment AWS API Documentation
|
@@ -4410,7 +4470,7 @@ module Aws::CodeBuild
|
|
4410
4470
|
# @!attribute [rw] location
|
4411
4471
|
# A string that specifies the location of the file system created by
|
4412
4472
|
# 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
|
4473
|
+
# find the DNS name of file system when you view it in the Amazon EFS
|
4414
4474
|
# console. The directory path is a path to a directory in the file
|
4415
4475
|
# system that CodeBuild mounts. For example, if the DNS name of a file
|
4416
4476
|
# system is `fs-abcd1234.efs.us-west-2.amazonaws.com`, and its mount
|
@@ -4437,8 +4497,8 @@ module Aws::CodeBuild
|
|
4437
4497
|
# @return [String]
|
4438
4498
|
#
|
4439
4499
|
# @!attribute [rw] mount_options
|
4440
|
-
# The mount options for a file system created by
|
4441
|
-
# mount options used by CodeBuild are
|
4500
|
+
# The mount options for a file system created by Amazon EFS. The
|
4501
|
+
# default mount options used by CodeBuild are
|
4442
4502
|
# `nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2`.
|
4443
4503
|
# For more information, see [Recommended NFS Mount Options][1].
|
4444
4504
|
#
|
@@ -4491,10 +4551,10 @@ module Aws::CodeBuild
|
|
4491
4551
|
#
|
4492
4552
|
# * `BITBUCKET`\: The source code is in a Bitbucket repository.
|
4493
4553
|
#
|
4494
|
-
# * `CODECOMMIT`\: The source code is in an
|
4554
|
+
# * `CODECOMMIT`\: The source code is in an CodeCommit repository.
|
4495
4555
|
#
|
4496
4556
|
# * `CODEPIPELINE`\: The source code settings are specified in the
|
4497
|
-
# source action of a pipeline in
|
4557
|
+
# source action of a pipeline in CodePipeline.
|
4498
4558
|
#
|
4499
4559
|
# * `GITHUB`\: The source code is in a GitHub or GitHub Enterprise
|
4500
4560
|
# Cloud repository.
|
@@ -4512,14 +4572,14 @@ module Aws::CodeBuild
|
|
4512
4572
|
# values include:
|
4513
4573
|
#
|
4514
4574
|
# * 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
|
-
#
|
4575
|
+
# of a pipeline in CodePipeline, `location` should not be specified.
|
4576
|
+
# If it is specified, CodePipeline ignores it. This is because
|
4577
|
+
# CodePipeline uses the settings in a pipeline's source action
|
4578
|
+
# instead of this value.
|
4579
|
+
#
|
4580
|
+
# * For source code in an CodeCommit repository, the HTTPS clone URL
|
4581
|
+
# to the repository that contains the source code and the buildspec
|
4582
|
+
# file (for example,
|
4523
4583
|
# `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`).
|
4524
4584
|
#
|
4525
4585
|
# * For source code in an Amazon S3 input bucket, one of the
|
@@ -4533,29 +4593,33 @@ module Aws::CodeBuild
|
|
4533
4593
|
#
|
4534
4594
|
# * For source code in a GitHub repository, the HTTPS clone URL to the
|
4535
4595
|
# 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`.
|
4596
|
+
# must connect your Amazon Web Services account to your GitHub
|
4597
|
+
# account. Use the CodeBuild console to start creating a build
|
4598
|
+
# project. When you use the console to connect (or reconnect) with
|
4599
|
+
# GitHub, on the GitHub **Authorize application** page, for
|
4600
|
+
# **Organization access**, choose **Request access** next to each
|
4601
|
+
# repository you want to allow CodeBuild to have access to, and then
|
4602
|
+
# choose **Authorize application**. (After you have connected to
|
4603
|
+
# your GitHub account, you do not need to finish creating the build
|
4604
|
+
# project. You can leave the CodeBuild console.) To instruct
|
4605
|
+
# CodeBuild to use this connection, in the `source` object, set the
|
4606
|
+
# `auth` object's `type` value to `OAUTH`.
|
4547
4607
|
#
|
4548
4608
|
# * For source code in a Bitbucket repository, the HTTPS clone URL to
|
4549
4609
|
# 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`.
|
4610
|
+
# You must connect your Amazon Web Services account to your
|
4611
|
+
# Bitbucket account. Use the CodeBuild console to start creating a
|
4612
|
+
# build project. When you use the console to connect (or reconnect)
|
4613
|
+
# with Bitbucket, on the Bitbucket **Confirm access to your
|
4614
|
+
# account** page, choose **Grant access**. (After you have connected
|
4615
|
+
# to your Bitbucket account, you do not need to finish creating the
|
4616
|
+
# build project. You can leave the CodeBuild console.) To instruct
|
4617
|
+
# CodeBuild to use this connection, in the `source` object, set the
|
4618
|
+
# `auth` object's `type` value to `OAUTH`.
|
4619
|
+
#
|
4620
|
+
# If you specify `CODEPIPELINE` for the `Type` property, don't
|
4621
|
+
# specify this property. For all of the other types, you must specify
|
4622
|
+
# `Location`.
|
4559
4623
|
# @return [String]
|
4560
4624
|
#
|
4561
4625
|
# @!attribute [rw] git_clone_depth
|
@@ -4574,11 +4638,12 @@ module Aws::CodeBuild
|
|
4574
4638
|
# If this value is set, it can be either an inline buildspec
|
4575
4639
|
# definition, the path to an alternate buildspec file relative to the
|
4576
4640
|
# 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
|
-
#
|
4641
|
+
# the path to an S3 bucket. The bucket must be in the same Amazon Web
|
4642
|
+
# Services Region as the build project. Specify the buildspec file
|
4643
|
+
# using its ARN (for example,
|
4644
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
4645
|
+
# not provided or is set to an empty string, the source code must
|
4646
|
+
# contain a buildspec file in its root directory. For more
|
4582
4647
|
# information, see [Buildspec File Name and Storage Location][1].
|
4583
4648
|
#
|
4584
4649
|
#
|
@@ -4587,11 +4652,11 @@ module Aws::CodeBuild
|
|
4587
4652
|
# @return [String]
|
4588
4653
|
#
|
4589
4654
|
# @!attribute [rw] auth
|
4590
|
-
# Information about the authorization settings for
|
4591
|
-
#
|
4655
|
+
# Information about the authorization settings for CodeBuild to access
|
4656
|
+
# the source code to be built.
|
4592
4657
|
#
|
4593
|
-
# This information is for the
|
4594
|
-
#
|
4658
|
+
# This information is for the CodeBuild console's use only. Your code
|
4659
|
+
# should not get or set this information directly.
|
4595
4660
|
# @return [Types::SourceAuth]
|
4596
4661
|
#
|
4597
4662
|
# @!attribute [rw] report_build_status
|
@@ -4605,12 +4670,14 @@ module Aws::CodeBuild
|
|
4605
4670
|
# user associated with the source provider must have write access to
|
4606
4671
|
# the repo. If the user does not have write access, the build status
|
4607
4672
|
# cannot be updated. For more information, see [Source provider
|
4608
|
-
# access][1] in the *
|
4673
|
+
# access][1] in the *CodeBuild User Guide*.
|
4609
4674
|
#
|
4610
|
-
#
|
4675
|
+
# The status of a build triggered by a webhook is always reported to
|
4611
4676
|
# your source provider.
|
4612
4677
|
#
|
4613
|
-
#
|
4678
|
+
# If your project's builds are triggered by a webhook, you must push
|
4679
|
+
# a new commit to the repo for a change to this property to take
|
4680
|
+
# effect.
|
4614
4681
|
#
|
4615
4682
|
#
|
4616
4683
|
#
|
@@ -4672,7 +4739,7 @@ module Aws::CodeBuild
|
|
4672
4739
|
# The source version for the corresponding source identifier. If
|
4673
4740
|
# specified, must be one of:
|
4674
4741
|
#
|
4675
|
-
# * For
|
4742
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
4676
4743
|
#
|
4677
4744
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
4678
4745
|
# name that corresponds to the version of the source code you want
|
@@ -4691,7 +4758,7 @@ module Aws::CodeBuild
|
|
4691
4758
|
# build input ZIP file to use.
|
4692
4759
|
#
|
4693
4760
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
4694
|
-
# in the *
|
4761
|
+
# in the *CodeBuild User Guide*.
|
4695
4762
|
#
|
4696
4763
|
#
|
4697
4764
|
#
|
@@ -4717,8 +4784,8 @@ module Aws::CodeBuild
|
|
4717
4784
|
#
|
4718
4785
|
# @!attribute [rw] policy
|
4719
4786
|
# A JSON-formatted resource policy. For more information, see [Sharing
|
4720
|
-
# a Project][1] and [Sharing a Report Group][2] in the *
|
4721
|
-
#
|
4787
|
+
# a Project][1] and [Sharing a Report Group][2] in the *CodeBuild User
|
4788
|
+
# Guide*.
|
4722
4789
|
#
|
4723
4790
|
#
|
4724
4791
|
#
|
@@ -4760,8 +4827,8 @@ module Aws::CodeBuild
|
|
4760
4827
|
#
|
4761
4828
|
# * images cannot be curated or an Amazon ECR image.
|
4762
4829
|
#
|
4763
|
-
# For more information, see [Private Registry with
|
4764
|
-
# Sample for
|
4830
|
+
# For more information, see [Private Registry with Secrets Manager
|
4831
|
+
# Sample for CodeBuild][1].
|
4765
4832
|
#
|
4766
4833
|
#
|
4767
4834
|
#
|
@@ -4777,18 +4844,17 @@ module Aws::CodeBuild
|
|
4777
4844
|
#
|
4778
4845
|
# @!attribute [rw] credential
|
4779
4846
|
# The Amazon Resource Name (ARN) or name of credentials created using
|
4780
|
-
#
|
4847
|
+
# Secrets Manager.
|
4781
4848
|
#
|
4782
4849
|
# <note markdown="1"> The `credential` can use the name of the credentials only if they
|
4783
|
-
# exist in your current
|
4850
|
+
# exist in your current Amazon Web Services Region.
|
4784
4851
|
#
|
4785
4852
|
# </note>
|
4786
4853
|
# @return [String]
|
4787
4854
|
#
|
4788
4855
|
# @!attribute [rw] credential_provider
|
4789
4856
|
# The service that created the credentials to access a private Docker
|
4790
|
-
# registry. The valid value, SECRETS\_MANAGER, is for
|
4791
|
-
# Manager.
|
4857
|
+
# registry. The valid value, SECRETS\_MANAGER, is for Secrets Manager.
|
4792
4858
|
# @return [String]
|
4793
4859
|
#
|
4794
4860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RegistryCredential AWS API Documentation
|
@@ -4992,8 +5058,8 @@ module Aws::CodeBuild
|
|
4992
5058
|
# @!attribute [rw] tags
|
4993
5059
|
# A list of tag key and value pairs associated with this report group.
|
4994
5060
|
#
|
4995
|
-
# These tags are available for use by
|
4996
|
-
# CodeBuild report group tags.
|
5061
|
+
# These tags are available for use by Amazon Web Services services
|
5062
|
+
# that support CodeBuild report group tags.
|
4997
5063
|
# @return [Array<Types::Tag>]
|
4998
5064
|
#
|
4999
5065
|
# @!attribute [rw] status
|
@@ -5071,7 +5137,7 @@ module Aws::CodeBuild
|
|
5071
5137
|
include Aws::Structure
|
5072
5138
|
end
|
5073
5139
|
|
5074
|
-
# Represents a resolved build artifact. A
|
5140
|
+
# Represents a resolved build artifact. A resolved artifact is an
|
5075
5141
|
# artifact that is built and deployed to the destination, such as Amazon
|
5076
5142
|
# S3.
|
5077
5143
|
#
|
@@ -5097,14 +5163,14 @@ module Aws::CodeBuild
|
|
5097
5163
|
include Aws::Structure
|
5098
5164
|
end
|
5099
5165
|
|
5100
|
-
# The specified
|
5101
|
-
# with the same settings already exists.
|
5166
|
+
# The specified Amazon Web Services resource cannot be created, because
|
5167
|
+
# an Amazon Web Services resource with the same settings already exists.
|
5102
5168
|
#
|
5103
5169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceAlreadyExistsException AWS API Documentation
|
5104
5170
|
#
|
5105
5171
|
class ResourceAlreadyExistsException < Aws::EmptyStructure; end
|
5106
5172
|
|
5107
|
-
# The specified
|
5173
|
+
# The specified Amazon Web Services resource cannot be found.
|
5108
5174
|
#
|
5109
5175
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceNotFoundException AWS API Documentation
|
5110
5176
|
#
|
@@ -5128,8 +5194,7 @@ module Aws::CodeBuild
|
|
5128
5194
|
# idempotency of the `RetryBuildBatch` request. The token is included
|
5129
5195
|
# in the `RetryBuildBatch` request and is valid for five minutes. If
|
5130
5196
|
# you repeat the `RetryBuildBatch` request with the same token, but
|
5131
|
-
# change a parameter,
|
5132
|
-
# error.
|
5197
|
+
# change a parameter, CodeBuild returns a parameter mismatch error.
|
5133
5198
|
# @return [String]
|
5134
5199
|
#
|
5135
5200
|
# @!attribute [rw] retry_type
|
@@ -5175,7 +5240,7 @@ module Aws::CodeBuild
|
|
5175
5240
|
# idempotency of the `RetryBuild` request. The token is included in
|
5176
5241
|
# the `RetryBuild` request and is valid for five minutes. If you
|
5177
5242
|
# repeat the `RetryBuild` request with the same token, but change a
|
5178
|
-
# parameter,
|
5243
|
+
# parameter, CodeBuild returns a parameter mismatch error.
|
5179
5244
|
# @return [String]
|
5180
5245
|
#
|
5181
5246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildInput AWS API Documentation
|
@@ -5232,12 +5297,19 @@ module Aws::CodeBuild
|
|
5232
5297
|
# @return [Boolean]
|
5233
5298
|
#
|
5234
5299
|
# @!attribute [rw] bucket_owner_access
|
5235
|
-
# Specifies the access for objects that
|
5236
|
-
#
|
5300
|
+
# Specifies the bucket owner's access for objects that another
|
5301
|
+
# account uploads to their Amazon S3 bucket. By default, only the
|
5302
|
+
# account that uploads the objects to the bucket has access to these
|
5303
|
+
# objects. This property allows you to give the bucket owner access to
|
5304
|
+
# these objects.
|
5305
|
+
#
|
5306
|
+
# <note markdown="1"> To use this property, your CodeBuild service role must have the
|
5307
|
+
# `s3:PutBucketAcl` permission. This permission allows CodeBuild to
|
5308
|
+
# modify the access control list for the bucket.
|
5309
|
+
#
|
5310
|
+
# </note>
|
5237
5311
|
#
|
5238
|
-
#
|
5239
|
-
# has access to these objects. This property allows you to give the
|
5240
|
-
# bucket owner access to these objects.
|
5312
|
+
# This property can be one of the following values:
|
5241
5313
|
#
|
5242
5314
|
# NONE
|
5243
5315
|
#
|
@@ -5246,7 +5318,7 @@ module Aws::CodeBuild
|
|
5246
5318
|
#
|
5247
5319
|
# READ\_ONLY
|
5248
5320
|
#
|
5249
|
-
# : The bucket owner has read
|
5321
|
+
# : The bucket owner has read-only access to the objects. The
|
5250
5322
|
# uploading account retains ownership of the objects.
|
5251
5323
|
#
|
5252
5324
|
# FULL
|
@@ -5303,9 +5375,10 @@ module Aws::CodeBuild
|
|
5303
5375
|
# @return [String]
|
5304
5376
|
#
|
5305
5377
|
# @!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
|
5378
|
+
# The Amazon Web Services account identifier of the owner of the
|
5379
|
+
# Amazon S3 bucket. This allows report data to be exported to an
|
5380
|
+
# Amazon S3 bucket that is owned by an account other than the account
|
5381
|
+
# running the build.
|
5309
5382
|
# @return [String]
|
5310
5383
|
#
|
5311
5384
|
# @!attribute [rw] path
|
@@ -5315,10 +5388,10 @@ module Aws::CodeBuild
|
|
5315
5388
|
# @!attribute [rw] packaging
|
5316
5389
|
# The type of build output artifact to create. Valid values include:
|
5317
5390
|
#
|
5318
|
-
# * `NONE`\:
|
5319
|
-
#
|
5391
|
+
# * `NONE`\: CodeBuild creates the raw data in the output bucket. This
|
5392
|
+
# is the default if packaging is not specified.
|
5320
5393
|
#
|
5321
|
-
# * `ZIP`\:
|
5394
|
+
# * `ZIP`\: CodeBuild creates a ZIP file with the raw data in the
|
5322
5395
|
# output bucket.
|
5323
5396
|
# @return [String]
|
5324
5397
|
#
|
@@ -5344,11 +5417,11 @@ module Aws::CodeBuild
|
|
5344
5417
|
include Aws::Structure
|
5345
5418
|
end
|
5346
5419
|
|
5347
|
-
# Information about the authorization settings for
|
5348
|
-
#
|
5420
|
+
# Information about the authorization settings for CodeBuild to access
|
5421
|
+
# the source code to be built.
|
5349
5422
|
#
|
5350
|
-
# This information is for the
|
5351
|
-
#
|
5423
|
+
# This information is for the CodeBuild console's use only. Your code
|
5424
|
+
# should not get or set this information directly.
|
5352
5425
|
#
|
5353
5426
|
# @note When making an API call, you may pass SourceAuth
|
5354
5427
|
# data as a hash:
|
@@ -5551,7 +5624,7 @@ module Aws::CodeBuild
|
|
5551
5624
|
# only. If not specified, the latest version is used. If specified,
|
5552
5625
|
# the contents depends on the source provider:
|
5553
5626
|
#
|
5554
|
-
#
|
5627
|
+
# CodeCommit
|
5555
5628
|
#
|
5556
5629
|
# : The commit ID, branch, or Git tag to use.
|
5557
5630
|
#
|
@@ -5580,7 +5653,7 @@ module Aws::CodeBuild
|
|
5580
5653
|
# `sourceVersion` (at the build level) takes precedence.
|
5581
5654
|
#
|
5582
5655
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
5583
|
-
# in the *
|
5656
|
+
# in the *CodeBuild User Guide*.
|
5584
5657
|
#
|
5585
5658
|
#
|
5586
5659
|
#
|
@@ -5636,11 +5709,12 @@ module Aws::CodeBuild
|
|
5636
5709
|
# If this value is set, it can be either an inline buildspec
|
5637
5710
|
# definition, the path to an alternate buildspec file relative to the
|
5638
5711
|
# 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
|
-
#
|
5712
|
+
# the path to an S3 bucket. The bucket must be in the same Amazon Web
|
5713
|
+
# Services Region as the build project. Specify the buildspec file
|
5714
|
+
# using its ARN (for example,
|
5715
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
5716
|
+
# not provided or is set to an empty string, the source code must
|
5717
|
+
# contain a buildspec file in its root directory. For more
|
5644
5718
|
# information, see [Buildspec File Name and Storage Location][1].
|
5645
5719
|
#
|
5646
5720
|
#
|
@@ -5712,9 +5786,9 @@ module Aws::CodeBuild
|
|
5712
5786
|
# @return [Integer]
|
5713
5787
|
#
|
5714
5788
|
# @!attribute [rw] encryption_key_override
|
5715
|
-
# The
|
5716
|
-
#
|
5717
|
-
#
|
5789
|
+
# The Key Management Service customer master key (CMK) that overrides
|
5790
|
+
# the one specified in the batch build project. The CMK key encrypts
|
5791
|
+
# the build output artifacts.
|
5718
5792
|
#
|
5719
5793
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
5720
5794
|
# artifacts if your service role has permission to that key.
|
@@ -5731,8 +5805,7 @@ module Aws::CodeBuild
|
|
5731
5805
|
# idempotency of the `StartBuildBatch` request. The token is included
|
5732
5806
|
# in the `StartBuildBatch` request and is valid for five minutes. If
|
5733
5807
|
# you repeat the `StartBuildBatch` request with the same token, but
|
5734
|
-
# change a parameter,
|
5735
|
-
# error.
|
5808
|
+
# change a parameter, CodeBuild returns a parameter mismatch error.
|
5736
5809
|
# @return [String]
|
5737
5810
|
#
|
5738
5811
|
# @!attribute [rw] logs_config_override
|
@@ -5746,23 +5819,22 @@ module Aws::CodeBuild
|
|
5746
5819
|
# @return [Types::RegistryCredential]
|
5747
5820
|
#
|
5748
5821
|
# @!attribute [rw] image_pull_credentials_type_override
|
5749
|
-
# The type of credentials
|
5750
|
-
#
|
5822
|
+
# The type of credentials CodeBuild uses to pull images in your batch
|
5823
|
+
# build. There are two valid values:
|
5751
5824
|
#
|
5752
5825
|
# CODEBUILD
|
5753
5826
|
#
|
5754
|
-
# : Specifies that
|
5755
|
-
#
|
5756
|
-
#
|
5827
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
5828
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
5829
|
+
# service principal.
|
5757
5830
|
#
|
5758
5831
|
# SERVICE\_ROLE
|
5759
5832
|
#
|
5760
|
-
# : Specifies that
|
5761
|
-
# role.
|
5833
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
5762
5834
|
#
|
5763
5835
|
# When using a cross-account or private registry image, you must use
|
5764
|
-
# `SERVICE_ROLE` credentials. When using an
|
5765
|
-
#
|
5836
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
5837
|
+
# you must use `CODEBUILD` credentials.
|
5766
5838
|
# @return [String]
|
5767
5839
|
#
|
5768
5840
|
# @!attribute [rw] build_batch_config_override
|
@@ -5953,8 +6025,7 @@ module Aws::CodeBuild
|
|
5953
6025
|
# }
|
5954
6026
|
#
|
5955
6027
|
# @!attribute [rw] project_name
|
5956
|
-
# The name of the
|
5957
|
-
# build.
|
6028
|
+
# The name of the CodeBuild build project to start running a build.
|
5958
6029
|
# @return [String]
|
5959
6030
|
#
|
5960
6031
|
# @!attribute [rw] secondary_sources_override
|
@@ -5972,7 +6043,7 @@ module Aws::CodeBuild
|
|
5972
6043
|
# not specified, the latest version is used. If specified, the
|
5973
6044
|
# contents depends on the source provider:
|
5974
6045
|
#
|
5975
|
-
#
|
6046
|
+
# CodeCommit
|
5976
6047
|
#
|
5977
6048
|
# : The commit ID, branch, or Git tag to use.
|
5978
6049
|
#
|
@@ -6001,7 +6072,7 @@ module Aws::CodeBuild
|
|
6001
6072
|
# `sourceVersion` (at the build level) takes precedence.
|
6002
6073
|
#
|
6003
6074
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
6004
|
-
# in the *
|
6075
|
+
# in the *CodeBuild User Guide*.
|
6005
6076
|
#
|
6006
6077
|
#
|
6007
6078
|
#
|
@@ -6046,7 +6117,7 @@ module Aws::CodeBuild
|
|
6046
6117
|
#
|
6047
6118
|
# @!attribute [rw] git_submodules_config_override
|
6048
6119
|
# Information about the Git submodules configuration for this build of
|
6049
|
-
# an
|
6120
|
+
# an CodeBuild build project.
|
6050
6121
|
# @return [Types::GitSubmodulesConfig]
|
6051
6122
|
#
|
6052
6123
|
# @!attribute [rw] buildspec_override
|
@@ -6056,11 +6127,12 @@ module Aws::CodeBuild
|
|
6056
6127
|
# If this value is set, it can be either an inline buildspec
|
6057
6128
|
# definition, the path to an alternate buildspec file relative to the
|
6058
6129
|
# 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
|
-
#
|
6130
|
+
# the path to an S3 bucket. The bucket must be in the same Amazon Web
|
6131
|
+
# Services Region as the build project. Specify the buildspec file
|
6132
|
+
# using its ARN (for example,
|
6133
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
6134
|
+
# not provided or is set to an empty string, the source code must
|
6135
|
+
# contain a buildspec file in its root directory. For more
|
6064
6136
|
# information, see [Buildspec File Name and Storage Location][1].
|
6065
6137
|
#
|
6066
6138
|
#
|
@@ -6086,7 +6158,7 @@ module Aws::CodeBuild
|
|
6086
6158
|
# user associated with the source provider must have write access to
|
6087
6159
|
# the repo. If the user does not have write access, the build status
|
6088
6160
|
# cannot be updated. For more information, see [Source provider
|
6089
|
-
# access][1] in the *
|
6161
|
+
# access][1] in the *CodeBuild User Guide*.
|
6090
6162
|
#
|
6091
6163
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
6092
6164
|
# your source provider.
|
@@ -6151,9 +6223,9 @@ module Aws::CodeBuild
|
|
6151
6223
|
# @return [Integer]
|
6152
6224
|
#
|
6153
6225
|
# @!attribute [rw] encryption_key_override
|
6154
|
-
# The
|
6155
|
-
#
|
6156
|
-
#
|
6226
|
+
# The Key Management Service customer master key (CMK) that overrides
|
6227
|
+
# the one specified in the build project. The CMK key encrypts the
|
6228
|
+
# build output artifacts.
|
6157
6229
|
#
|
6158
6230
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
6159
6231
|
# artifacts if your service role has permission to that key.
|
@@ -6169,7 +6241,7 @@ module Aws::CodeBuild
|
|
6169
6241
|
# A unique, case sensitive identifier you provide to ensure the
|
6170
6242
|
# idempotency of the StartBuild request. The token is included in the
|
6171
6243
|
# StartBuild request and is valid for 5 minutes. If you repeat the
|
6172
|
-
# StartBuild request with the same token, but change a parameter,
|
6244
|
+
# StartBuild request with the same token, but change a parameter,
|
6173
6245
|
# CodeBuild returns a parameter mismatch error.
|
6174
6246
|
# @return [String]
|
6175
6247
|
#
|
@@ -6183,23 +6255,22 @@ module Aws::CodeBuild
|
|
6183
6255
|
# @return [Types::RegistryCredential]
|
6184
6256
|
#
|
6185
6257
|
# @!attribute [rw] image_pull_credentials_type_override
|
6186
|
-
# The type of credentials
|
6187
|
-
#
|
6258
|
+
# The type of credentials CodeBuild uses to pull images in your build.
|
6259
|
+
# There are two valid values:
|
6188
6260
|
#
|
6189
6261
|
# CODEBUILD
|
6190
6262
|
#
|
6191
|
-
# : Specifies that
|
6192
|
-
#
|
6193
|
-
#
|
6263
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
6264
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
6265
|
+
# service principal.
|
6194
6266
|
#
|
6195
6267
|
# SERVICE\_ROLE
|
6196
6268
|
#
|
6197
|
-
# : Specifies that
|
6198
|
-
# role.
|
6269
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
6199
6270
|
#
|
6200
6271
|
# When using a cross-account or private registry image, you must use
|
6201
|
-
# `SERVICE_ROLE` credentials. When using an
|
6202
|
-
#
|
6272
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
6273
|
+
# you must use `CODEBUILD` credentials.
|
6203
6274
|
# @return [String]
|
6204
6275
|
#
|
6205
6276
|
# @!attribute [rw] debug_session_enabled
|
@@ -6325,8 +6396,8 @@ module Aws::CodeBuild
|
|
6325
6396
|
|
6326
6397
|
# A tag, consisting of a key and a value.
|
6327
6398
|
#
|
6328
|
-
# This tag is available for use by
|
6329
|
-
# CodeBuild.
|
6399
|
+
# This tag is available for use by Amazon Web Services services that
|
6400
|
+
# support tags in CodeBuild.
|
6330
6401
|
#
|
6331
6402
|
# @note When making an API call, you may pass Tag
|
6332
6403
|
# data as a hash:
|
@@ -6659,7 +6730,7 @@ module Aws::CodeBuild
|
|
6659
6730
|
# specified, the latest version is used. If specified, it must be one
|
6660
6731
|
# of:
|
6661
6732
|
#
|
6662
|
-
# * For
|
6733
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
6663
6734
|
#
|
6664
6735
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
6665
6736
|
# name that corresponds to the version of the source code you want
|
@@ -6682,7 +6753,7 @@ module Aws::CodeBuild
|
|
6682
6753
|
# level).
|
6683
6754
|
#
|
6684
6755
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
6685
|
-
# in the *
|
6756
|
+
# in the *CodeBuild User Guide*.
|
6686
6757
|
#
|
6687
6758
|
#
|
6688
6759
|
#
|
@@ -6715,13 +6786,13 @@ module Aws::CodeBuild
|
|
6715
6786
|
# @return [Types::ProjectEnvironment]
|
6716
6787
|
#
|
6717
6788
|
# @!attribute [rw] service_role
|
6718
|
-
# The replacement ARN of the
|
6719
|
-
#
|
6720
|
-
#
|
6789
|
+
# The replacement ARN of the IAM role that enables CodeBuild to
|
6790
|
+
# interact with dependent Amazon Web Services services on behalf of
|
6791
|
+
# the Amazon Web Services account.
|
6721
6792
|
# @return [String]
|
6722
6793
|
#
|
6723
6794
|
# @!attribute [rw] timeout_in_minutes
|
6724
|
-
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
6795
|
+
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
6725
6796
|
# CodeBuild to wait before timing out any related build that did not
|
6726
6797
|
# get marked as completed.
|
6727
6798
|
# @return [Integer]
|
@@ -6732,8 +6803,8 @@ module Aws::CodeBuild
|
|
6732
6803
|
# @return [Integer]
|
6733
6804
|
#
|
6734
6805
|
# @!attribute [rw] encryption_key
|
6735
|
-
# The
|
6736
|
-
#
|
6806
|
+
# The Key Management Service customer master key (CMK) to be used for
|
6807
|
+
# encrypting the build output artifacts.
|
6737
6808
|
#
|
6738
6809
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
6739
6810
|
# artifacts if your service role has permission to that key.
|
@@ -6749,13 +6820,12 @@ module Aws::CodeBuild
|
|
6749
6820
|
# An updated list of tag key and value pairs associated with this
|
6750
6821
|
# build project.
|
6751
6822
|
#
|
6752
|
-
# These tags are available for use by
|
6753
|
-
# CodeBuild build project tags.
|
6823
|
+
# These tags are available for use by Amazon Web Services services
|
6824
|
+
# that support CodeBuild build project tags.
|
6754
6825
|
# @return [Array<Types::Tag>]
|
6755
6826
|
#
|
6756
6827
|
# @!attribute [rw] vpc_config
|
6757
|
-
# VpcConfig enables
|
6758
|
-
# VPC.
|
6828
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
6759
6829
|
# @return [Types::VpcConfig]
|
6760
6830
|
#
|
6761
6831
|
# @!attribute [rw] badge_enabled
|
@@ -6765,7 +6835,7 @@ module Aws::CodeBuild
|
|
6765
6835
|
#
|
6766
6836
|
# @!attribute [rw] logs_config
|
6767
6837
|
# Information about logs for the build project. A project can create
|
6768
|
-
# logs in
|
6838
|
+
# logs in CloudWatch Logs, logs in an S3 bucket, or both.
|
6769
6839
|
# @return [Types::LogsConfig]
|
6770
6840
|
#
|
6771
6841
|
# @!attribute [rw] file_system_locations
|
@@ -6830,6 +6900,78 @@ module Aws::CodeBuild
|
|
6830
6900
|
include Aws::Structure
|
6831
6901
|
end
|
6832
6902
|
|
6903
|
+
# @note When making an API call, you may pass UpdateProjectVisibilityInput
|
6904
|
+
# data as a hash:
|
6905
|
+
#
|
6906
|
+
# {
|
6907
|
+
# project_arn: "NonEmptyString", # required
|
6908
|
+
# project_visibility: "PUBLIC_READ", # required, accepts PUBLIC_READ, PRIVATE
|
6909
|
+
# resource_access_role: "NonEmptyString",
|
6910
|
+
# }
|
6911
|
+
#
|
6912
|
+
# @!attribute [rw] project_arn
|
6913
|
+
# The Amazon Resource Name (ARN) of the build project.
|
6914
|
+
# @return [String]
|
6915
|
+
#
|
6916
|
+
# @!attribute [rw] project_visibility
|
6917
|
+
# Specifies the visibility of the project's builds. Possible values
|
6918
|
+
# are:
|
6919
|
+
#
|
6920
|
+
# PUBLIC\_READ
|
6921
|
+
#
|
6922
|
+
# : The project builds are visible to the public.
|
6923
|
+
#
|
6924
|
+
# PRIVATE
|
6925
|
+
#
|
6926
|
+
# : The project builds are not visible to the public.
|
6927
|
+
# @return [String]
|
6928
|
+
#
|
6929
|
+
# @!attribute [rw] resource_access_role
|
6930
|
+
# The ARN of the IAM role that enables CodeBuild to access the
|
6931
|
+
# CloudWatch Logs and Amazon S3 artifacts for the project's builds.
|
6932
|
+
# @return [String]
|
6933
|
+
#
|
6934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibilityInput AWS API Documentation
|
6935
|
+
#
|
6936
|
+
class UpdateProjectVisibilityInput < Struct.new(
|
6937
|
+
:project_arn,
|
6938
|
+
:project_visibility,
|
6939
|
+
:resource_access_role)
|
6940
|
+
SENSITIVE = []
|
6941
|
+
include Aws::Structure
|
6942
|
+
end
|
6943
|
+
|
6944
|
+
# @!attribute [rw] project_arn
|
6945
|
+
# The Amazon Resource Name (ARN) of the build project.
|
6946
|
+
# @return [String]
|
6947
|
+
#
|
6948
|
+
# @!attribute [rw] public_project_alias
|
6949
|
+
# Contains the project identifier used with the public build APIs.
|
6950
|
+
# @return [String]
|
6951
|
+
#
|
6952
|
+
# @!attribute [rw] project_visibility
|
6953
|
+
# Specifies the visibility of the project's builds. Possible values
|
6954
|
+
# are:
|
6955
|
+
#
|
6956
|
+
# PUBLIC\_READ
|
6957
|
+
#
|
6958
|
+
# : The project builds are visible to the public.
|
6959
|
+
#
|
6960
|
+
# PRIVATE
|
6961
|
+
#
|
6962
|
+
# : The project builds are not visible to the public.
|
6963
|
+
# @return [String]
|
6964
|
+
#
|
6965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibilityOutput AWS API Documentation
|
6966
|
+
#
|
6967
|
+
class UpdateProjectVisibilityOutput < Struct.new(
|
6968
|
+
:project_arn,
|
6969
|
+
:public_project_alias,
|
6970
|
+
:project_visibility)
|
6971
|
+
SENSITIVE = []
|
6972
|
+
include Aws::Structure
|
6973
|
+
end
|
6974
|
+
|
6833
6975
|
# @note When making an API call, you may pass UpdateReportGroupInput
|
6834
6976
|
# data as a hash:
|
6835
6977
|
#
|
@@ -6870,8 +7012,8 @@ module Aws::CodeBuild
|
|
6870
7012
|
# An updated list of tag key and value pairs associated with this
|
6871
7013
|
# report group.
|
6872
7014
|
#
|
6873
|
-
# These tags are available for use by
|
6874
|
-
# CodeBuild report group tags.
|
7015
|
+
# These tags are available for use by Amazon Web Services services
|
7016
|
+
# that support CodeBuild report group tags.
|
6875
7017
|
# @return [Array<Types::Tag>]
|
6876
7018
|
#
|
6877
7019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroupInput AWS API Documentation
|
@@ -6916,7 +7058,7 @@ module Aws::CodeBuild
|
|
6916
7058
|
# }
|
6917
7059
|
#
|
6918
7060
|
# @!attribute [rw] project_name
|
6919
|
-
# The name of the
|
7061
|
+
# The name of the CodeBuild project.
|
6920
7062
|
# @return [String]
|
6921
7063
|
#
|
6922
7064
|
# @!attribute [rw] branch_filter
|
@@ -6961,7 +7103,7 @@ module Aws::CodeBuild
|
|
6961
7103
|
|
6962
7104
|
# @!attribute [rw] webhook
|
6963
7105
|
# Information about a repository's webhook that is associated with a
|
6964
|
-
# project in
|
7106
|
+
# project in CodeBuild.
|
6965
7107
|
# @return [Types::Webhook]
|
6966
7108
|
#
|
6967
7109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookOutput AWS API Documentation
|
@@ -6972,7 +7114,7 @@ module Aws::CodeBuild
|
|
6972
7114
|
include Aws::Structure
|
6973
7115
|
end
|
6974
7116
|
|
6975
|
-
# Information about the VPC configuration that
|
7117
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
6976
7118
|
#
|
6977
7119
|
# @note When making an API call, you may pass VpcConfig
|
6978
7120
|
# data as a hash:
|
@@ -7006,14 +7148,14 @@ module Aws::CodeBuild
|
|
7006
7148
|
end
|
7007
7149
|
|
7008
7150
|
# Information about a webhook that connects repository events to a build
|
7009
|
-
# project in
|
7151
|
+
# project in CodeBuild.
|
7010
7152
|
#
|
7011
7153
|
# @!attribute [rw] url
|
7012
7154
|
# The URL to the webhook.
|
7013
7155
|
# @return [String]
|
7014
7156
|
#
|
7015
7157
|
# @!attribute [rw] payload_url
|
7016
|
-
# The
|
7158
|
+
# The CodeBuild endpoint where webhook events are sent.
|
7017
7159
|
# @return [String]
|
7018
7160
|
#
|
7019
7161
|
# @!attribute [rw] secret
|