aws-sdk-codebuild 1.76.0 → 1.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild.rb +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 +460 -325
- 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.
|
@@ -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
|
#
|
@@ -1608,7 +1611,7 @@ module Aws::CodeBuild
|
|
1608
1611
|
# specified, the latest version is used. If specified, it must be one
|
1609
1612
|
# of:
|
1610
1613
|
#
|
1611
|
-
# * For
|
1614
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
1612
1615
|
#
|
1613
1616
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
1614
1617
|
# name that corresponds to the version of the source code you want
|
@@ -1631,7 +1634,7 @@ module Aws::CodeBuild
|
|
1631
1634
|
# level).
|
1632
1635
|
#
|
1633
1636
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
1634
|
-
# in the *
|
1637
|
+
# in the *CodeBuild User Guide*.
|
1635
1638
|
#
|
1636
1639
|
#
|
1637
1640
|
#
|
@@ -1663,15 +1666,15 @@ module Aws::CodeBuild
|
|
1663
1666
|
# @return [Types::ProjectEnvironment]
|
1664
1667
|
#
|
1665
1668
|
# @!attribute [rw] service_role
|
1666
|
-
# The ARN of the
|
1667
|
-
#
|
1668
|
-
#
|
1669
|
+
# The ARN of the IAM role that enables CodeBuild to interact with
|
1670
|
+
# dependent Amazon Web Services services on behalf of the Amazon Web
|
1671
|
+
# Services account.
|
1669
1672
|
# @return [String]
|
1670
1673
|
#
|
1671
1674
|
# @!attribute [rw] timeout_in_minutes
|
1672
|
-
# How long, in minutes, from 5 to 480 (8 hours), for
|
1673
|
-
#
|
1674
|
-
#
|
1675
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
1676
|
+
# before it times out any build that has not been marked as completed.
|
1677
|
+
# The default is 60 minutes.
|
1675
1678
|
# @return [Integer]
|
1676
1679
|
#
|
1677
1680
|
# @!attribute [rw] queued_timeout_in_minutes
|
@@ -1680,8 +1683,8 @@ module Aws::CodeBuild
|
|
1680
1683
|
# @return [Integer]
|
1681
1684
|
#
|
1682
1685
|
# @!attribute [rw] encryption_key
|
1683
|
-
# The
|
1684
|
-
#
|
1686
|
+
# The Key Management Service customer master key (CMK) to be used for
|
1687
|
+
# encrypting the build output artifacts.
|
1685
1688
|
#
|
1686
1689
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
1687
1690
|
# artifacts if your service role has permission to that key.
|
@@ -1697,13 +1700,12 @@ module Aws::CodeBuild
|
|
1697
1700
|
# A list of tag key and value pairs associated with this build
|
1698
1701
|
# project.
|
1699
1702
|
#
|
1700
|
-
# These tags are available for use by
|
1701
|
-
# CodeBuild build project tags.
|
1703
|
+
# These tags are available for use by Amazon Web Services services
|
1704
|
+
# that support CodeBuild build project tags.
|
1702
1705
|
# @return [Array<Types::Tag>]
|
1703
1706
|
#
|
1704
1707
|
# @!attribute [rw] vpc_config
|
1705
|
-
# VpcConfig enables
|
1706
|
-
# VPC.
|
1708
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
1707
1709
|
# @return [Types::VpcConfig]
|
1708
1710
|
#
|
1709
1711
|
# @!attribute [rw] badge_enabled
|
@@ -1713,8 +1715,7 @@ module Aws::CodeBuild
|
|
1713
1715
|
#
|
1714
1716
|
# @!attribute [rw] logs_config
|
1715
1717
|
# Information about logs for the build project. These can be logs in
|
1716
|
-
#
|
1717
|
-
# both.
|
1718
|
+
# CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
|
1718
1719
|
# @return [Types::LogsConfig]
|
1719
1720
|
#
|
1720
1721
|
# @!attribute [rw] file_system_locations
|
@@ -1819,8 +1820,8 @@ module Aws::CodeBuild
|
|
1819
1820
|
# @!attribute [rw] tags
|
1820
1821
|
# A list of tag key and value pairs associated with this report group.
|
1821
1822
|
#
|
1822
|
-
# These tags are available for use by
|
1823
|
-
# CodeBuild report group tags.
|
1823
|
+
# These tags are available for use by Amazon Web Services services
|
1824
|
+
# that support CodeBuild report group tags.
|
1824
1825
|
# @return [Array<Types::Tag>]
|
1825
1826
|
#
|
1826
1827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroupInput AWS API Documentation
|
@@ -1865,7 +1866,7 @@ module Aws::CodeBuild
|
|
1865
1866
|
# }
|
1866
1867
|
#
|
1867
1868
|
# @!attribute [rw] project_name
|
1868
|
-
# The name of the
|
1869
|
+
# The name of the CodeBuild project.
|
1869
1870
|
# @return [String]
|
1870
1871
|
#
|
1871
1872
|
# @!attribute [rw] branch_filter
|
@@ -1907,7 +1908,7 @@ module Aws::CodeBuild
|
|
1907
1908
|
|
1908
1909
|
# @!attribute [rw] webhook
|
1909
1910
|
# Information about a webhook that connects repository events to a
|
1910
|
-
# build project in
|
1911
|
+
# build project in CodeBuild.
|
1911
1912
|
# @return [Types::Webhook]
|
1912
1913
|
#
|
1913
1914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput AWS API Documentation
|
@@ -2136,7 +2137,7 @@ module Aws::CodeBuild
|
|
2136
2137
|
# }
|
2137
2138
|
#
|
2138
2139
|
# @!attribute [rw] project_name
|
2139
|
-
# The name of the
|
2140
|
+
# The name of the CodeBuild project.
|
2140
2141
|
# @return [String]
|
2141
2142
|
#
|
2142
2143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput AWS API Documentation
|
@@ -2308,7 +2309,7 @@ module Aws::CodeBuild
|
|
2308
2309
|
include Aws::Structure
|
2309
2310
|
end
|
2310
2311
|
|
2311
|
-
# Information about a Docker image that is managed by
|
2312
|
+
# Information about a Docker image that is managed by CodeBuild.
|
2312
2313
|
#
|
2313
2314
|
# @!attribute [rw] name
|
2314
2315
|
# The name of the Docker image.
|
@@ -2333,7 +2334,7 @@ module Aws::CodeBuild
|
|
2333
2334
|
end
|
2334
2335
|
|
2335
2336
|
# A set of Docker images that are related by programming language and
|
2336
|
-
# are managed by
|
2337
|
+
# are managed by CodeBuild.
|
2337
2338
|
#
|
2338
2339
|
# @!attribute [rw] language
|
2339
2340
|
# The programming language for the Docker images.
|
@@ -2354,7 +2355,7 @@ module Aws::CodeBuild
|
|
2354
2355
|
end
|
2355
2356
|
|
2356
2357
|
# A set of Docker images that are related by platform and are managed by
|
2357
|
-
#
|
2358
|
+
# CodeBuild.
|
2358
2359
|
#
|
2359
2360
|
# @!attribute [rw] platform
|
2360
2361
|
# The platform's name.
|
@@ -2394,27 +2395,27 @@ module Aws::CodeBuild
|
|
2394
2395
|
# The value of the environment variable.
|
2395
2396
|
#
|
2396
2397
|
# 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
|
-
#
|
2398
|
+
# to store sensitive values, especially Amazon Web Services secret key
|
2399
|
+
# IDs and secret access keys. `PLAINTEXT` environment variables can be
|
2400
|
+
# displayed in plain text using the CodeBuild console and the CLI. For
|
2401
|
+
# sensitive values, we recommend you use an environment variable of
|
2402
|
+
# type `PARAMETER_STORE` or `SECRETS_MANAGER`.
|
2402
2403
|
# @return [String]
|
2403
2404
|
#
|
2404
2405
|
# @!attribute [rw] type
|
2405
2406
|
# The type of environment variable. Valid values include:
|
2406
2407
|
#
|
2407
|
-
# * `PARAMETER_STORE`\: An environment variable stored in
|
2408
|
-
#
|
2409
|
-
#
|
2410
|
-
#
|
2408
|
+
# * `PARAMETER_STORE`\: An environment variable stored in Systems
|
2409
|
+
# Manager Parameter Store. To learn how to specify a parameter store
|
2410
|
+
# environment variable, see [env/parameter-store][1] in the
|
2411
|
+
# *CodeBuild User Guide*.
|
2411
2412
|
#
|
2412
2413
|
# * `PLAINTEXT`\: An environment variable in plain text format. This
|
2413
2414
|
# is the default value.
|
2414
2415
|
#
|
2415
|
-
# * `SECRETS_MANAGER`\: An environment variable stored in
|
2416
|
+
# * `SECRETS_MANAGER`\: An environment variable stored in Secrets
|
2416
2417
|
# Manager. To learn how to specify a secrets manager environment
|
2417
|
-
# variable, see [env/secrets-manager][2] in the *
|
2418
|
+
# variable, see [env/secrets-manager][2] in the *CodeBuild User
|
2418
2419
|
# Guide*.
|
2419
2420
|
#
|
2420
2421
|
#
|
@@ -2435,10 +2436,10 @@ module Aws::CodeBuild
|
|
2435
2436
|
|
2436
2437
|
# Contains information about an exported environment variable.
|
2437
2438
|
#
|
2438
|
-
# Exported environment variables are used in conjunction with
|
2439
|
+
# Exported environment variables are used in conjunction with
|
2439
2440
|
# CodePipeline to export environment variables from the current build
|
2440
2441
|
# stage to subsequent stages in the pipeline. For more information, see
|
2441
|
-
# [Working with variables][1] in the *
|
2442
|
+
# [Working with variables][1] in the *CodePipeline User Guide*.
|
2442
2443
|
#
|
2443
2444
|
# <note markdown="1"> During a build, the value of a variable is available starting with the
|
2444
2445
|
# `install` phase. It can be updated between the start of the `install`
|
@@ -2600,8 +2601,8 @@ module Aws::CodeBuild
|
|
2600
2601
|
include Aws::Structure
|
2601
2602
|
end
|
2602
2603
|
|
2603
|
-
# Information about the Git submodules configuration for an
|
2604
|
-
#
|
2604
|
+
# Information about the Git submodules configuration for an CodeBuild
|
2605
|
+
# build project.
|
2605
2606
|
#
|
2606
2607
|
# @note When making an API call, you may pass GitSubmodulesConfig
|
2607
2608
|
# data as a hash:
|
@@ -2611,7 +2612,7 @@ module Aws::CodeBuild
|
|
2611
2612
|
# }
|
2612
2613
|
#
|
2613
2614
|
# @!attribute [rw] fetch_submodules
|
2614
|
-
# Set to true to fetch Git submodules for your
|
2615
|
+
# Set to true to fetch Git submodules for your CodeBuild build
|
2615
2616
|
# project.
|
2616
2617
|
# @return [Boolean]
|
2617
2618
|
#
|
@@ -2652,7 +2653,7 @@ module Aws::CodeBuild
|
|
2652
2653
|
# @!attribute [rw] auth_type
|
2653
2654
|
# The type of authentication used to connect to a GitHub, GitHub
|
2654
2655
|
# Enterprise, or Bitbucket repository. An OAUTH connection is not
|
2655
|
-
# supported by the API and must be created using the
|
2656
|
+
# supported by the API and must be created using the CodeBuild
|
2656
2657
|
# console.
|
2657
2658
|
# @return [String]
|
2658
2659
|
#
|
@@ -2700,8 +2701,7 @@ module Aws::CodeBuild
|
|
2700
2701
|
# }
|
2701
2702
|
#
|
2702
2703
|
# @!attribute [rw] project_name
|
2703
|
-
# The name of the
|
2704
|
-
# for.
|
2704
|
+
# The name of the CodeBuild build project that the cache is reset for.
|
2705
2705
|
# @return [String]
|
2706
2706
|
#
|
2707
2707
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput AWS API Documentation
|
@@ -2868,7 +2868,7 @@ module Aws::CodeBuild
|
|
2868
2868
|
# }
|
2869
2869
|
#
|
2870
2870
|
# @!attribute [rw] project_name
|
2871
|
-
# The name of the
|
2871
|
+
# The name of the CodeBuild project.
|
2872
2872
|
# @return [String]
|
2873
2873
|
#
|
2874
2874
|
# @!attribute [rw] sort_order
|
@@ -2989,7 +2989,7 @@ module Aws::CodeBuild
|
|
2989
2989
|
|
2990
2990
|
# @!attribute [rw] platforms
|
2991
2991
|
# Information about supported platforms for Docker images that are
|
2992
|
-
# managed by
|
2992
|
+
# managed by CodeBuild.
|
2993
2993
|
# @return [Array<Types::EnvironmentPlatform>]
|
2994
2994
|
#
|
2995
2995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesOutput AWS API Documentation
|
@@ -3142,7 +3142,8 @@ module Aws::CodeBuild
|
|
3142
3142
|
# @return [String]
|
3143
3143
|
#
|
3144
3144
|
# @!attribute [rw] report_groups
|
3145
|
-
# The list of ARNs for the report groups in the current
|
3145
|
+
# The list of ARNs for the report groups in the current Amazon Web
|
3146
|
+
# Services account.
|
3146
3147
|
# @return [Array<String>]
|
3147
3148
|
#
|
3148
3149
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportGroupsOutput AWS API Documentation
|
@@ -3297,8 +3298,8 @@ module Aws::CodeBuild
|
|
3297
3298
|
# @return [String]
|
3298
3299
|
#
|
3299
3300
|
# @!attribute [rw] reports
|
3300
|
-
# The list of returned ARNs for the reports in the current
|
3301
|
-
# account.
|
3301
|
+
# The list of returned ARNs for the reports in the current Amazon Web
|
3302
|
+
# Services account.
|
3302
3303
|
# @return [Array<String>]
|
3303
3304
|
#
|
3304
3305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsOutput AWS API Documentation
|
@@ -3322,7 +3323,7 @@ module Aws::CodeBuild
|
|
3322
3323
|
#
|
3323
3324
|
# @!attribute [rw] sort_by
|
3324
3325
|
# The criterion to be used to list build projects shared with the
|
3325
|
-
# current
|
3326
|
+
# current Amazon Web Services account or user. Valid values include:
|
3326
3327
|
#
|
3327
3328
|
# * `ARN`\: List based on the ARN.
|
3328
3329
|
#
|
@@ -3377,8 +3378,8 @@ module Aws::CodeBuild
|
|
3377
3378
|
# @return [String]
|
3378
3379
|
#
|
3379
3380
|
# @!attribute [rw] projects
|
3380
|
-
# The list of ARNs for the build projects shared with the current
|
3381
|
-
# account or user.
|
3381
|
+
# The list of ARNs for the build projects shared with the current
|
3382
|
+
# Amazon Web Services account or user.
|
3382
3383
|
# @return [Array<String>]
|
3383
3384
|
#
|
3384
3385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedProjectsOutput AWS API Documentation
|
@@ -3411,7 +3412,7 @@ module Aws::CodeBuild
|
|
3411
3412
|
#
|
3412
3413
|
# @!attribute [rw] sort_by
|
3413
3414
|
# The criterion to be used to list report groups shared with the
|
3414
|
-
# current
|
3415
|
+
# current Amazon Web Services account or user. Valid values include:
|
3415
3416
|
#
|
3416
3417
|
# * `ARN`\: List based on the ARN.
|
3417
3418
|
#
|
@@ -3457,8 +3458,8 @@ module Aws::CodeBuild
|
|
3457
3458
|
# @return [String]
|
3458
3459
|
#
|
3459
3460
|
# @!attribute [rw] report_groups
|
3460
|
-
# The list of ARNs for the report groups shared with the current
|
3461
|
-
# account or user.
|
3461
|
+
# The list of ARNs for the report groups shared with the current
|
3462
|
+
# Amazon Web Services account or user.
|
3462
3463
|
# @return [Array<String>]
|
3463
3464
|
#
|
3464
3465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedReportGroupsOutput AWS API Documentation
|
@@ -3491,7 +3492,7 @@ module Aws::CodeBuild
|
|
3491
3492
|
end
|
3492
3493
|
|
3493
3494
|
# Information about logs for a build project. These can be logs in
|
3494
|
-
#
|
3495
|
+
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
3495
3496
|
#
|
3496
3497
|
# @note When making an API call, you may pass LogsConfig
|
3497
3498
|
# data as a hash:
|
@@ -3511,8 +3512,8 @@ module Aws::CodeBuild
|
|
3511
3512
|
# }
|
3512
3513
|
#
|
3513
3514
|
# @!attribute [rw] cloud_watch_logs
|
3514
|
-
# Information about
|
3515
|
-
#
|
3515
|
+
# Information about CloudWatch Logs for a build project. CloudWatch
|
3516
|
+
# Logs are enabled by default.
|
3516
3517
|
# @return [Types::CloudWatchLogsConfig]
|
3517
3518
|
#
|
3518
3519
|
# @!attribute [rw] s3_logs
|
@@ -3529,18 +3530,18 @@ module Aws::CodeBuild
|
|
3529
3530
|
include Aws::Structure
|
3530
3531
|
end
|
3531
3532
|
|
3532
|
-
# Information about build logs in
|
3533
|
+
# Information about build logs in CloudWatch Logs.
|
3533
3534
|
#
|
3534
3535
|
# @!attribute [rw] group_name
|
3535
|
-
# The name of the
|
3536
|
+
# The name of the CloudWatch Logs group for the build logs.
|
3536
3537
|
# @return [String]
|
3537
3538
|
#
|
3538
3539
|
# @!attribute [rw] stream_name
|
3539
|
-
# The name of the
|
3540
|
+
# The name of the CloudWatch Logs stream for the build logs.
|
3540
3541
|
# @return [String]
|
3541
3542
|
#
|
3542
3543
|
# @!attribute [rw] deep_link
|
3543
|
-
# The URL to an individual build log in
|
3544
|
+
# The URL to an individual build log in CloudWatch Logs.
|
3544
3545
|
# @return [String]
|
3545
3546
|
#
|
3546
3547
|
# @!attribute [rw] s3_deep_link
|
@@ -3548,10 +3549,9 @@ module Aws::CodeBuild
|
|
3548
3549
|
# @return [String]
|
3549
3550
|
#
|
3550
3551
|
# @!attribute [rw] cloud_watch_logs_arn
|
3551
|
-
# The ARN of
|
3552
|
+
# The ARN of CloudWatch Logs for a build project. Its format is
|
3552
3553
|
# `arn:$\{Partition\}:logs:$\{Region\}:$\{Account\}:log-group:$\{LogGroupName\}:log-stream:$\{LogStreamName\}`.
|
3553
|
-
# For more information, see [Resources Defined by
|
3554
|
-
# Logs][1].
|
3554
|
+
# For more information, see [Resources Defined by CloudWatch Logs][1].
|
3555
3555
|
#
|
3556
3556
|
#
|
3557
3557
|
#
|
@@ -3569,7 +3569,7 @@ module Aws::CodeBuild
|
|
3569
3569
|
# @return [String]
|
3570
3570
|
#
|
3571
3571
|
# @!attribute [rw] cloud_watch_logs
|
3572
|
-
# Information about
|
3572
|
+
# Information about CloudWatch Logs for a build project.
|
3573
3573
|
# @return [Types::CloudWatchLogsConfig]
|
3574
3574
|
#
|
3575
3575
|
# @!attribute [rw] s3_logs
|
@@ -3665,7 +3665,7 @@ module Aws::CodeBuild
|
|
3665
3665
|
# specified, the latest version is used. If specified, it must be one
|
3666
3666
|
# of:
|
3667
3667
|
#
|
3668
|
-
# * For
|
3668
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
3669
3669
|
#
|
3670
3670
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
3671
3671
|
# name that corresponds to the version of the source code you want
|
@@ -3688,7 +3688,7 @@ module Aws::CodeBuild
|
|
3688
3688
|
# level).
|
3689
3689
|
#
|
3690
3690
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
3691
|
-
# in the *
|
3691
|
+
# in the *CodeBuild User Guide*.
|
3692
3692
|
#
|
3693
3693
|
#
|
3694
3694
|
#
|
@@ -3718,14 +3718,14 @@ module Aws::CodeBuild
|
|
3718
3718
|
# @return [Types::ProjectEnvironment]
|
3719
3719
|
#
|
3720
3720
|
# @!attribute [rw] service_role
|
3721
|
-
# The ARN of the
|
3722
|
-
#
|
3723
|
-
#
|
3721
|
+
# The ARN of the IAM role that enables CodeBuild to interact with
|
3722
|
+
# dependent Amazon Web Services services on behalf of the Amazon Web
|
3723
|
+
# Services account.
|
3724
3724
|
# @return [String]
|
3725
3725
|
#
|
3726
3726
|
# @!attribute [rw] timeout_in_minutes
|
3727
|
-
# How long, in minutes, from 5 to 480 (8 hours), for
|
3728
|
-
#
|
3727
|
+
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
|
3728
|
+
# before timing out any related build that did not get marked as
|
3729
3729
|
# completed. The default is 60 minutes.
|
3730
3730
|
# @return [Integer]
|
3731
3731
|
#
|
@@ -3735,8 +3735,8 @@ module Aws::CodeBuild
|
|
3735
3735
|
# @return [Integer]
|
3736
3736
|
#
|
3737
3737
|
# @!attribute [rw] encryption_key
|
3738
|
-
# The
|
3739
|
-
#
|
3738
|
+
# The Key Management Service customer master key (CMK) to be used for
|
3739
|
+
# encrypting the build output artifacts.
|
3740
3740
|
#
|
3741
3741
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
3742
3742
|
# artifacts if your service role has permission to that key.
|
@@ -3745,15 +3745,16 @@ module Aws::CodeBuild
|
|
3745
3745
|
#
|
3746
3746
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
3747
3747
|
# if available, the CMK's alias (using the format
|
3748
|
-
# `alias/<alias-name>`).
|
3748
|
+
# `alias/<alias-name>`). If you don't specify a value, CodeBuild uses
|
3749
|
+
# the managed CMK for Amazon Simple Storage Service (Amazon S3).
|
3749
3750
|
# @return [String]
|
3750
3751
|
#
|
3751
3752
|
# @!attribute [rw] tags
|
3752
3753
|
# A list of tag key and value pairs associated with this build
|
3753
3754
|
# project.
|
3754
3755
|
#
|
3755
|
-
# These tags are available for use by
|
3756
|
-
# CodeBuild build project tags.
|
3756
|
+
# These tags are available for use by Amazon Web Services services
|
3757
|
+
# that support CodeBuild build project tags.
|
3757
3758
|
# @return [Array<Types::Tag>]
|
3758
3759
|
#
|
3759
3760
|
# @!attribute [rw] created
|
@@ -3767,11 +3768,11 @@ module Aws::CodeBuild
|
|
3767
3768
|
#
|
3768
3769
|
# @!attribute [rw] webhook
|
3769
3770
|
# Information about a webhook that connects repository events to a
|
3770
|
-
# build project in
|
3771
|
+
# build project in CodeBuild.
|
3771
3772
|
# @return [Types::Webhook]
|
3772
3773
|
#
|
3773
3774
|
# @!attribute [rw] vpc_config
|
3774
|
-
# Information about the VPC configuration that
|
3775
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
3775
3776
|
# @return [Types::VpcConfig]
|
3776
3777
|
#
|
3777
3778
|
# @!attribute [rw] badge
|
@@ -3780,7 +3781,7 @@ module Aws::CodeBuild
|
|
3780
3781
|
#
|
3781
3782
|
# @!attribute [rw] logs_config
|
3782
3783
|
# Information about logs for the build project. A project can create
|
3783
|
-
# logs in
|
3784
|
+
# logs in CloudWatch Logs, an S3 bucket, or both.
|
3784
3785
|
# @return [Types::LogsConfig]
|
3785
3786
|
#
|
3786
3787
|
# @!attribute [rw] file_system_locations
|
@@ -3804,6 +3805,28 @@ module Aws::CodeBuild
|
|
3804
3805
|
# limit, new builds are throttled and are not run.
|
3805
3806
|
# @return [Integer]
|
3806
3807
|
#
|
3808
|
+
# @!attribute [rw] project_visibility
|
3809
|
+
# Specifies the visibility of the project's builds. Possible values
|
3810
|
+
# are:
|
3811
|
+
#
|
3812
|
+
# PUBLIC\_READ
|
3813
|
+
#
|
3814
|
+
# : The project builds are visible to the public.
|
3815
|
+
#
|
3816
|
+
# PRIVATE
|
3817
|
+
#
|
3818
|
+
# : The project builds are not visible to the public.
|
3819
|
+
# @return [String]
|
3820
|
+
#
|
3821
|
+
# @!attribute [rw] public_project_alias
|
3822
|
+
# Contains the project identifier used with the public build APIs.
|
3823
|
+
# @return [String]
|
3824
|
+
#
|
3825
|
+
# @!attribute [rw] resource_access_role
|
3826
|
+
# The ARN of the IAM role that enables CodeBuild to access the
|
3827
|
+
# CloudWatch Logs and Amazon S3 artifacts for the project's builds.
|
3828
|
+
# @return [String]
|
3829
|
+
#
|
3807
3830
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
|
3808
3831
|
#
|
3809
3832
|
class Project < Struct.new(
|
@@ -3831,7 +3854,10 @@ module Aws::CodeBuild
|
|
3831
3854
|
:logs_config,
|
3832
3855
|
:file_system_locations,
|
3833
3856
|
:build_batch_config,
|
3834
|
-
:concurrent_build_limit
|
3857
|
+
:concurrent_build_limit,
|
3858
|
+
:project_visibility,
|
3859
|
+
:public_project_alias,
|
3860
|
+
:resource_access_role)
|
3835
3861
|
SENSITIVE = []
|
3836
3862
|
include Aws::Structure
|
3837
3863
|
end
|
@@ -3858,7 +3884,7 @@ module Aws::CodeBuild
|
|
3858
3884
|
# The type of build output artifact. Valid values include:
|
3859
3885
|
#
|
3860
3886
|
# * `CODEPIPELINE`\: The build project has build output generated
|
3861
|
-
# through
|
3887
|
+
# through CodePipeline.
|
3862
3888
|
#
|
3863
3889
|
# <note markdown="1"> The `CODEPIPELINE` type is not supported for `secondaryArtifacts`.
|
3864
3890
|
#
|
@@ -3873,9 +3899,9 @@ module Aws::CodeBuild
|
|
3873
3899
|
# @!attribute [rw] location
|
3874
3900
|
# Information about the build output artifact location:
|
3875
3901
|
#
|
3876
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3877
|
-
# value if specified. This is because
|
3878
|
-
#
|
3902
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3903
|
+
# value if specified. This is because CodePipeline manages its build
|
3904
|
+
# output locations instead of CodeBuild.
|
3879
3905
|
#
|
3880
3906
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3881
3907
|
# specified, because no build output is produced.
|
@@ -3884,12 +3910,12 @@ module Aws::CodeBuild
|
|
3884
3910
|
# @return [String]
|
3885
3911
|
#
|
3886
3912
|
# @!attribute [rw] path
|
3887
|
-
# Along with `namespaceType` and `name`, the pattern that
|
3888
|
-
#
|
3913
|
+
# Along with `namespaceType` and `name`, the pattern that CodeBuild
|
3914
|
+
# uses to name and store the output artifact:
|
3889
3915
|
#
|
3890
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3891
|
-
# value if specified. This is because
|
3892
|
-
#
|
3916
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3917
|
+
# value if specified. This is because CodePipeline manages its build
|
3918
|
+
# output names instead of CodeBuild.
|
3893
3919
|
#
|
3894
3920
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3895
3921
|
# specified, because no build output is produced.
|
@@ -3904,12 +3930,12 @@ module Aws::CodeBuild
|
|
3904
3930
|
# @return [String]
|
3905
3931
|
#
|
3906
3932
|
# @!attribute [rw] namespace_type
|
3907
|
-
# Along with `path` and `name`, the pattern that
|
3933
|
+
# Along with `path` and `name`, the pattern that CodeBuild uses to
|
3908
3934
|
# determine the name and location to store the output artifact:
|
3909
3935
|
#
|
3910
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3911
|
-
# value if specified. This is because
|
3912
|
-
#
|
3936
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3937
|
+
# value if specified. This is because CodePipeline manages its build
|
3938
|
+
# output names instead of CodeBuild.
|
3913
3939
|
#
|
3914
3940
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3915
3941
|
# specified, because no build output is produced.
|
@@ -3928,12 +3954,12 @@ module Aws::CodeBuild
|
|
3928
3954
|
# @return [String]
|
3929
3955
|
#
|
3930
3956
|
# @!attribute [rw] name
|
3931
|
-
# Along with `path` and `namespaceType`, the pattern that
|
3932
|
-
#
|
3957
|
+
# Along with `path` and `namespaceType`, the pattern that CodeBuild
|
3958
|
+
# uses to name and store the output artifact:
|
3933
3959
|
#
|
3934
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3935
|
-
# value if specified. This is because
|
3936
|
-
#
|
3960
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3961
|
+
# value if specified. This is because CodePipeline manages its build
|
3962
|
+
# output names instead of CodeBuild.
|
3937
3963
|
#
|
3938
3964
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3939
3965
|
# specified, because no build output is produced.
|
@@ -3960,21 +3986,21 @@ module Aws::CodeBuild
|
|
3960
3986
|
# @!attribute [rw] packaging
|
3961
3987
|
# The type of build output artifact to create:
|
3962
3988
|
#
|
3963
|
-
# * If `type` is set to `CODEPIPELINE`,
|
3964
|
-
# value if specified. This is because
|
3965
|
-
#
|
3989
|
+
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3990
|
+
# value if specified. This is because CodePipeline manages its build
|
3991
|
+
# output artifacts instead of CodeBuild.
|
3966
3992
|
#
|
3967
3993
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3968
3994
|
# specified, because no build output is produced.
|
3969
3995
|
#
|
3970
3996
|
# * If `type` is set to `S3`, valid values include:
|
3971
3997
|
#
|
3972
|
-
# * `NONE`\:
|
3973
|
-
#
|
3974
|
-
#
|
3998
|
+
# * `NONE`\: CodeBuild creates in the output bucket a folder that
|
3999
|
+
# contains the build output. This is the default if `packaging` is
|
4000
|
+
# not specified.
|
3975
4001
|
#
|
3976
|
-
# * `ZIP`\:
|
3977
|
-
#
|
4002
|
+
# * `ZIP`\: CodeBuild creates in the output bucket a ZIP file that
|
4003
|
+
# contains the build output.
|
3978
4004
|
# @return [String]
|
3979
4005
|
#
|
3980
4006
|
# @!attribute [rw] override_artifact_name
|
@@ -3996,12 +4022,19 @@ module Aws::CodeBuild
|
|
3996
4022
|
# @return [String]
|
3997
4023
|
#
|
3998
4024
|
# @!attribute [rw] bucket_owner_access
|
3999
|
-
# Specifies the access for objects that
|
4000
|
-
#
|
4025
|
+
# Specifies the bucket owner's access for objects that another
|
4026
|
+
# account uploads to their Amazon S3 bucket. By default, only the
|
4027
|
+
# account that uploads the objects to the bucket has access to these
|
4028
|
+
# objects. This property allows you to give the bucket owner access to
|
4029
|
+
# these objects.
|
4001
4030
|
#
|
4002
|
-
#
|
4003
|
-
#
|
4004
|
-
#
|
4031
|
+
# <note markdown="1"> To use this property, your CodeBuild service role must have the
|
4032
|
+
# `s3:PutBucketAcl` permission. This permission allows CodeBuild to
|
4033
|
+
# modify the access control list for the bucket.
|
4034
|
+
#
|
4035
|
+
# </note>
|
4036
|
+
#
|
4037
|
+
# This property can be one of the following values:
|
4005
4038
|
#
|
4006
4039
|
# NONE
|
4007
4040
|
#
|
@@ -4010,7 +4043,7 @@ module Aws::CodeBuild
|
|
4010
4043
|
#
|
4011
4044
|
# READ\_ONLY
|
4012
4045
|
#
|
4013
|
-
# : The bucket owner has read
|
4046
|
+
# : The bucket owner has read-only access to the objects. The
|
4014
4047
|
# uploading account retains ownership of the objects.
|
4015
4048
|
#
|
4016
4049
|
# FULL
|
@@ -4254,6 +4287,21 @@ module Aws::CodeBuild
|
|
4254
4287
|
# Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia
|
4255
4288
|
# Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
|
4256
4289
|
# Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
|
4290
|
+
# ^
|
4291
|
+
#
|
4292
|
+
# * The environment types `WINDOWS_CONTAINER` and
|
4293
|
+
# `WINDOWS_SERVER_2019_CONTAINER` are available only in regions US
|
4294
|
+
# East (N. Virginia), US East (Ohio), US West (Oregon), and EU
|
4295
|
+
# (Ireland).
|
4296
|
+
#
|
4297
|
+
# ^
|
4298
|
+
#
|
4299
|
+
# For more information, see [Build environment compute types][1] in
|
4300
|
+
# the *CodeBuild user guide*.
|
4301
|
+
#
|
4302
|
+
#
|
4303
|
+
#
|
4304
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
4257
4305
|
# @return [String]
|
4258
4306
|
#
|
4259
4307
|
# @!attribute [rw] image
|
@@ -4269,6 +4317,13 @@ module Aws::CodeBuild
|
|
4269
4317
|
# "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
|
4270
4318
|
# use
|
4271
4319
|
# `<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf`.
|
4320
|
+
#
|
4321
|
+
# For more information, see [Docker images provided by CodeBuild][1]
|
4322
|
+
# in the *CodeBuild user guide*.
|
4323
|
+
#
|
4324
|
+
#
|
4325
|
+
#
|
4326
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
|
4272
4327
|
# @return [String]
|
4273
4328
|
#
|
4274
4329
|
# @!attribute [rw] compute_type
|
@@ -4300,7 +4355,7 @@ module Aws::CodeBuild
|
|
4300
4355
|
# memory and 8 vCPUs on ARM-based processors for builds.
|
4301
4356
|
#
|
4302
4357
|
# For more information, see [Build Environment Compute Types][1] in
|
4303
|
-
# the *
|
4358
|
+
# the *CodeBuild User Guide.*
|
4304
4359
|
#
|
4305
4360
|
#
|
4306
4361
|
#
|
@@ -4342,7 +4397,7 @@ module Aws::CodeBuild
|
|
4342
4397
|
# @!attribute [rw] certificate
|
4343
4398
|
# The ARN of the Amazon S3 bucket, path prefix, and object key that
|
4344
4399
|
# contains the PEM-encoded certificate for the build project. For more
|
4345
|
-
# information, see [certificate][1] in the *
|
4400
|
+
# information, see [certificate][1] in the *CodeBuild User Guide*.
|
4346
4401
|
#
|
4347
4402
|
#
|
4348
4403
|
#
|
@@ -4354,19 +4409,19 @@ module Aws::CodeBuild
|
|
4354
4409
|
# @return [Types::RegistryCredential]
|
4355
4410
|
#
|
4356
4411
|
# @!attribute [rw] image_pull_credentials_type
|
4357
|
-
# The type of credentials
|
4358
|
-
#
|
4412
|
+
# The type of credentials CodeBuild uses to pull images in your build.
|
4413
|
+
# There are two valid values:
|
4359
4414
|
#
|
4360
|
-
# * `CODEBUILD` specifies that
|
4415
|
+
# * `CODEBUILD` specifies that CodeBuild uses its own credentials.
|
4361
4416
|
# This requires that you modify your ECR repository policy to trust
|
4362
|
-
#
|
4417
|
+
# CodeBuild service principal.
|
4363
4418
|
#
|
4364
|
-
# * `SERVICE_ROLE` specifies that
|
4365
|
-
#
|
4419
|
+
# * `SERVICE_ROLE` specifies that CodeBuild uses your build project's
|
4420
|
+
# service role.
|
4366
4421
|
#
|
4367
4422
|
# When you use a cross-account or private registry image, you must use
|
4368
|
-
# SERVICE\_ROLE credentials. When you use an
|
4369
|
-
#
|
4423
|
+
# SERVICE\_ROLE credentials. When you use an CodeBuild curated image,
|
4424
|
+
# you must use CODEBUILD credentials.
|
4370
4425
|
# @return [String]
|
4371
4426
|
#
|
4372
4427
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment AWS API Documentation
|
@@ -4410,7 +4465,7 @@ module Aws::CodeBuild
|
|
4410
4465
|
# @!attribute [rw] location
|
4411
4466
|
# A string that specifies the location of the file system created by
|
4412
4467
|
# 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
|
4468
|
+
# find the DNS name of file system when you view it in the Amazon EFS
|
4414
4469
|
# console. The directory path is a path to a directory in the file
|
4415
4470
|
# system that CodeBuild mounts. For example, if the DNS name of a file
|
4416
4471
|
# system is `fs-abcd1234.efs.us-west-2.amazonaws.com`, and its mount
|
@@ -4437,8 +4492,8 @@ module Aws::CodeBuild
|
|
4437
4492
|
# @return [String]
|
4438
4493
|
#
|
4439
4494
|
# @!attribute [rw] mount_options
|
4440
|
-
# The mount options for a file system created by
|
4441
|
-
# mount options used by CodeBuild are
|
4495
|
+
# The mount options for a file system created by Amazon EFS. The
|
4496
|
+
# default mount options used by CodeBuild are
|
4442
4497
|
# `nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2`.
|
4443
4498
|
# For more information, see [Recommended NFS Mount Options][1].
|
4444
4499
|
#
|
@@ -4491,10 +4546,10 @@ module Aws::CodeBuild
|
|
4491
4546
|
#
|
4492
4547
|
# * `BITBUCKET`\: The source code is in a Bitbucket repository.
|
4493
4548
|
#
|
4494
|
-
# * `CODECOMMIT`\: The source code is in an
|
4549
|
+
# * `CODECOMMIT`\: The source code is in an CodeCommit repository.
|
4495
4550
|
#
|
4496
4551
|
# * `CODEPIPELINE`\: The source code settings are specified in the
|
4497
|
-
# source action of a pipeline in
|
4552
|
+
# source action of a pipeline in CodePipeline.
|
4498
4553
|
#
|
4499
4554
|
# * `GITHUB`\: The source code is in a GitHub or GitHub Enterprise
|
4500
4555
|
# Cloud repository.
|
@@ -4512,14 +4567,14 @@ module Aws::CodeBuild
|
|
4512
4567
|
# values include:
|
4513
4568
|
#
|
4514
4569
|
# * 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
|
-
#
|
4570
|
+
# of a pipeline in CodePipeline, `location` should not be specified.
|
4571
|
+
# If it is specified, CodePipeline ignores it. This is because
|
4572
|
+
# CodePipeline uses the settings in a pipeline's source action
|
4573
|
+
# instead of this value.
|
4574
|
+
#
|
4575
|
+
# * For source code in an CodeCommit repository, the HTTPS clone URL
|
4576
|
+
# to the repository that contains the source code and the buildspec
|
4577
|
+
# file (for example,
|
4523
4578
|
# `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`).
|
4524
4579
|
#
|
4525
4580
|
# * For source code in an Amazon S3 input bucket, one of the
|
@@ -4533,29 +4588,33 @@ module Aws::CodeBuild
|
|
4533
4588
|
#
|
4534
4589
|
# * For source code in a GitHub repository, the HTTPS clone URL to the
|
4535
4590
|
# 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`.
|
4591
|
+
# must connect your Amazon Web Services account to your GitHub
|
4592
|
+
# account. Use the CodeBuild console to start creating a build
|
4593
|
+
# project. When you use the console to connect (or reconnect) with
|
4594
|
+
# GitHub, on the GitHub **Authorize application** page, for
|
4595
|
+
# **Organization access**, choose **Request access** next to each
|
4596
|
+
# repository you want to allow CodeBuild to have access to, and then
|
4597
|
+
# choose **Authorize application**. (After you have connected to
|
4598
|
+
# your GitHub account, you do not need to finish creating the build
|
4599
|
+
# project. You can leave the CodeBuild console.) To instruct
|
4600
|
+
# CodeBuild to use this connection, in the `source` object, set the
|
4601
|
+
# `auth` object's `type` value to `OAUTH`.
|
4547
4602
|
#
|
4548
4603
|
# * For source code in a Bitbucket repository, the HTTPS clone URL to
|
4549
4604
|
# 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`.
|
4605
|
+
# You must connect your Amazon Web Services account to your
|
4606
|
+
# Bitbucket account. Use the CodeBuild console to start creating a
|
4607
|
+
# build project. When you use the console to connect (or reconnect)
|
4608
|
+
# with Bitbucket, on the Bitbucket **Confirm access to your
|
4609
|
+
# account** page, choose **Grant access**. (After you have connected
|
4610
|
+
# to your Bitbucket account, you do not need to finish creating the
|
4611
|
+
# build project. You can leave the CodeBuild console.) To instruct
|
4612
|
+
# CodeBuild to use this connection, in the `source` object, set the
|
4613
|
+
# `auth` object's `type` value to `OAUTH`.
|
4614
|
+
#
|
4615
|
+
# If you specify `CODEPIPELINE` for the `Type` property, don't
|
4616
|
+
# specify this property. For all of the other types, you must specify
|
4617
|
+
# `Location`.
|
4559
4618
|
# @return [String]
|
4560
4619
|
#
|
4561
4620
|
# @!attribute [rw] git_clone_depth
|
@@ -4574,11 +4633,12 @@ module Aws::CodeBuild
|
|
4574
4633
|
# If this value is set, it can be either an inline buildspec
|
4575
4634
|
# definition, the path to an alternate buildspec file relative to the
|
4576
4635
|
# 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
|
-
#
|
4636
|
+
# the path to an S3 bucket. The bucket must be in the same Amazon Web
|
4637
|
+
# Services Region as the build project. Specify the buildspec file
|
4638
|
+
# using its ARN (for example,
|
4639
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
4640
|
+
# not provided or is set to an empty string, the source code must
|
4641
|
+
# contain a buildspec file in its root directory. For more
|
4582
4642
|
# information, see [Buildspec File Name and Storage Location][1].
|
4583
4643
|
#
|
4584
4644
|
#
|
@@ -4587,11 +4647,11 @@ module Aws::CodeBuild
|
|
4587
4647
|
# @return [String]
|
4588
4648
|
#
|
4589
4649
|
# @!attribute [rw] auth
|
4590
|
-
# Information about the authorization settings for
|
4591
|
-
#
|
4650
|
+
# Information about the authorization settings for CodeBuild to access
|
4651
|
+
# the source code to be built.
|
4592
4652
|
#
|
4593
|
-
# This information is for the
|
4594
|
-
#
|
4653
|
+
# This information is for the CodeBuild console's use only. Your code
|
4654
|
+
# should not get or set this information directly.
|
4595
4655
|
# @return [Types::SourceAuth]
|
4596
4656
|
#
|
4597
4657
|
# @!attribute [rw] report_build_status
|
@@ -4605,7 +4665,7 @@ module Aws::CodeBuild
|
|
4605
4665
|
# user associated with the source provider must have write access to
|
4606
4666
|
# the repo. If the user does not have write access, the build status
|
4607
4667
|
# cannot be updated. For more information, see [Source provider
|
4608
|
-
# access][1] in the *
|
4668
|
+
# access][1] in the *CodeBuild User Guide*.
|
4609
4669
|
#
|
4610
4670
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
4611
4671
|
# your source provider.
|
@@ -4672,7 +4732,7 @@ module Aws::CodeBuild
|
|
4672
4732
|
# The source version for the corresponding source identifier. If
|
4673
4733
|
# specified, must be one of:
|
4674
4734
|
#
|
4675
|
-
# * For
|
4735
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
4676
4736
|
#
|
4677
4737
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
4678
4738
|
# name that corresponds to the version of the source code you want
|
@@ -4691,7 +4751,7 @@ module Aws::CodeBuild
|
|
4691
4751
|
# build input ZIP file to use.
|
4692
4752
|
#
|
4693
4753
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
4694
|
-
# in the *
|
4754
|
+
# in the *CodeBuild User Guide*.
|
4695
4755
|
#
|
4696
4756
|
#
|
4697
4757
|
#
|
@@ -4717,8 +4777,8 @@ module Aws::CodeBuild
|
|
4717
4777
|
#
|
4718
4778
|
# @!attribute [rw] policy
|
4719
4779
|
# A JSON-formatted resource policy. For more information, see [Sharing
|
4720
|
-
# a Project][1] and [Sharing a Report Group][2] in the *
|
4721
|
-
#
|
4780
|
+
# a Project][1] and [Sharing a Report Group][2] in the *CodeBuild User
|
4781
|
+
# Guide*.
|
4722
4782
|
#
|
4723
4783
|
#
|
4724
4784
|
#
|
@@ -4760,8 +4820,8 @@ module Aws::CodeBuild
|
|
4760
4820
|
#
|
4761
4821
|
# * images cannot be curated or an Amazon ECR image.
|
4762
4822
|
#
|
4763
|
-
# For more information, see [Private Registry with
|
4764
|
-
# Sample for
|
4823
|
+
# For more information, see [Private Registry with Secrets Manager
|
4824
|
+
# Sample for CodeBuild][1].
|
4765
4825
|
#
|
4766
4826
|
#
|
4767
4827
|
#
|
@@ -4777,18 +4837,17 @@ module Aws::CodeBuild
|
|
4777
4837
|
#
|
4778
4838
|
# @!attribute [rw] credential
|
4779
4839
|
# The Amazon Resource Name (ARN) or name of credentials created using
|
4780
|
-
#
|
4840
|
+
# Secrets Manager.
|
4781
4841
|
#
|
4782
4842
|
# <note markdown="1"> The `credential` can use the name of the credentials only if they
|
4783
|
-
# exist in your current
|
4843
|
+
# exist in your current Amazon Web Services Region.
|
4784
4844
|
#
|
4785
4845
|
# </note>
|
4786
4846
|
# @return [String]
|
4787
4847
|
#
|
4788
4848
|
# @!attribute [rw] credential_provider
|
4789
4849
|
# The service that created the credentials to access a private Docker
|
4790
|
-
# registry. The valid value, SECRETS\_MANAGER, is for
|
4791
|
-
# Manager.
|
4850
|
+
# registry. The valid value, SECRETS\_MANAGER, is for Secrets Manager.
|
4792
4851
|
# @return [String]
|
4793
4852
|
#
|
4794
4853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RegistryCredential AWS API Documentation
|
@@ -4992,8 +5051,8 @@ module Aws::CodeBuild
|
|
4992
5051
|
# @!attribute [rw] tags
|
4993
5052
|
# A list of tag key and value pairs associated with this report group.
|
4994
5053
|
#
|
4995
|
-
# These tags are available for use by
|
4996
|
-
# CodeBuild report group tags.
|
5054
|
+
# These tags are available for use by Amazon Web Services services
|
5055
|
+
# that support CodeBuild report group tags.
|
4997
5056
|
# @return [Array<Types::Tag>]
|
4998
5057
|
#
|
4999
5058
|
# @!attribute [rw] status
|
@@ -5071,7 +5130,7 @@ module Aws::CodeBuild
|
|
5071
5130
|
include Aws::Structure
|
5072
5131
|
end
|
5073
5132
|
|
5074
|
-
# Represents a resolved build artifact. A
|
5133
|
+
# Represents a resolved build artifact. A resolved artifact is an
|
5075
5134
|
# artifact that is built and deployed to the destination, such as Amazon
|
5076
5135
|
# S3.
|
5077
5136
|
#
|
@@ -5097,14 +5156,14 @@ module Aws::CodeBuild
|
|
5097
5156
|
include Aws::Structure
|
5098
5157
|
end
|
5099
5158
|
|
5100
|
-
# The specified
|
5101
|
-
# with the same settings already exists.
|
5159
|
+
# The specified Amazon Web Services resource cannot be created, because
|
5160
|
+
# an Amazon Web Services resource with the same settings already exists.
|
5102
5161
|
#
|
5103
5162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceAlreadyExistsException AWS API Documentation
|
5104
5163
|
#
|
5105
5164
|
class ResourceAlreadyExistsException < Aws::EmptyStructure; end
|
5106
5165
|
|
5107
|
-
# The specified
|
5166
|
+
# The specified Amazon Web Services resource cannot be found.
|
5108
5167
|
#
|
5109
5168
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceNotFoundException AWS API Documentation
|
5110
5169
|
#
|
@@ -5128,8 +5187,7 @@ module Aws::CodeBuild
|
|
5128
5187
|
# idempotency of the `RetryBuildBatch` request. The token is included
|
5129
5188
|
# in the `RetryBuildBatch` request and is valid for five minutes. If
|
5130
5189
|
# you repeat the `RetryBuildBatch` request with the same token, but
|
5131
|
-
# change a parameter,
|
5132
|
-
# error.
|
5190
|
+
# change a parameter, CodeBuild returns a parameter mismatch error.
|
5133
5191
|
# @return [String]
|
5134
5192
|
#
|
5135
5193
|
# @!attribute [rw] retry_type
|
@@ -5175,7 +5233,7 @@ module Aws::CodeBuild
|
|
5175
5233
|
# idempotency of the `RetryBuild` request. The token is included in
|
5176
5234
|
# the `RetryBuild` request and is valid for five minutes. If you
|
5177
5235
|
# repeat the `RetryBuild` request with the same token, but change a
|
5178
|
-
# parameter,
|
5236
|
+
# parameter, CodeBuild returns a parameter mismatch error.
|
5179
5237
|
# @return [String]
|
5180
5238
|
#
|
5181
5239
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildInput AWS API Documentation
|
@@ -5232,12 +5290,19 @@ module Aws::CodeBuild
|
|
5232
5290
|
# @return [Boolean]
|
5233
5291
|
#
|
5234
5292
|
# @!attribute [rw] bucket_owner_access
|
5235
|
-
# Specifies the access for objects that
|
5236
|
-
#
|
5293
|
+
# Specifies the bucket owner's access for objects that another
|
5294
|
+
# account uploads to their Amazon S3 bucket. By default, only the
|
5295
|
+
# account that uploads the objects to the bucket has access to these
|
5296
|
+
# objects. This property allows you to give the bucket owner access to
|
5297
|
+
# these objects.
|
5298
|
+
#
|
5299
|
+
# <note markdown="1"> To use this property, your CodeBuild service role must have the
|
5300
|
+
# `s3:PutBucketAcl` permission. This permission allows CodeBuild to
|
5301
|
+
# modify the access control list for the bucket.
|
5302
|
+
#
|
5303
|
+
# </note>
|
5237
5304
|
#
|
5238
|
-
#
|
5239
|
-
# has access to these objects. This property allows you to give the
|
5240
|
-
# bucket owner access to these objects.
|
5305
|
+
# This property can be one of the following values:
|
5241
5306
|
#
|
5242
5307
|
# NONE
|
5243
5308
|
#
|
@@ -5246,7 +5311,7 @@ module Aws::CodeBuild
|
|
5246
5311
|
#
|
5247
5312
|
# READ\_ONLY
|
5248
5313
|
#
|
5249
|
-
# : The bucket owner has read
|
5314
|
+
# : The bucket owner has read-only access to the objects. The
|
5250
5315
|
# uploading account retains ownership of the objects.
|
5251
5316
|
#
|
5252
5317
|
# FULL
|
@@ -5303,9 +5368,10 @@ module Aws::CodeBuild
|
|
5303
5368
|
# @return [String]
|
5304
5369
|
#
|
5305
5370
|
# @!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
|
5371
|
+
# The Amazon Web Services account identifier of the owner of the
|
5372
|
+
# Amazon S3 bucket. This allows report data to be exported to an
|
5373
|
+
# Amazon S3 bucket that is owned by an account other than the account
|
5374
|
+
# running the build.
|
5309
5375
|
# @return [String]
|
5310
5376
|
#
|
5311
5377
|
# @!attribute [rw] path
|
@@ -5315,10 +5381,10 @@ module Aws::CodeBuild
|
|
5315
5381
|
# @!attribute [rw] packaging
|
5316
5382
|
# The type of build output artifact to create. Valid values include:
|
5317
5383
|
#
|
5318
|
-
# * `NONE`\:
|
5319
|
-
#
|
5384
|
+
# * `NONE`\: CodeBuild creates the raw data in the output bucket. This
|
5385
|
+
# is the default if packaging is not specified.
|
5320
5386
|
#
|
5321
|
-
# * `ZIP`\:
|
5387
|
+
# * `ZIP`\: CodeBuild creates a ZIP file with the raw data in the
|
5322
5388
|
# output bucket.
|
5323
5389
|
# @return [String]
|
5324
5390
|
#
|
@@ -5344,11 +5410,11 @@ module Aws::CodeBuild
|
|
5344
5410
|
include Aws::Structure
|
5345
5411
|
end
|
5346
5412
|
|
5347
|
-
# Information about the authorization settings for
|
5348
|
-
#
|
5413
|
+
# Information about the authorization settings for CodeBuild to access
|
5414
|
+
# the source code to be built.
|
5349
5415
|
#
|
5350
|
-
# This information is for the
|
5351
|
-
#
|
5416
|
+
# This information is for the CodeBuild console's use only. Your code
|
5417
|
+
# should not get or set this information directly.
|
5352
5418
|
#
|
5353
5419
|
# @note When making an API call, you may pass SourceAuth
|
5354
5420
|
# data as a hash:
|
@@ -5551,7 +5617,7 @@ module Aws::CodeBuild
|
|
5551
5617
|
# only. If not specified, the latest version is used. If specified,
|
5552
5618
|
# the contents depends on the source provider:
|
5553
5619
|
#
|
5554
|
-
#
|
5620
|
+
# CodeCommit
|
5555
5621
|
#
|
5556
5622
|
# : The commit ID, branch, or Git tag to use.
|
5557
5623
|
#
|
@@ -5580,7 +5646,7 @@ module Aws::CodeBuild
|
|
5580
5646
|
# `sourceVersion` (at the build level) takes precedence.
|
5581
5647
|
#
|
5582
5648
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
5583
|
-
# in the *
|
5649
|
+
# in the *CodeBuild User Guide*.
|
5584
5650
|
#
|
5585
5651
|
#
|
5586
5652
|
#
|
@@ -5636,11 +5702,12 @@ module Aws::CodeBuild
|
|
5636
5702
|
# If this value is set, it can be either an inline buildspec
|
5637
5703
|
# definition, the path to an alternate buildspec file relative to the
|
5638
5704
|
# 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
|
-
#
|
5705
|
+
# the path to an S3 bucket. The bucket must be in the same Amazon Web
|
5706
|
+
# Services Region as the build project. Specify the buildspec file
|
5707
|
+
# using its ARN (for example,
|
5708
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
5709
|
+
# not provided or is set to an empty string, the source code must
|
5710
|
+
# contain a buildspec file in its root directory. For more
|
5644
5711
|
# information, see [Buildspec File Name and Storage Location][1].
|
5645
5712
|
#
|
5646
5713
|
#
|
@@ -5712,9 +5779,9 @@ module Aws::CodeBuild
|
|
5712
5779
|
# @return [Integer]
|
5713
5780
|
#
|
5714
5781
|
# @!attribute [rw] encryption_key_override
|
5715
|
-
# The
|
5716
|
-
#
|
5717
|
-
#
|
5782
|
+
# The Key Management Service customer master key (CMK) that overrides
|
5783
|
+
# the one specified in the batch build project. The CMK key encrypts
|
5784
|
+
# the build output artifacts.
|
5718
5785
|
#
|
5719
5786
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
5720
5787
|
# artifacts if your service role has permission to that key.
|
@@ -5731,8 +5798,7 @@ module Aws::CodeBuild
|
|
5731
5798
|
# idempotency of the `StartBuildBatch` request. The token is included
|
5732
5799
|
# in the `StartBuildBatch` request and is valid for five minutes. If
|
5733
5800
|
# you repeat the `StartBuildBatch` request with the same token, but
|
5734
|
-
# change a parameter,
|
5735
|
-
# error.
|
5801
|
+
# change a parameter, CodeBuild returns a parameter mismatch error.
|
5736
5802
|
# @return [String]
|
5737
5803
|
#
|
5738
5804
|
# @!attribute [rw] logs_config_override
|
@@ -5746,23 +5812,22 @@ module Aws::CodeBuild
|
|
5746
5812
|
# @return [Types::RegistryCredential]
|
5747
5813
|
#
|
5748
5814
|
# @!attribute [rw] image_pull_credentials_type_override
|
5749
|
-
# The type of credentials
|
5750
|
-
#
|
5815
|
+
# The type of credentials CodeBuild uses to pull images in your batch
|
5816
|
+
# build. There are two valid values:
|
5751
5817
|
#
|
5752
5818
|
# CODEBUILD
|
5753
5819
|
#
|
5754
|
-
# : Specifies that
|
5755
|
-
#
|
5756
|
-
#
|
5820
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
5821
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
5822
|
+
# service principal.
|
5757
5823
|
#
|
5758
5824
|
# SERVICE\_ROLE
|
5759
5825
|
#
|
5760
|
-
# : Specifies that
|
5761
|
-
# role.
|
5826
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
5762
5827
|
#
|
5763
5828
|
# When using a cross-account or private registry image, you must use
|
5764
|
-
# `SERVICE_ROLE` credentials. When using an
|
5765
|
-
#
|
5829
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
5830
|
+
# you must use `CODEBUILD` credentials.
|
5766
5831
|
# @return [String]
|
5767
5832
|
#
|
5768
5833
|
# @!attribute [rw] build_batch_config_override
|
@@ -5953,8 +6018,7 @@ module Aws::CodeBuild
|
|
5953
6018
|
# }
|
5954
6019
|
#
|
5955
6020
|
# @!attribute [rw] project_name
|
5956
|
-
# The name of the
|
5957
|
-
# build.
|
6021
|
+
# The name of the CodeBuild build project to start running a build.
|
5958
6022
|
# @return [String]
|
5959
6023
|
#
|
5960
6024
|
# @!attribute [rw] secondary_sources_override
|
@@ -5972,7 +6036,7 @@ module Aws::CodeBuild
|
|
5972
6036
|
# not specified, the latest version is used. If specified, the
|
5973
6037
|
# contents depends on the source provider:
|
5974
6038
|
#
|
5975
|
-
#
|
6039
|
+
# CodeCommit
|
5976
6040
|
#
|
5977
6041
|
# : The commit ID, branch, or Git tag to use.
|
5978
6042
|
#
|
@@ -6001,7 +6065,7 @@ module Aws::CodeBuild
|
|
6001
6065
|
# `sourceVersion` (at the build level) takes precedence.
|
6002
6066
|
#
|
6003
6067
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
6004
|
-
# in the *
|
6068
|
+
# in the *CodeBuild User Guide*.
|
6005
6069
|
#
|
6006
6070
|
#
|
6007
6071
|
#
|
@@ -6046,7 +6110,7 @@ module Aws::CodeBuild
|
|
6046
6110
|
#
|
6047
6111
|
# @!attribute [rw] git_submodules_config_override
|
6048
6112
|
# Information about the Git submodules configuration for this build of
|
6049
|
-
# an
|
6113
|
+
# an CodeBuild build project.
|
6050
6114
|
# @return [Types::GitSubmodulesConfig]
|
6051
6115
|
#
|
6052
6116
|
# @!attribute [rw] buildspec_override
|
@@ -6056,11 +6120,12 @@ module Aws::CodeBuild
|
|
6056
6120
|
# If this value is set, it can be either an inline buildspec
|
6057
6121
|
# definition, the path to an alternate buildspec file relative to the
|
6058
6122
|
# 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
|
-
#
|
6123
|
+
# the path to an S3 bucket. The bucket must be in the same Amazon Web
|
6124
|
+
# Services Region as the build project. Specify the buildspec file
|
6125
|
+
# using its ARN (for example,
|
6126
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
6127
|
+
# not provided or is set to an empty string, the source code must
|
6128
|
+
# contain a buildspec file in its root directory. For more
|
6064
6129
|
# information, see [Buildspec File Name and Storage Location][1].
|
6065
6130
|
#
|
6066
6131
|
#
|
@@ -6086,7 +6151,7 @@ module Aws::CodeBuild
|
|
6086
6151
|
# user associated with the source provider must have write access to
|
6087
6152
|
# the repo. If the user does not have write access, the build status
|
6088
6153
|
# cannot be updated. For more information, see [Source provider
|
6089
|
-
# access][1] in the *
|
6154
|
+
# access][1] in the *CodeBuild User Guide*.
|
6090
6155
|
#
|
6091
6156
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
6092
6157
|
# your source provider.
|
@@ -6151,9 +6216,9 @@ module Aws::CodeBuild
|
|
6151
6216
|
# @return [Integer]
|
6152
6217
|
#
|
6153
6218
|
# @!attribute [rw] encryption_key_override
|
6154
|
-
# The
|
6155
|
-
#
|
6156
|
-
#
|
6219
|
+
# The Key Management Service customer master key (CMK) that overrides
|
6220
|
+
# the one specified in the build project. The CMK key encrypts the
|
6221
|
+
# build output artifacts.
|
6157
6222
|
#
|
6158
6223
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
6159
6224
|
# artifacts if your service role has permission to that key.
|
@@ -6169,7 +6234,7 @@ module Aws::CodeBuild
|
|
6169
6234
|
# A unique, case sensitive identifier you provide to ensure the
|
6170
6235
|
# idempotency of the StartBuild request. The token is included in the
|
6171
6236
|
# StartBuild request and is valid for 5 minutes. If you repeat the
|
6172
|
-
# StartBuild request with the same token, but change a parameter,
|
6237
|
+
# StartBuild request with the same token, but change a parameter,
|
6173
6238
|
# CodeBuild returns a parameter mismatch error.
|
6174
6239
|
# @return [String]
|
6175
6240
|
#
|
@@ -6183,23 +6248,22 @@ module Aws::CodeBuild
|
|
6183
6248
|
# @return [Types::RegistryCredential]
|
6184
6249
|
#
|
6185
6250
|
# @!attribute [rw] image_pull_credentials_type_override
|
6186
|
-
# The type of credentials
|
6187
|
-
#
|
6251
|
+
# The type of credentials CodeBuild uses to pull images in your build.
|
6252
|
+
# There are two valid values:
|
6188
6253
|
#
|
6189
6254
|
# CODEBUILD
|
6190
6255
|
#
|
6191
|
-
# : Specifies that
|
6192
|
-
#
|
6193
|
-
#
|
6256
|
+
# : Specifies that CodeBuild uses its own credentials. This requires
|
6257
|
+
# that you modify your ECR repository policy to trust CodeBuild's
|
6258
|
+
# service principal.
|
6194
6259
|
#
|
6195
6260
|
# SERVICE\_ROLE
|
6196
6261
|
#
|
6197
|
-
# : Specifies that
|
6198
|
-
# role.
|
6262
|
+
# : Specifies that CodeBuild uses your build project's service role.
|
6199
6263
|
#
|
6200
6264
|
# When using a cross-account or private registry image, you must use
|
6201
|
-
# `SERVICE_ROLE` credentials. When using an
|
6202
|
-
#
|
6265
|
+
# `SERVICE_ROLE` credentials. When using an CodeBuild curated image,
|
6266
|
+
# you must use `CODEBUILD` credentials.
|
6203
6267
|
# @return [String]
|
6204
6268
|
#
|
6205
6269
|
# @!attribute [rw] debug_session_enabled
|
@@ -6325,8 +6389,8 @@ module Aws::CodeBuild
|
|
6325
6389
|
|
6326
6390
|
# A tag, consisting of a key and a value.
|
6327
6391
|
#
|
6328
|
-
# This tag is available for use by
|
6329
|
-
# CodeBuild.
|
6392
|
+
# This tag is available for use by Amazon Web Services services that
|
6393
|
+
# support tags in CodeBuild.
|
6330
6394
|
#
|
6331
6395
|
# @note When making an API call, you may pass Tag
|
6332
6396
|
# data as a hash:
|
@@ -6659,7 +6723,7 @@ module Aws::CodeBuild
|
|
6659
6723
|
# specified, the latest version is used. If specified, it must be one
|
6660
6724
|
# of:
|
6661
6725
|
#
|
6662
|
-
# * For
|
6726
|
+
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
6663
6727
|
#
|
6664
6728
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
6665
6729
|
# name that corresponds to the version of the source code you want
|
@@ -6682,7 +6746,7 @@ module Aws::CodeBuild
|
|
6682
6746
|
# level).
|
6683
6747
|
#
|
6684
6748
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
6685
|
-
# in the *
|
6749
|
+
# in the *CodeBuild User Guide*.
|
6686
6750
|
#
|
6687
6751
|
#
|
6688
6752
|
#
|
@@ -6715,13 +6779,13 @@ module Aws::CodeBuild
|
|
6715
6779
|
# @return [Types::ProjectEnvironment]
|
6716
6780
|
#
|
6717
6781
|
# @!attribute [rw] service_role
|
6718
|
-
# The replacement ARN of the
|
6719
|
-
#
|
6720
|
-
#
|
6782
|
+
# The replacement ARN of the IAM role that enables CodeBuild to
|
6783
|
+
# interact with dependent Amazon Web Services services on behalf of
|
6784
|
+
# the Amazon Web Services account.
|
6721
6785
|
# @return [String]
|
6722
6786
|
#
|
6723
6787
|
# @!attribute [rw] timeout_in_minutes
|
6724
|
-
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
6788
|
+
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
6725
6789
|
# CodeBuild to wait before timing out any related build that did not
|
6726
6790
|
# get marked as completed.
|
6727
6791
|
# @return [Integer]
|
@@ -6732,8 +6796,8 @@ module Aws::CodeBuild
|
|
6732
6796
|
# @return [Integer]
|
6733
6797
|
#
|
6734
6798
|
# @!attribute [rw] encryption_key
|
6735
|
-
# The
|
6736
|
-
#
|
6799
|
+
# The Key Management Service customer master key (CMK) to be used for
|
6800
|
+
# encrypting the build output artifacts.
|
6737
6801
|
#
|
6738
6802
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
6739
6803
|
# artifacts if your service role has permission to that key.
|
@@ -6749,13 +6813,12 @@ module Aws::CodeBuild
|
|
6749
6813
|
# An updated list of tag key and value pairs associated with this
|
6750
6814
|
# build project.
|
6751
6815
|
#
|
6752
|
-
# These tags are available for use by
|
6753
|
-
# CodeBuild build project tags.
|
6816
|
+
# These tags are available for use by Amazon Web Services services
|
6817
|
+
# that support CodeBuild build project tags.
|
6754
6818
|
# @return [Array<Types::Tag>]
|
6755
6819
|
#
|
6756
6820
|
# @!attribute [rw] vpc_config
|
6757
|
-
# VpcConfig enables
|
6758
|
-
# VPC.
|
6821
|
+
# VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
6759
6822
|
# @return [Types::VpcConfig]
|
6760
6823
|
#
|
6761
6824
|
# @!attribute [rw] badge_enabled
|
@@ -6765,7 +6828,7 @@ module Aws::CodeBuild
|
|
6765
6828
|
#
|
6766
6829
|
# @!attribute [rw] logs_config
|
6767
6830
|
# Information about logs for the build project. A project can create
|
6768
|
-
# logs in
|
6831
|
+
# logs in CloudWatch Logs, logs in an S3 bucket, or both.
|
6769
6832
|
# @return [Types::LogsConfig]
|
6770
6833
|
#
|
6771
6834
|
# @!attribute [rw] file_system_locations
|
@@ -6830,6 +6893,78 @@ module Aws::CodeBuild
|
|
6830
6893
|
include Aws::Structure
|
6831
6894
|
end
|
6832
6895
|
|
6896
|
+
# @note When making an API call, you may pass UpdateProjectVisibilityInput
|
6897
|
+
# data as a hash:
|
6898
|
+
#
|
6899
|
+
# {
|
6900
|
+
# project_arn: "NonEmptyString", # required
|
6901
|
+
# project_visibility: "PUBLIC_READ", # required, accepts PUBLIC_READ, PRIVATE
|
6902
|
+
# resource_access_role: "NonEmptyString",
|
6903
|
+
# }
|
6904
|
+
#
|
6905
|
+
# @!attribute [rw] project_arn
|
6906
|
+
# The Amazon Resource Name (ARN) of the build project.
|
6907
|
+
# @return [String]
|
6908
|
+
#
|
6909
|
+
# @!attribute [rw] project_visibility
|
6910
|
+
# Specifies the visibility of the project's builds. Possible values
|
6911
|
+
# are:
|
6912
|
+
#
|
6913
|
+
# PUBLIC\_READ
|
6914
|
+
#
|
6915
|
+
# : The project builds are visible to the public.
|
6916
|
+
#
|
6917
|
+
# PRIVATE
|
6918
|
+
#
|
6919
|
+
# : The project builds are not visible to the public.
|
6920
|
+
# @return [String]
|
6921
|
+
#
|
6922
|
+
# @!attribute [rw] resource_access_role
|
6923
|
+
# The ARN of the IAM role that enables CodeBuild to access the
|
6924
|
+
# CloudWatch Logs and Amazon S3 artifacts for the project's builds.
|
6925
|
+
# @return [String]
|
6926
|
+
#
|
6927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibilityInput AWS API Documentation
|
6928
|
+
#
|
6929
|
+
class UpdateProjectVisibilityInput < Struct.new(
|
6930
|
+
:project_arn,
|
6931
|
+
:project_visibility,
|
6932
|
+
:resource_access_role)
|
6933
|
+
SENSITIVE = []
|
6934
|
+
include Aws::Structure
|
6935
|
+
end
|
6936
|
+
|
6937
|
+
# @!attribute [rw] project_arn
|
6938
|
+
# The Amazon Resource Name (ARN) of the build project.
|
6939
|
+
# @return [String]
|
6940
|
+
#
|
6941
|
+
# @!attribute [rw] public_project_alias
|
6942
|
+
# Contains the project identifier used with the public build APIs.
|
6943
|
+
# @return [String]
|
6944
|
+
#
|
6945
|
+
# @!attribute [rw] project_visibility
|
6946
|
+
# Specifies the visibility of the project's builds. Possible values
|
6947
|
+
# are:
|
6948
|
+
#
|
6949
|
+
# PUBLIC\_READ
|
6950
|
+
#
|
6951
|
+
# : The project builds are visible to the public.
|
6952
|
+
#
|
6953
|
+
# PRIVATE
|
6954
|
+
#
|
6955
|
+
# : The project builds are not visible to the public.
|
6956
|
+
# @return [String]
|
6957
|
+
#
|
6958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibilityOutput AWS API Documentation
|
6959
|
+
#
|
6960
|
+
class UpdateProjectVisibilityOutput < Struct.new(
|
6961
|
+
:project_arn,
|
6962
|
+
:public_project_alias,
|
6963
|
+
:project_visibility)
|
6964
|
+
SENSITIVE = []
|
6965
|
+
include Aws::Structure
|
6966
|
+
end
|
6967
|
+
|
6833
6968
|
# @note When making an API call, you may pass UpdateReportGroupInput
|
6834
6969
|
# data as a hash:
|
6835
6970
|
#
|
@@ -6870,8 +7005,8 @@ module Aws::CodeBuild
|
|
6870
7005
|
# An updated list of tag key and value pairs associated with this
|
6871
7006
|
# report group.
|
6872
7007
|
#
|
6873
|
-
# These tags are available for use by
|
6874
|
-
# CodeBuild report group tags.
|
7008
|
+
# These tags are available for use by Amazon Web Services services
|
7009
|
+
# that support CodeBuild report group tags.
|
6875
7010
|
# @return [Array<Types::Tag>]
|
6876
7011
|
#
|
6877
7012
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroupInput AWS API Documentation
|
@@ -6916,7 +7051,7 @@ module Aws::CodeBuild
|
|
6916
7051
|
# }
|
6917
7052
|
#
|
6918
7053
|
# @!attribute [rw] project_name
|
6919
|
-
# The name of the
|
7054
|
+
# The name of the CodeBuild project.
|
6920
7055
|
# @return [String]
|
6921
7056
|
#
|
6922
7057
|
# @!attribute [rw] branch_filter
|
@@ -6961,7 +7096,7 @@ module Aws::CodeBuild
|
|
6961
7096
|
|
6962
7097
|
# @!attribute [rw] webhook
|
6963
7098
|
# Information about a repository's webhook that is associated with a
|
6964
|
-
# project in
|
7099
|
+
# project in CodeBuild.
|
6965
7100
|
# @return [Types::Webhook]
|
6966
7101
|
#
|
6967
7102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookOutput AWS API Documentation
|
@@ -6972,7 +7107,7 @@ module Aws::CodeBuild
|
|
6972
7107
|
include Aws::Structure
|
6973
7108
|
end
|
6974
7109
|
|
6975
|
-
# Information about the VPC configuration that
|
7110
|
+
# Information about the VPC configuration that CodeBuild accesses.
|
6976
7111
|
#
|
6977
7112
|
# @note When making an API call, you may pass VpcConfig
|
6978
7113
|
# data as a hash:
|
@@ -7006,14 +7141,14 @@ module Aws::CodeBuild
|
|
7006
7141
|
end
|
7007
7142
|
|
7008
7143
|
# Information about a webhook that connects repository events to a build
|
7009
|
-
# project in
|
7144
|
+
# project in CodeBuild.
|
7010
7145
|
#
|
7011
7146
|
# @!attribute [rw] url
|
7012
7147
|
# The URL to the webhook.
|
7013
7148
|
# @return [String]
|
7014
7149
|
#
|
7015
7150
|
# @!attribute [rw] payload_url
|
7016
|
-
# The
|
7151
|
+
# The CodeBuild endpoint where webhook events are sent.
|
7017
7152
|
# @return [String]
|
7018
7153
|
#
|
7019
7154
|
# @!attribute [rw] secret
|