aws-sdk-codebuild 1.73.0 → 1.74.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 +151 -102
- data/lib/aws-sdk-codebuild/client_api.rb +4 -0
- data/lib/aws-sdk-codebuild/types.rb +430 -308
- metadata +2 -2
@@ -32,6 +32,7 @@ module Aws::CodeBuild
|
|
32
32
|
BatchGetReportsOutput = Shapes::StructureShape.new(name: 'BatchGetReportsOutput')
|
33
33
|
BatchRestrictions = Shapes::StructureShape.new(name: 'BatchRestrictions')
|
34
34
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
35
|
+
BucketOwnerAccess = Shapes::StringShape.new(name: 'BucketOwnerAccess')
|
35
36
|
Build = Shapes::StructureShape.new(name: 'Build')
|
36
37
|
BuildArtifacts = Shapes::StructureShape.new(name: 'BuildArtifacts')
|
37
38
|
BuildArtifactsList = Shapes::ListShape.new(name: 'BuildArtifactsList')
|
@@ -344,6 +345,7 @@ module Aws::CodeBuild
|
|
344
345
|
BuildArtifacts.add_member(:override_artifact_name, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "overrideArtifactName"))
|
345
346
|
BuildArtifacts.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
|
346
347
|
BuildArtifacts.add_member(:artifact_identifier, Shapes::ShapeRef.new(shape: String, location_name: "artifactIdentifier"))
|
348
|
+
BuildArtifacts.add_member(:bucket_owner_access, Shapes::ShapeRef.new(shape: BucketOwnerAccess, location_name: "bucketOwnerAccess"))
|
347
349
|
BuildArtifacts.struct_class = Types::BuildArtifacts
|
348
350
|
|
349
351
|
BuildArtifactsList.member = Shapes::ShapeRef.new(shape: BuildArtifacts)
|
@@ -828,6 +830,7 @@ module Aws::CodeBuild
|
|
828
830
|
ProjectArtifacts.add_member(:override_artifact_name, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "overrideArtifactName"))
|
829
831
|
ProjectArtifacts.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
|
830
832
|
ProjectArtifacts.add_member(:artifact_identifier, Shapes::ShapeRef.new(shape: String, location_name: "artifactIdentifier"))
|
833
|
+
ProjectArtifacts.add_member(:bucket_owner_access, Shapes::ShapeRef.new(shape: BucketOwnerAccess, location_name: "bucketOwnerAccess"))
|
831
834
|
ProjectArtifacts.struct_class = Types::ProjectArtifacts
|
832
835
|
|
833
836
|
ProjectArtifactsList.member = Shapes::ShapeRef.new(shape: ProjectArtifacts)
|
@@ -985,6 +988,7 @@ module Aws::CodeBuild
|
|
985
988
|
S3LogsConfig.add_member(:status, Shapes::ShapeRef.new(shape: LogsConfigStatusType, required: true, location_name: "status"))
|
986
989
|
S3LogsConfig.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
|
987
990
|
S3LogsConfig.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
|
991
|
+
S3LogsConfig.add_member(:bucket_owner_access, Shapes::ShapeRef.new(shape: BucketOwnerAccess, location_name: "bucketOwnerAccess"))
|
988
992
|
S3LogsConfig.struct_class = Types::S3LogsConfig
|
989
993
|
|
990
994
|
S3ReportExportConfig.add_member(:bucket, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bucket"))
|
@@ -10,8 +10,7 @@
|
|
10
10
|
module Aws::CodeBuild
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# An
|
14
|
-
# Amazon Web Services account.
|
13
|
+
# An AWS service limit was exceeded for the calling AWS account.
|
15
14
|
#
|
16
15
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/AccountLimitExceededException AWS API Documentation
|
17
16
|
#
|
@@ -136,8 +135,8 @@ module Aws::CodeBuild
|
|
136
135
|
#
|
137
136
|
# @!attribute [rw] names
|
138
137
|
# The names or ARNs of the build projects. To get information about a
|
139
|
-
# project shared with your
|
140
|
-
#
|
138
|
+
# project shared with your AWS account, its ARN must be specified. You
|
139
|
+
# cannot specify a shared project using its name.
|
141
140
|
# @return [Array<String>]
|
142
141
|
#
|
143
142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsInput AWS API Documentation
|
@@ -258,7 +257,7 @@ module Aws::CodeBuild
|
|
258
257
|
# @!attribute [rw] compute_types_allowed
|
259
258
|
# An array of strings that specify the compute types that are allowed
|
260
259
|
# for the batch build. See [Build environment compute types][1] in the
|
261
|
-
# *CodeBuild User Guide* for these values.
|
260
|
+
# *AWS CodeBuild User Guide* for these values.
|
262
261
|
#
|
263
262
|
#
|
264
263
|
#
|
@@ -325,7 +324,7 @@ module Aws::CodeBuild
|
|
325
324
|
# this `sourceVersion` (at the build level) takes precedence.
|
326
325
|
#
|
327
326
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
328
|
-
# in the *CodeBuild User Guide*.
|
327
|
+
# in the *AWS CodeBuild User Guide*.
|
329
328
|
#
|
330
329
|
#
|
331
330
|
#
|
@@ -335,16 +334,17 @@ module Aws::CodeBuild
|
|
335
334
|
# @!attribute [rw] resolved_source_version
|
336
335
|
# An identifier for the version of this build's source code.
|
337
336
|
#
|
338
|
-
# * For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
|
337
|
+
# * For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
|
339
338
|
# commit ID.
|
340
339
|
#
|
341
|
-
# * For CodePipeline, the source revision provided by
|
340
|
+
# * For AWS CodePipeline, the source revision provided by AWS
|
341
|
+
# 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 CodeBuild project.
|
347
|
+
# The name of the AWS 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 CodeCommit: the commit ID, branch, or Git tag to use.
|
367
|
+
# * For AWS 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 CloudWatch Logs.
|
407
|
+
# Information about the build's logs in Amazon CloudWatch Logs.
|
408
408
|
# @return [Types::LogsLocation]
|
409
409
|
#
|
410
410
|
# @!attribute [rw] timeout_in_minutes
|
411
|
-
# How long, in minutes, for CodeBuild to wait before timing out
|
412
|
-
# build if it does not get marked as completed.
|
411
|
+
# How long, in minutes, for AWS CodeBuild to wait before timing out
|
412
|
+
# this 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 CodePipeline started the build, the pipeline's name (for
|
427
|
+
# * If AWS CodePipeline started the build, the pipeline's name (for
|
428
428
|
# example, `codepipeline/my-demo-pipeline`).
|
429
429
|
#
|
430
|
-
# * If an Identity and Access Management user started the
|
431
|
-
# user's name (for example, `MyUserName`).
|
430
|
+
# * If an AWS Identity and Access Management (IAM) user started the
|
431
|
+
# build, the user's name (for example, `MyUserName`).
|
432
432
|
#
|
433
|
-
# * If the Jenkins plugin for CodeBuild started the build, the
|
434
|
-
# `CodeBuild-Jenkins-Plugin`.
|
433
|
+
# * If the Jenkins plugin for AWS CodeBuild started the build, the
|
434
|
+
# string `CodeBuild-Jenkins-Plugin`.
|
435
435
|
# @return [String]
|
436
436
|
#
|
437
437
|
# @!attribute [rw] vpc_config
|
438
|
-
# If your CodeBuild project accesses resources in an Amazon VPC,
|
439
|
-
# provide this parameter that identifies the VPC ID and the list
|
440
|
-
# security group IDs and subnet IDs. The security groups and
|
441
|
-
# must belong to the same VPC. You must provide at least one
|
442
|
-
# group and one subnet ID.
|
438
|
+
# If your AWS CodeBuild project accesses resources in an Amazon VPC,
|
439
|
+
# you provide this parameter that identifies the VPC ID and the list
|
440
|
+
# of security group IDs and subnet IDs. The security groups and
|
441
|
+
# subnets must belong to the same VPC. You must provide at least one
|
442
|
+
# security 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 Key Management Service customer master key (CMK)
|
451
|
-
# encrypting the build output artifacts.
|
450
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
451
|
+
# to be used for 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,10 +463,11 @@ 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 AWS
|
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 *CodePipeline User
|
469
|
+
# see [Working with variables][1] in the *AWS CodePipeline User
|
470
|
+
# Guide*.
|
470
471
|
#
|
471
472
|
#
|
472
473
|
#
|
@@ -579,6 +580,46 @@ module Aws::CodeBuild
|
|
579
580
|
# An identifier for this artifact definition.
|
580
581
|
# @return [String]
|
581
582
|
#
|
583
|
+
# @!attribute [rw] bucket_owner_access
|
584
|
+
# Specifies the access for objects that are uploaded to an Amazon S3
|
585
|
+
# bucket that is owned by another account.
|
586
|
+
#
|
587
|
+
# By default, only the account that uploads the objects to the bucket
|
588
|
+
# has access to these objects. This property allows you to give the
|
589
|
+
# bucket owner access to these objects.
|
590
|
+
#
|
591
|
+
# NONE
|
592
|
+
#
|
593
|
+
# : The bucket owner does not have access to the objects. This is the
|
594
|
+
# default.
|
595
|
+
#
|
596
|
+
# READ\_ONLY
|
597
|
+
#
|
598
|
+
# : The bucket owner has read only access to the objects. The
|
599
|
+
# uploading account retains ownership of the objects.
|
600
|
+
#
|
601
|
+
# FULL
|
602
|
+
#
|
603
|
+
# : The bucket owner has full access to the objects. Object ownership
|
604
|
+
# is determined by the following criteria:
|
605
|
+
#
|
606
|
+
# * If the bucket is configured with the **Bucket owner preferred**
|
607
|
+
# setting, the bucket owner owns the objects. The uploading
|
608
|
+
# account will have object access as specified by the bucket's
|
609
|
+
# policy.
|
610
|
+
#
|
611
|
+
# * Otherwise, the uploading account retains ownership of the
|
612
|
+
# objects.
|
613
|
+
#
|
614
|
+
# For more information about Amazon S3 object ownership, see
|
615
|
+
# [Controlling ownership of uploaded objects using S3 Object
|
616
|
+
# Ownership][1] in the *Amazon Simple Storage Service User Guide*.
|
617
|
+
#
|
618
|
+
#
|
619
|
+
#
|
620
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
621
|
+
# @return [String]
|
622
|
+
#
|
582
623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildArtifacts AWS API Documentation
|
583
624
|
#
|
584
625
|
class BuildArtifacts < Struct.new(
|
@@ -587,7 +628,8 @@ module Aws::CodeBuild
|
|
587
628
|
:md5sum,
|
588
629
|
:override_artifact_name,
|
589
630
|
:encryption_disabled,
|
590
|
-
:artifact_identifier
|
631
|
+
:artifact_identifier,
|
632
|
+
:bucket_owner_access)
|
591
633
|
SENSITIVE = []
|
592
634
|
include Aws::Structure
|
593
635
|
end
|
@@ -626,10 +668,11 @@ module Aws::CodeBuild
|
|
626
668
|
# The identifier of the resolved version of this batch build's source
|
627
669
|
# code.
|
628
670
|
#
|
629
|
-
# * For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
|
671
|
+
# * For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
|
630
672
|
# commit ID.
|
631
673
|
#
|
632
|
-
# * For CodePipeline, the source revision provided by
|
674
|
+
# * For AWS CodePipeline, the source revision provided by AWS
|
675
|
+
# CodePipeline.
|
633
676
|
#
|
634
677
|
# * For Amazon S3, this does not apply.
|
635
678
|
# @return [String]
|
@@ -656,7 +699,7 @@ module Aws::CodeBuild
|
|
656
699
|
# An array of `ProjectSourceVersion` objects. Each
|
657
700
|
# `ProjectSourceVersion` must be one of:
|
658
701
|
#
|
659
|
-
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
702
|
+
# * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
|
660
703
|
#
|
661
704
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
662
705
|
# name that corresponds to the version of the source code you want
|
@@ -699,7 +742,7 @@ module Aws::CodeBuild
|
|
699
742
|
#
|
700
743
|
# @!attribute [rw] log_config
|
701
744
|
# Information about logs for a build project. These can be logs in
|
702
|
-
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
745
|
+
# Amazon CloudWatch Logs, built in a specified S3 bucket, or both.
|
703
746
|
# @return [Types::LogsConfig]
|
704
747
|
#
|
705
748
|
# @!attribute [rw] build_timeout_in_minutes
|
@@ -719,23 +762,23 @@ module Aws::CodeBuild
|
|
719
762
|
# @!attribute [rw] initiator
|
720
763
|
# The entity that started the batch build. Valid values include:
|
721
764
|
#
|
722
|
-
# * If CodePipeline started the build, the pipeline's name (for
|
765
|
+
# * If AWS CodePipeline started the build, the pipeline's name (for
|
723
766
|
# example, `codepipeline/my-demo-pipeline`).
|
724
767
|
#
|
725
|
-
# * If an Identity and Access Management user started the
|
726
|
-
# user's name.
|
768
|
+
# * If an AWS Identity and Access Management (IAM) user started the
|
769
|
+
# build, the user's name.
|
727
770
|
#
|
728
|
-
# * If the Jenkins plugin for CodeBuild started the build, the
|
729
|
-
# `CodeBuild-Jenkins-Plugin`.
|
771
|
+
# * If the Jenkins plugin for AWS CodeBuild started the build, the
|
772
|
+
# string `CodeBuild-Jenkins-Plugin`.
|
730
773
|
# @return [String]
|
731
774
|
#
|
732
775
|
# @!attribute [rw] vpc_config
|
733
|
-
# Information about the VPC configuration that CodeBuild accesses.
|
776
|
+
# Information about the VPC configuration that AWS CodeBuild accesses.
|
734
777
|
# @return [Types::VpcConfig]
|
735
778
|
#
|
736
779
|
# @!attribute [rw] encryption_key
|
737
|
-
# The Key Management Service customer master key (CMK)
|
738
|
-
# encrypting the batch build output artifacts.
|
780
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
781
|
+
# to be used for encrypting the batch build output artifacts.
|
739
782
|
#
|
740
783
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
741
784
|
# artifacts if your service role has permission to that key.
|
@@ -1099,7 +1142,7 @@ module Aws::CodeBuild
|
|
1099
1142
|
include Aws::Structure
|
1100
1143
|
end
|
1101
1144
|
|
1102
|
-
# Contains information that defines how the CodeBuild build project
|
1145
|
+
# Contains information that defines how the AWS CodeBuild build project
|
1103
1146
|
# reports the build status to the source provider.
|
1104
1147
|
#
|
1105
1148
|
# @note When making an API call, you may pass BuildStatusConfig
|
@@ -1225,7 +1268,7 @@ module Aws::CodeBuild
|
|
1225
1268
|
include Aws::Structure
|
1226
1269
|
end
|
1227
1270
|
|
1228
|
-
# Information about CloudWatch Logs for a build project.
|
1271
|
+
# Information about Amazon CloudWatch Logs for a build project.
|
1229
1272
|
#
|
1230
1273
|
# @note When making an API call, you may pass CloudWatchLogsConfig
|
1231
1274
|
# data as a hash:
|
@@ -1237,18 +1280,19 @@ module Aws::CodeBuild
|
|
1237
1280
|
# }
|
1238
1281
|
#
|
1239
1282
|
# @!attribute [rw] status
|
1240
|
-
# The current status of the logs in CloudWatch Logs for a build
|
1283
|
+
# The current status of the logs in Amazon CloudWatch Logs for a build
|
1241
1284
|
# project. Valid values are:
|
1242
1285
|
#
|
1243
|
-
# * `ENABLED`\: CloudWatch Logs are enabled for this build
|
1286
|
+
# * `ENABLED`\: Amazon CloudWatch Logs are enabled for this build
|
1287
|
+
# project.
|
1244
1288
|
#
|
1245
|
-
# * `DISABLED`\: CloudWatch Logs are not enabled for this build
|
1289
|
+
# * `DISABLED`\: Amazon CloudWatch Logs are not enabled for this build
|
1246
1290
|
# project.
|
1247
1291
|
# @return [String]
|
1248
1292
|
#
|
1249
1293
|
# @!attribute [rw] group_name
|
1250
|
-
# The group name of the logs in CloudWatch Logs. For more
|
1251
|
-
# see [Working with Log Groups and Log Streams][1].
|
1294
|
+
# The group name of the logs in Amazon CloudWatch Logs. For more
|
1295
|
+
# information, see [Working with Log Groups and Log Streams][1].
|
1252
1296
|
#
|
1253
1297
|
#
|
1254
1298
|
#
|
@@ -1256,8 +1300,8 @@ module Aws::CodeBuild
|
|
1256
1300
|
# @return [String]
|
1257
1301
|
#
|
1258
1302
|
# @!attribute [rw] stream_name
|
1259
|
-
# The prefix of the stream name of the CloudWatch Logs. For
|
1260
|
-
# information, see [Working with Log Groups and Log Streams][1].
|
1303
|
+
# The prefix of the stream name of the Amazon CloudWatch Logs. For
|
1304
|
+
# more information, see [Working with Log Groups and Log Streams][1].
|
1261
1305
|
#
|
1262
1306
|
#
|
1263
1307
|
#
|
@@ -1453,6 +1497,7 @@ module Aws::CodeBuild
|
|
1453
1497
|
# override_artifact_name: false,
|
1454
1498
|
# encryption_disabled: false,
|
1455
1499
|
# artifact_identifier: "String",
|
1500
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
1456
1501
|
# },
|
1457
1502
|
# secondary_artifacts: [
|
1458
1503
|
# {
|
@@ -1465,6 +1510,7 @@ module Aws::CodeBuild
|
|
1465
1510
|
# override_artifact_name: false,
|
1466
1511
|
# encryption_disabled: false,
|
1467
1512
|
# artifact_identifier: "String",
|
1513
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
1468
1514
|
# },
|
1469
1515
|
# ],
|
1470
1516
|
# cache: {
|
@@ -1517,6 +1563,7 @@ module Aws::CodeBuild
|
|
1517
1563
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
1518
1564
|
# location: "String",
|
1519
1565
|
# encryption_disabled: false,
|
1566
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
1520
1567
|
# },
|
1521
1568
|
# },
|
1522
1569
|
# file_system_locations: [
|
@@ -1561,7 +1608,7 @@ module Aws::CodeBuild
|
|
1561
1608
|
# specified, the latest version is used. If specified, it must be one
|
1562
1609
|
# of:
|
1563
1610
|
#
|
1564
|
-
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
1611
|
+
# * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
|
1565
1612
|
#
|
1566
1613
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
1567
1614
|
# name that corresponds to the version of the source code you want
|
@@ -1584,7 +1631,7 @@ module Aws::CodeBuild
|
|
1584
1631
|
# level).
|
1585
1632
|
#
|
1586
1633
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
1587
|
-
# in the *CodeBuild User Guide*.
|
1634
|
+
# in the *AWS CodeBuild User Guide*.
|
1588
1635
|
#
|
1589
1636
|
#
|
1590
1637
|
#
|
@@ -1616,15 +1663,15 @@ module Aws::CodeBuild
|
|
1616
1663
|
# @return [Types::ProjectEnvironment]
|
1617
1664
|
#
|
1618
1665
|
# @!attribute [rw] service_role
|
1619
|
-
# The ARN of the Identity and Access Management role that
|
1620
|
-
# CodeBuild to interact with dependent
|
1621
|
-
# behalf of the
|
1666
|
+
# The ARN of the AWS Identity and Access Management (IAM) role that
|
1667
|
+
# enables AWS CodeBuild to interact with dependent AWS services on
|
1668
|
+
# behalf of the AWS account.
|
1622
1669
|
# @return [String]
|
1623
1670
|
#
|
1624
1671
|
# @!attribute [rw] timeout_in_minutes
|
1625
|
-
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to
|
1626
|
-
# before it times out any build that has not been marked as
|
1627
|
-
# The default is 60 minutes.
|
1672
|
+
# How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to
|
1673
|
+
# wait before it times out any build that has not been marked as
|
1674
|
+
# completed. The default is 60 minutes.
|
1628
1675
|
# @return [Integer]
|
1629
1676
|
#
|
1630
1677
|
# @!attribute [rw] queued_timeout_in_minutes
|
@@ -1633,8 +1680,8 @@ module Aws::CodeBuild
|
|
1633
1680
|
# @return [Integer]
|
1634
1681
|
#
|
1635
1682
|
# @!attribute [rw] encryption_key
|
1636
|
-
# The Key Management Service customer master key (CMK)
|
1637
|
-
# encrypting the build output artifacts.
|
1683
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
1684
|
+
# to be used for encrypting the build output artifacts.
|
1638
1685
|
#
|
1639
1686
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
1640
1687
|
# artifacts if your service role has permission to that key.
|
@@ -1650,12 +1697,13 @@ module Aws::CodeBuild
|
|
1650
1697
|
# A list of tag key and value pairs associated with this build
|
1651
1698
|
# project.
|
1652
1699
|
#
|
1653
|
-
# These tags are available for use by
|
1654
|
-
#
|
1700
|
+
# These tags are available for use by AWS services that support AWS
|
1701
|
+
# CodeBuild build project tags.
|
1655
1702
|
# @return [Array<Types::Tag>]
|
1656
1703
|
#
|
1657
1704
|
# @!attribute [rw] vpc_config
|
1658
|
-
# VpcConfig enables CodeBuild to access resources in an Amazon
|
1705
|
+
# VpcConfig enables AWS CodeBuild to access resources in an Amazon
|
1706
|
+
# VPC.
|
1659
1707
|
# @return [Types::VpcConfig]
|
1660
1708
|
#
|
1661
1709
|
# @!attribute [rw] badge_enabled
|
@@ -1665,7 +1713,8 @@ module Aws::CodeBuild
|
|
1665
1713
|
#
|
1666
1714
|
# @!attribute [rw] logs_config
|
1667
1715
|
# Information about logs for the build project. These can be logs in
|
1668
|
-
# CloudWatch Logs, logs uploaded to a specified S3 bucket, or
|
1716
|
+
# Amazon CloudWatch Logs, logs uploaded to a specified S3 bucket, or
|
1717
|
+
# both.
|
1669
1718
|
# @return [Types::LogsConfig]
|
1670
1719
|
#
|
1671
1720
|
# @!attribute [rw] file_system_locations
|
@@ -1770,8 +1819,8 @@ module Aws::CodeBuild
|
|
1770
1819
|
# @!attribute [rw] tags
|
1771
1820
|
# A list of tag key and value pairs associated with this report group.
|
1772
1821
|
#
|
1773
|
-
# These tags are available for use by
|
1774
|
-
#
|
1822
|
+
# These tags are available for use by AWS services that support AWS
|
1823
|
+
# CodeBuild report group tags.
|
1775
1824
|
# @return [Array<Types::Tag>]
|
1776
1825
|
#
|
1777
1826
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroupInput AWS API Documentation
|
@@ -1816,7 +1865,7 @@ module Aws::CodeBuild
|
|
1816
1865
|
# }
|
1817
1866
|
#
|
1818
1867
|
# @!attribute [rw] project_name
|
1819
|
-
# The name of the CodeBuild project.
|
1868
|
+
# The name of the AWS CodeBuild project.
|
1820
1869
|
# @return [String]
|
1821
1870
|
#
|
1822
1871
|
# @!attribute [rw] branch_filter
|
@@ -1858,7 +1907,7 @@ module Aws::CodeBuild
|
|
1858
1907
|
|
1859
1908
|
# @!attribute [rw] webhook
|
1860
1909
|
# Information about a webhook that connects repository events to a
|
1861
|
-
# build project in CodeBuild.
|
1910
|
+
# build project in AWS CodeBuild.
|
1862
1911
|
# @return [Types::Webhook]
|
1863
1912
|
#
|
1864
1913
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput AWS API Documentation
|
@@ -2087,7 +2136,7 @@ module Aws::CodeBuild
|
|
2087
2136
|
# }
|
2088
2137
|
#
|
2089
2138
|
# @!attribute [rw] project_name
|
2090
|
-
# The name of the CodeBuild project.
|
2139
|
+
# The name of the AWS CodeBuild project.
|
2091
2140
|
# @return [String]
|
2092
2141
|
#
|
2093
2142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput AWS API Documentation
|
@@ -2259,7 +2308,7 @@ module Aws::CodeBuild
|
|
2259
2308
|
include Aws::Structure
|
2260
2309
|
end
|
2261
2310
|
|
2262
|
-
# Information about a Docker image that is managed by CodeBuild.
|
2311
|
+
# Information about a Docker image that is managed by AWS CodeBuild.
|
2263
2312
|
#
|
2264
2313
|
# @!attribute [rw] name
|
2265
2314
|
# The name of the Docker image.
|
@@ -2284,7 +2333,7 @@ module Aws::CodeBuild
|
|
2284
2333
|
end
|
2285
2334
|
|
2286
2335
|
# A set of Docker images that are related by programming language and
|
2287
|
-
# are managed by CodeBuild.
|
2336
|
+
# are managed by AWS CodeBuild.
|
2288
2337
|
#
|
2289
2338
|
# @!attribute [rw] language
|
2290
2339
|
# The programming language for the Docker images.
|
@@ -2305,7 +2354,7 @@ module Aws::CodeBuild
|
|
2305
2354
|
end
|
2306
2355
|
|
2307
2356
|
# A set of Docker images that are related by platform and are managed by
|
2308
|
-
# CodeBuild.
|
2357
|
+
# AWS CodeBuild.
|
2309
2358
|
#
|
2310
2359
|
# @!attribute [rw] platform
|
2311
2360
|
# The platform's name.
|
@@ -2345,28 +2394,27 @@ module Aws::CodeBuild
|
|
2345
2394
|
# The value of the environment variable.
|
2346
2395
|
#
|
2347
2396
|
# We strongly discourage the use of `PLAINTEXT` environment variables
|
2348
|
-
# to store sensitive values, especially
|
2349
|
-
#
|
2350
|
-
#
|
2351
|
-
#
|
2352
|
-
#
|
2353
|
-
# `SECRETS_MANAGER`.
|
2397
|
+
# to store sensitive values, especially AWS secret key IDs and secret
|
2398
|
+
# access keys. `PLAINTEXT` environment variables can be displayed in
|
2399
|
+
# plain text using the AWS CodeBuild console and the AWS Command Line
|
2400
|
+
# Interface (AWS CLI). For sensitive values, we recommend you use an
|
2401
|
+
# environment variable of type `PARAMETER_STORE` or `SECRETS_MANAGER`.
|
2354
2402
|
# @return [String]
|
2355
2403
|
#
|
2356
2404
|
# @!attribute [rw] type
|
2357
2405
|
# The type of environment variable. Valid values include:
|
2358
2406
|
#
|
2359
|
-
# * `PARAMETER_STORE`\: An environment variable stored in
|
2360
|
-
# Manager Parameter Store. To learn how to specify a
|
2361
|
-
# environment variable, see [env/parameter-store][1]
|
2362
|
-
# *CodeBuild User Guide*.
|
2407
|
+
# * `PARAMETER_STORE`\: An environment variable stored in Amazon EC2
|
2408
|
+
# Systems Manager Parameter Store. To learn how to specify a
|
2409
|
+
# parameter store environment variable, see [env/parameter-store][1]
|
2410
|
+
# in the *AWS CodeBuild User Guide*.
|
2363
2411
|
#
|
2364
2412
|
# * `PLAINTEXT`\: An environment variable in plain text format. This
|
2365
2413
|
# is the default value.
|
2366
2414
|
#
|
2367
|
-
# * `SECRETS_MANAGER`\: An environment variable stored in Secrets
|
2415
|
+
# * `SECRETS_MANAGER`\: An environment variable stored in AWS Secrets
|
2368
2416
|
# Manager. To learn how to specify a secrets manager environment
|
2369
|
-
# variable, see [env/secrets-manager][2] in the *CodeBuild User
|
2417
|
+
# variable, see [env/secrets-manager][2] in the *AWS CodeBuild User
|
2370
2418
|
# Guide*.
|
2371
2419
|
#
|
2372
2420
|
#
|
@@ -2387,10 +2435,10 @@ module Aws::CodeBuild
|
|
2387
2435
|
|
2388
2436
|
# Contains information about an exported environment variable.
|
2389
2437
|
#
|
2390
|
-
# Exported environment variables are used in conjunction with
|
2438
|
+
# Exported environment variables are used in conjunction with AWS
|
2391
2439
|
# CodePipeline to export environment variables from the current build
|
2392
2440
|
# stage to subsequent stages in the pipeline. For more information, see
|
2393
|
-
# [Working with variables][1] in the *CodePipeline User Guide*.
|
2441
|
+
# [Working with variables][1] in the *AWS CodePipeline User Guide*.
|
2394
2442
|
#
|
2395
2443
|
# <note markdown="1"> During a build, the value of a variable is available starting with the
|
2396
2444
|
# `install` phase. It can be updated between the start of the `install`
|
@@ -2552,8 +2600,8 @@ module Aws::CodeBuild
|
|
2552
2600
|
include Aws::Structure
|
2553
2601
|
end
|
2554
2602
|
|
2555
|
-
# Information about the Git submodules configuration for an
|
2556
|
-
# build project.
|
2603
|
+
# Information about the Git submodules configuration for an AWS
|
2604
|
+
# CodeBuild build project.
|
2557
2605
|
#
|
2558
2606
|
# @note When making an API call, you may pass GitSubmodulesConfig
|
2559
2607
|
# data as a hash:
|
@@ -2563,7 +2611,7 @@ module Aws::CodeBuild
|
|
2563
2611
|
# }
|
2564
2612
|
#
|
2565
2613
|
# @!attribute [rw] fetch_submodules
|
2566
|
-
# Set to true to fetch Git submodules for your CodeBuild build
|
2614
|
+
# Set to true to fetch Git submodules for your AWS CodeBuild build
|
2567
2615
|
# project.
|
2568
2616
|
# @return [Boolean]
|
2569
2617
|
#
|
@@ -2604,7 +2652,7 @@ module Aws::CodeBuild
|
|
2604
2652
|
# @!attribute [rw] auth_type
|
2605
2653
|
# The type of authentication used to connect to a GitHub, GitHub
|
2606
2654
|
# Enterprise, or Bitbucket repository. An OAUTH connection is not
|
2607
|
-
# supported by the API and must be created using the CodeBuild
|
2655
|
+
# supported by the API and must be created using the AWS CodeBuild
|
2608
2656
|
# console.
|
2609
2657
|
# @return [String]
|
2610
2658
|
#
|
@@ -2652,7 +2700,8 @@ module Aws::CodeBuild
|
|
2652
2700
|
# }
|
2653
2701
|
#
|
2654
2702
|
# @!attribute [rw] project_name
|
2655
|
-
# The name of the CodeBuild build project that the cache is reset
|
2703
|
+
# The name of the AWS CodeBuild build project that the cache is reset
|
2704
|
+
# for.
|
2656
2705
|
# @return [String]
|
2657
2706
|
#
|
2658
2707
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput AWS API Documentation
|
@@ -2819,7 +2868,7 @@ module Aws::CodeBuild
|
|
2819
2868
|
# }
|
2820
2869
|
#
|
2821
2870
|
# @!attribute [rw] project_name
|
2822
|
-
# The name of the CodeBuild project.
|
2871
|
+
# The name of the AWS CodeBuild project.
|
2823
2872
|
# @return [String]
|
2824
2873
|
#
|
2825
2874
|
# @!attribute [rw] sort_order
|
@@ -2940,7 +2989,7 @@ module Aws::CodeBuild
|
|
2940
2989
|
|
2941
2990
|
# @!attribute [rw] platforms
|
2942
2991
|
# Information about supported platforms for Docker images that are
|
2943
|
-
# managed by CodeBuild.
|
2992
|
+
# managed by AWS CodeBuild.
|
2944
2993
|
# @return [Array<Types::EnvironmentPlatform>]
|
2945
2994
|
#
|
2946
2995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesOutput AWS API Documentation
|
@@ -3093,8 +3142,7 @@ module Aws::CodeBuild
|
|
3093
3142
|
# @return [String]
|
3094
3143
|
#
|
3095
3144
|
# @!attribute [rw] report_groups
|
3096
|
-
# The list of ARNs for the report groups in the current
|
3097
|
-
# Services account.
|
3145
|
+
# The list of ARNs for the report groups in the current AWS account.
|
3098
3146
|
# @return [Array<String>]
|
3099
3147
|
#
|
3100
3148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportGroupsOutput AWS API Documentation
|
@@ -3249,8 +3297,8 @@ module Aws::CodeBuild
|
|
3249
3297
|
# @return [String]
|
3250
3298
|
#
|
3251
3299
|
# @!attribute [rw] reports
|
3252
|
-
# The list of returned ARNs for the reports in the current
|
3253
|
-
#
|
3300
|
+
# The list of returned ARNs for the reports in the current AWS
|
3301
|
+
# account.
|
3254
3302
|
# @return [Array<String>]
|
3255
3303
|
#
|
3256
3304
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsOutput AWS API Documentation
|
@@ -3274,7 +3322,7 @@ module Aws::CodeBuild
|
|
3274
3322
|
#
|
3275
3323
|
# @!attribute [rw] sort_by
|
3276
3324
|
# The criterion to be used to list build projects shared with the
|
3277
|
-
# current
|
3325
|
+
# current AWS account or user. Valid values include:
|
3278
3326
|
#
|
3279
3327
|
# * `ARN`\: List based on the ARN.
|
3280
3328
|
#
|
@@ -3329,8 +3377,8 @@ module Aws::CodeBuild
|
|
3329
3377
|
# @return [String]
|
3330
3378
|
#
|
3331
3379
|
# @!attribute [rw] projects
|
3332
|
-
# The list of ARNs for the build projects shared with the current
|
3333
|
-
#
|
3380
|
+
# The list of ARNs for the build projects shared with the current AWS
|
3381
|
+
# account or user.
|
3334
3382
|
# @return [Array<String>]
|
3335
3383
|
#
|
3336
3384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedProjectsOutput AWS API Documentation
|
@@ -3363,7 +3411,7 @@ module Aws::CodeBuild
|
|
3363
3411
|
#
|
3364
3412
|
# @!attribute [rw] sort_by
|
3365
3413
|
# The criterion to be used to list report groups shared with the
|
3366
|
-
# current
|
3414
|
+
# current AWS account or user. Valid values include:
|
3367
3415
|
#
|
3368
3416
|
# * `ARN`\: List based on the ARN.
|
3369
3417
|
#
|
@@ -3409,8 +3457,8 @@ module Aws::CodeBuild
|
|
3409
3457
|
# @return [String]
|
3410
3458
|
#
|
3411
3459
|
# @!attribute [rw] report_groups
|
3412
|
-
# The list of ARNs for the report groups shared with the current
|
3413
|
-
#
|
3460
|
+
# The list of ARNs for the report groups shared with the current AWS
|
3461
|
+
# account or user.
|
3414
3462
|
# @return [Array<String>]
|
3415
3463
|
#
|
3416
3464
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedReportGroupsOutput AWS API Documentation
|
@@ -3443,7 +3491,7 @@ module Aws::CodeBuild
|
|
3443
3491
|
end
|
3444
3492
|
|
3445
3493
|
# Information about logs for a build project. These can be logs in
|
3446
|
-
# CloudWatch Logs, built in a specified S3 bucket, or both.
|
3494
|
+
# Amazon CloudWatch Logs, built in a specified S3 bucket, or both.
|
3447
3495
|
#
|
3448
3496
|
# @note When making an API call, you may pass LogsConfig
|
3449
3497
|
# data as a hash:
|
@@ -3458,12 +3506,13 @@ module Aws::CodeBuild
|
|
3458
3506
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
3459
3507
|
# location: "String",
|
3460
3508
|
# encryption_disabled: false,
|
3509
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
3461
3510
|
# },
|
3462
3511
|
# }
|
3463
3512
|
#
|
3464
3513
|
# @!attribute [rw] cloud_watch_logs
|
3465
|
-
# Information about CloudWatch Logs for a build project.
|
3466
|
-
# Logs are enabled by default.
|
3514
|
+
# Information about Amazon CloudWatch Logs for a build project. Amazon
|
3515
|
+
# CloudWatch Logs are enabled by default.
|
3467
3516
|
# @return [Types::CloudWatchLogsConfig]
|
3468
3517
|
#
|
3469
3518
|
# @!attribute [rw] s3_logs
|
@@ -3480,18 +3529,18 @@ module Aws::CodeBuild
|
|
3480
3529
|
include Aws::Structure
|
3481
3530
|
end
|
3482
3531
|
|
3483
|
-
# Information about build logs in CloudWatch Logs.
|
3532
|
+
# Information about build logs in Amazon CloudWatch Logs.
|
3484
3533
|
#
|
3485
3534
|
# @!attribute [rw] group_name
|
3486
|
-
# The name of the CloudWatch Logs group for the build logs.
|
3535
|
+
# The name of the Amazon CloudWatch Logs group for the build logs.
|
3487
3536
|
# @return [String]
|
3488
3537
|
#
|
3489
3538
|
# @!attribute [rw] stream_name
|
3490
|
-
# The name of the CloudWatch Logs stream for the build logs.
|
3539
|
+
# The name of the Amazon CloudWatch Logs stream for the build logs.
|
3491
3540
|
# @return [String]
|
3492
3541
|
#
|
3493
3542
|
# @!attribute [rw] deep_link
|
3494
|
-
# The URL to an individual build log in CloudWatch Logs.
|
3543
|
+
# The URL to an individual build log in Amazon CloudWatch Logs.
|
3495
3544
|
# @return [String]
|
3496
3545
|
#
|
3497
3546
|
# @!attribute [rw] s3_deep_link
|
@@ -3499,9 +3548,10 @@ module Aws::CodeBuild
|
|
3499
3548
|
# @return [String]
|
3500
3549
|
#
|
3501
3550
|
# @!attribute [rw] cloud_watch_logs_arn
|
3502
|
-
# The ARN of CloudWatch Logs for a build project. Its format is
|
3551
|
+
# The ARN of Amazon CloudWatch Logs for a build project. Its format is
|
3503
3552
|
# `arn:$\{Partition\}:logs:$\{Region\}:$\{Account\}:log-group:$\{LogGroupName\}:log-stream:$\{LogStreamName\}`.
|
3504
|
-
# For more information, see [Resources Defined by CloudWatch
|
3553
|
+
# For more information, see [Resources Defined by Amazon CloudWatch
|
3554
|
+
# Logs][1].
|
3505
3555
|
#
|
3506
3556
|
#
|
3507
3557
|
#
|
@@ -3519,7 +3569,7 @@ module Aws::CodeBuild
|
|
3519
3569
|
# @return [String]
|
3520
3570
|
#
|
3521
3571
|
# @!attribute [rw] cloud_watch_logs
|
3522
|
-
# Information about CloudWatch Logs for a build project.
|
3572
|
+
# Information about Amazon CloudWatch Logs for a build project.
|
3523
3573
|
# @return [Types::CloudWatchLogsConfig]
|
3524
3574
|
#
|
3525
3575
|
# @!attribute [rw] s3_logs
|
@@ -3615,7 +3665,7 @@ module Aws::CodeBuild
|
|
3615
3665
|
# specified, the latest version is used. If specified, it must be one
|
3616
3666
|
# of:
|
3617
3667
|
#
|
3618
|
-
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
3668
|
+
# * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
|
3619
3669
|
#
|
3620
3670
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
3621
3671
|
# name that corresponds to the version of the source code you want
|
@@ -3638,7 +3688,7 @@ module Aws::CodeBuild
|
|
3638
3688
|
# level).
|
3639
3689
|
#
|
3640
3690
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
3641
|
-
# in the *CodeBuild User Guide*.
|
3691
|
+
# in the *AWS CodeBuild User Guide*.
|
3642
3692
|
#
|
3643
3693
|
#
|
3644
3694
|
#
|
@@ -3668,14 +3718,14 @@ module Aws::CodeBuild
|
|
3668
3718
|
# @return [Types::ProjectEnvironment]
|
3669
3719
|
#
|
3670
3720
|
# @!attribute [rw] service_role
|
3671
|
-
# The ARN of the Identity and Access Management role that
|
3672
|
-
# CodeBuild to interact with dependent
|
3673
|
-
# behalf of the
|
3721
|
+
# The ARN of the AWS Identity and Access Management (IAM) role that
|
3722
|
+
# enables AWS CodeBuild to interact with dependent AWS services on
|
3723
|
+
# behalf of the AWS account.
|
3674
3724
|
# @return [String]
|
3675
3725
|
#
|
3676
3726
|
# @!attribute [rw] timeout_in_minutes
|
3677
|
-
# How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to
|
3678
|
-
# before timing out any related build that did not get marked as
|
3727
|
+
# How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to
|
3728
|
+
# wait before timing out any related build that did not get marked as
|
3679
3729
|
# completed. The default is 60 minutes.
|
3680
3730
|
# @return [Integer]
|
3681
3731
|
#
|
@@ -3685,8 +3735,8 @@ module Aws::CodeBuild
|
|
3685
3735
|
# @return [Integer]
|
3686
3736
|
#
|
3687
3737
|
# @!attribute [rw] encryption_key
|
3688
|
-
# The Key Management Service customer master key (CMK)
|
3689
|
-
# encrypting the build output artifacts.
|
3738
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
3739
|
+
# to be used for encrypting the build output artifacts.
|
3690
3740
|
#
|
3691
3741
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
3692
3742
|
# artifacts if your service role has permission to that key.
|
@@ -3695,16 +3745,15 @@ module Aws::CodeBuild
|
|
3695
3745
|
#
|
3696
3746
|
# You can specify either the Amazon Resource Name (ARN) of the CMK or,
|
3697
3747
|
# if available, the CMK's alias (using the format
|
3698
|
-
# `alias/<alias-name>`).
|
3699
|
-
# the managed CMK for Amazon Simple Storage Service (Amazon S3).
|
3748
|
+
# `alias/<alias-name>`).
|
3700
3749
|
# @return [String]
|
3701
3750
|
#
|
3702
3751
|
# @!attribute [rw] tags
|
3703
3752
|
# A list of tag key and value pairs associated with this build
|
3704
3753
|
# project.
|
3705
3754
|
#
|
3706
|
-
# These tags are available for use by
|
3707
|
-
#
|
3755
|
+
# These tags are available for use by AWS services that support AWS
|
3756
|
+
# CodeBuild build project tags.
|
3708
3757
|
# @return [Array<Types::Tag>]
|
3709
3758
|
#
|
3710
3759
|
# @!attribute [rw] created
|
@@ -3718,11 +3767,11 @@ module Aws::CodeBuild
|
|
3718
3767
|
#
|
3719
3768
|
# @!attribute [rw] webhook
|
3720
3769
|
# Information about a webhook that connects repository events to a
|
3721
|
-
# build project in CodeBuild.
|
3770
|
+
# build project in AWS CodeBuild.
|
3722
3771
|
# @return [Types::Webhook]
|
3723
3772
|
#
|
3724
3773
|
# @!attribute [rw] vpc_config
|
3725
|
-
# Information about the VPC configuration that CodeBuild accesses.
|
3774
|
+
# Information about the VPC configuration that AWS CodeBuild accesses.
|
3726
3775
|
# @return [Types::VpcConfig]
|
3727
3776
|
#
|
3728
3777
|
# @!attribute [rw] badge
|
@@ -3731,7 +3780,7 @@ module Aws::CodeBuild
|
|
3731
3780
|
#
|
3732
3781
|
# @!attribute [rw] logs_config
|
3733
3782
|
# Information about logs for the build project. A project can create
|
3734
|
-
# logs in CloudWatch Logs, an S3 bucket, or both.
|
3783
|
+
# logs in Amazon CloudWatch Logs, an S3 bucket, or both.
|
3735
3784
|
# @return [Types::LogsConfig]
|
3736
3785
|
#
|
3737
3786
|
# @!attribute [rw] file_system_locations
|
@@ -3802,13 +3851,14 @@ module Aws::CodeBuild
|
|
3802
3851
|
# override_artifact_name: false,
|
3803
3852
|
# encryption_disabled: false,
|
3804
3853
|
# artifact_identifier: "String",
|
3854
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
3805
3855
|
# }
|
3806
3856
|
#
|
3807
3857
|
# @!attribute [rw] type
|
3808
3858
|
# The type of build output artifact. Valid values include:
|
3809
3859
|
#
|
3810
3860
|
# * `CODEPIPELINE`\: The build project has build output generated
|
3811
|
-
# through CodePipeline.
|
3861
|
+
# through AWS CodePipeline.
|
3812
3862
|
#
|
3813
3863
|
# <note markdown="1"> The `CODEPIPELINE` type is not supported for `secondaryArtifacts`.
|
3814
3864
|
#
|
@@ -3823,9 +3873,9 @@ module Aws::CodeBuild
|
|
3823
3873
|
# @!attribute [rw] location
|
3824
3874
|
# Information about the build output artifact location:
|
3825
3875
|
#
|
3826
|
-
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3827
|
-
# value if specified. This is because CodePipeline manages its
|
3828
|
-
# output locations instead of CodeBuild.
|
3876
|
+
# * If `type` is set to `CODEPIPELINE`, AWS CodePipeline ignores this
|
3877
|
+
# value if specified. This is because AWS CodePipeline manages its
|
3878
|
+
# build output locations instead of AWS CodeBuild.
|
3829
3879
|
#
|
3830
3880
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3831
3881
|
# specified, because no build output is produced.
|
@@ -3834,12 +3884,12 @@ module Aws::CodeBuild
|
|
3834
3884
|
# @return [String]
|
3835
3885
|
#
|
3836
3886
|
# @!attribute [rw] path
|
3837
|
-
# Along with `namespaceType` and `name`, the pattern that
|
3838
|
-
# uses to name and store the output artifact:
|
3887
|
+
# Along with `namespaceType` and `name`, the pattern that AWS
|
3888
|
+
# CodeBuild uses to name and store the output artifact:
|
3839
3889
|
#
|
3840
|
-
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3841
|
-
# value if specified. This is because CodePipeline manages its
|
3842
|
-
# output names instead of CodeBuild.
|
3890
|
+
# * If `type` is set to `CODEPIPELINE`, AWS CodePipeline ignores this
|
3891
|
+
# value if specified. This is because AWS CodePipeline manages its
|
3892
|
+
# build output names instead of AWS CodeBuild.
|
3843
3893
|
#
|
3844
3894
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3845
3895
|
# specified, because no build output is produced.
|
@@ -3854,12 +3904,12 @@ module Aws::CodeBuild
|
|
3854
3904
|
# @return [String]
|
3855
3905
|
#
|
3856
3906
|
# @!attribute [rw] namespace_type
|
3857
|
-
# Along with `path` and `name`, the pattern that CodeBuild uses to
|
3907
|
+
# Along with `path` and `name`, the pattern that AWS CodeBuild uses to
|
3858
3908
|
# determine the name and location to store the output artifact:
|
3859
3909
|
#
|
3860
|
-
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3861
|
-
# value if specified. This is because CodePipeline manages its
|
3862
|
-
# output names instead of CodeBuild.
|
3910
|
+
# * If `type` is set to `CODEPIPELINE`, AWS CodePipeline ignores this
|
3911
|
+
# value if specified. This is because AWS CodePipeline manages its
|
3912
|
+
# build output names instead of AWS CodeBuild.
|
3863
3913
|
#
|
3864
3914
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3865
3915
|
# specified, because no build output is produced.
|
@@ -3878,12 +3928,12 @@ module Aws::CodeBuild
|
|
3878
3928
|
# @return [String]
|
3879
3929
|
#
|
3880
3930
|
# @!attribute [rw] name
|
3881
|
-
# Along with `path` and `namespaceType`, the pattern that
|
3882
|
-
# uses to name and store the output artifact:
|
3931
|
+
# Along with `path` and `namespaceType`, the pattern that AWS
|
3932
|
+
# CodeBuild uses to name and store the output artifact:
|
3883
3933
|
#
|
3884
|
-
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3885
|
-
# value if specified. This is because CodePipeline manages its
|
3886
|
-
# output names instead of CodeBuild.
|
3934
|
+
# * If `type` is set to `CODEPIPELINE`, AWS CodePipeline ignores this
|
3935
|
+
# value if specified. This is because AWS CodePipeline manages its
|
3936
|
+
# build output names instead of AWS CodeBuild.
|
3887
3937
|
#
|
3888
3938
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3889
3939
|
# specified, because no build output is produced.
|
@@ -3910,21 +3960,21 @@ module Aws::CodeBuild
|
|
3910
3960
|
# @!attribute [rw] packaging
|
3911
3961
|
# The type of build output artifact to create:
|
3912
3962
|
#
|
3913
|
-
# * If `type` is set to `CODEPIPELINE`, CodePipeline ignores this
|
3914
|
-
# value if specified. This is because CodePipeline manages its
|
3915
|
-
# output artifacts instead of CodeBuild.
|
3963
|
+
# * If `type` is set to `CODEPIPELINE`, AWS CodePipeline ignores this
|
3964
|
+
# value if specified. This is because AWS CodePipeline manages its
|
3965
|
+
# build output artifacts instead of AWS CodeBuild.
|
3916
3966
|
#
|
3917
3967
|
# * If `type` is set to `NO_ARTIFACTS`, this value is ignored if
|
3918
3968
|
# specified, because no build output is produced.
|
3919
3969
|
#
|
3920
3970
|
# * If `type` is set to `S3`, valid values include:
|
3921
3971
|
#
|
3922
|
-
# * `NONE`\: CodeBuild creates in the output bucket a folder
|
3923
|
-
# contains the build output. This is the default if
|
3924
|
-
# not specified.
|
3972
|
+
# * `NONE`\: AWS CodeBuild creates in the output bucket a folder
|
3973
|
+
# that contains the build output. This is the default if
|
3974
|
+
# `packaging` is not specified.
|
3925
3975
|
#
|
3926
|
-
# * `ZIP`\: CodeBuild creates in the output bucket a ZIP file
|
3927
|
-
# contains the build output.
|
3976
|
+
# * `ZIP`\: AWS CodeBuild creates in the output bucket a ZIP file
|
3977
|
+
# that contains the build output.
|
3928
3978
|
# @return [String]
|
3929
3979
|
#
|
3930
3980
|
# @!attribute [rw] override_artifact_name
|
@@ -3945,6 +3995,46 @@ module Aws::CodeBuild
|
|
3945
3995
|
# An identifier for this artifact definition.
|
3946
3996
|
# @return [String]
|
3947
3997
|
#
|
3998
|
+
# @!attribute [rw] bucket_owner_access
|
3999
|
+
# Specifies the access for objects that are uploaded to an Amazon S3
|
4000
|
+
# bucket that is owned by another account.
|
4001
|
+
#
|
4002
|
+
# By default, only the account that uploads the objects to the bucket
|
4003
|
+
# has access to these objects. This property allows you to give the
|
4004
|
+
# bucket owner access to these objects.
|
4005
|
+
#
|
4006
|
+
# NONE
|
4007
|
+
#
|
4008
|
+
# : The bucket owner does not have access to the objects. This is the
|
4009
|
+
# default.
|
4010
|
+
#
|
4011
|
+
# READ\_ONLY
|
4012
|
+
#
|
4013
|
+
# : The bucket owner has read only access to the objects. The
|
4014
|
+
# uploading account retains ownership of the objects.
|
4015
|
+
#
|
4016
|
+
# FULL
|
4017
|
+
#
|
4018
|
+
# : The bucket owner has full access to the objects. Object ownership
|
4019
|
+
# is determined by the following criteria:
|
4020
|
+
#
|
4021
|
+
# * If the bucket is configured with the **Bucket owner preferred**
|
4022
|
+
# setting, the bucket owner owns the objects. The uploading
|
4023
|
+
# account will have object access as specified by the bucket's
|
4024
|
+
# policy.
|
4025
|
+
#
|
4026
|
+
# * Otherwise, the uploading account retains ownership of the
|
4027
|
+
# objects.
|
4028
|
+
#
|
4029
|
+
# For more information about Amazon S3 object ownership, see
|
4030
|
+
# [Controlling ownership of uploaded objects using S3 Object
|
4031
|
+
# Ownership][1] in the *Amazon Simple Storage Service User Guide*.
|
4032
|
+
#
|
4033
|
+
#
|
4034
|
+
#
|
4035
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
4036
|
+
# @return [String]
|
4037
|
+
#
|
3948
4038
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectArtifacts AWS API Documentation
|
3949
4039
|
#
|
3950
4040
|
class ProjectArtifacts < Struct.new(
|
@@ -3956,7 +4046,8 @@ module Aws::CodeBuild
|
|
3956
4046
|
:packaging,
|
3957
4047
|
:override_artifact_name,
|
3958
4048
|
:encryption_disabled,
|
3959
|
-
:artifact_identifier
|
4049
|
+
:artifact_identifier,
|
4050
|
+
:bucket_owner_access)
|
3960
4051
|
SENSITIVE = []
|
3961
4052
|
include Aws::Structure
|
3962
4053
|
end
|
@@ -4163,21 +4254,6 @@ module Aws::CodeBuild
|
|
4163
4254
|
# Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia
|
4164
4255
|
# Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
|
4165
4256
|
# Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
|
4166
|
-
# ^
|
4167
|
-
#
|
4168
|
-
# * The environment types `WINDOWS_CONTAINER` and
|
4169
|
-
# `WINDOWS_SERVER_2019_CONTAINER` are available only in regions US
|
4170
|
-
# East (N. Virginia), US East (Ohio), US West (Oregon), and EU
|
4171
|
-
# (Ireland).
|
4172
|
-
#
|
4173
|
-
# ^
|
4174
|
-
#
|
4175
|
-
# For more information, see [Build environment compute types][1] in
|
4176
|
-
# the *CodeBuild user guide*.
|
4177
|
-
#
|
4178
|
-
#
|
4179
|
-
#
|
4180
|
-
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html
|
4181
4257
|
# @return [String]
|
4182
4258
|
#
|
4183
4259
|
# @!attribute [rw] image
|
@@ -4193,13 +4269,6 @@ module Aws::CodeBuild
|
|
4193
4269
|
# "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
|
4194
4270
|
# use
|
4195
4271
|
# `<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf`.
|
4196
|
-
#
|
4197
|
-
# For more information, see [Docker images provided by CodeBuild][1]
|
4198
|
-
# in the *CodeBuild user guide*.
|
4199
|
-
#
|
4200
|
-
#
|
4201
|
-
#
|
4202
|
-
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
|
4203
4272
|
# @return [String]
|
4204
4273
|
#
|
4205
4274
|
# @!attribute [rw] compute_type
|
@@ -4231,7 +4300,7 @@ module Aws::CodeBuild
|
|
4231
4300
|
# memory and 8 vCPUs on ARM-based processors for builds.
|
4232
4301
|
#
|
4233
4302
|
# For more information, see [Build Environment Compute Types][1] in
|
4234
|
-
# the *CodeBuild User Guide.*
|
4303
|
+
# the *AWS CodeBuild User Guide.*
|
4235
4304
|
#
|
4236
4305
|
#
|
4237
4306
|
#
|
@@ -4273,7 +4342,7 @@ module Aws::CodeBuild
|
|
4273
4342
|
# @!attribute [rw] certificate
|
4274
4343
|
# The ARN of the Amazon S3 bucket, path prefix, and object key that
|
4275
4344
|
# contains the PEM-encoded certificate for the build project. For more
|
4276
|
-
# information, see [certificate][1] in the *CodeBuild User Guide*.
|
4345
|
+
# information, see [certificate][1] in the *AWS CodeBuild User Guide*.
|
4277
4346
|
#
|
4278
4347
|
#
|
4279
4348
|
#
|
@@ -4285,19 +4354,19 @@ module Aws::CodeBuild
|
|
4285
4354
|
# @return [Types::RegistryCredential]
|
4286
4355
|
#
|
4287
4356
|
# @!attribute [rw] image_pull_credentials_type
|
4288
|
-
# The type of credentials CodeBuild uses to pull images in your
|
4289
|
-
# There are two valid values:
|
4357
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
4358
|
+
# build. There are two valid values:
|
4290
4359
|
#
|
4291
|
-
# * `CODEBUILD` specifies that CodeBuild uses its own credentials.
|
4360
|
+
# * `CODEBUILD` specifies that AWS CodeBuild uses its own credentials.
|
4292
4361
|
# This requires that you modify your ECR repository policy to trust
|
4293
|
-
# CodeBuild service principal.
|
4362
|
+
# AWS CodeBuild's service principal.
|
4294
4363
|
#
|
4295
|
-
# * `SERVICE_ROLE` specifies that CodeBuild uses your build
|
4296
|
-
# service role.
|
4364
|
+
# * `SERVICE_ROLE` specifies that AWS CodeBuild uses your build
|
4365
|
+
# project's service role.
|
4297
4366
|
#
|
4298
4367
|
# When you use a cross-account or private registry image, you must use
|
4299
|
-
# SERVICE\_ROLE credentials. When you use an CodeBuild curated
|
4300
|
-
# you must use CODEBUILD credentials.
|
4368
|
+
# SERVICE\_ROLE credentials. When you use an AWS CodeBuild curated
|
4369
|
+
# image, you must use CODEBUILD credentials.
|
4301
4370
|
# @return [String]
|
4302
4371
|
#
|
4303
4372
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment AWS API Documentation
|
@@ -4341,7 +4410,7 @@ module Aws::CodeBuild
|
|
4341
4410
|
# @!attribute [rw] location
|
4342
4411
|
# A string that specifies the location of the file system created by
|
4343
4412
|
# Amazon EFS. Its format is `efs-dns-name:/directory-path`. You can
|
4344
|
-
# find the DNS name of file system when you view it in the
|
4413
|
+
# find the DNS name of file system when you view it in the AWS EFS
|
4345
4414
|
# console. The directory path is a path to a directory in the file
|
4346
4415
|
# system that CodeBuild mounts. For example, if the DNS name of a file
|
4347
4416
|
# system is `fs-abcd1234.efs.us-west-2.amazonaws.com`, and its mount
|
@@ -4368,8 +4437,8 @@ module Aws::CodeBuild
|
|
4368
4437
|
# @return [String]
|
4369
4438
|
#
|
4370
4439
|
# @!attribute [rw] mount_options
|
4371
|
-
# The mount options for a file system created by
|
4372
|
-
#
|
4440
|
+
# The mount options for a file system created by AWS EFS. The default
|
4441
|
+
# mount options used by CodeBuild are
|
4373
4442
|
# `nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2`.
|
4374
4443
|
# For more information, see [Recommended NFS Mount Options][1].
|
4375
4444
|
#
|
@@ -4422,10 +4491,10 @@ module Aws::CodeBuild
|
|
4422
4491
|
#
|
4423
4492
|
# * `BITBUCKET`\: The source code is in a Bitbucket repository.
|
4424
4493
|
#
|
4425
|
-
# * `CODECOMMIT`\: The source code is in an CodeCommit repository.
|
4494
|
+
# * `CODECOMMIT`\: The source code is in an AWS CodeCommit repository.
|
4426
4495
|
#
|
4427
4496
|
# * `CODEPIPELINE`\: The source code settings are specified in the
|
4428
|
-
# source action of a pipeline in CodePipeline.
|
4497
|
+
# source action of a pipeline in AWS CodePipeline.
|
4429
4498
|
#
|
4430
4499
|
# * `GITHUB`\: The source code is in a GitHub or GitHub Enterprise
|
4431
4500
|
# Cloud repository.
|
@@ -4443,14 +4512,14 @@ module Aws::CodeBuild
|
|
4443
4512
|
# values include:
|
4444
4513
|
#
|
4445
4514
|
# * For source code settings that are specified in the source action
|
4446
|
-
# of a pipeline in CodePipeline, `location` should not be
|
4447
|
-
# If it is specified, CodePipeline ignores it. This
|
4448
|
-
# CodePipeline uses the settings in a pipeline's
|
4449
|
-
# instead of this value.
|
4450
|
-
#
|
4451
|
-
# * For source code in an CodeCommit repository, the HTTPS clone
|
4452
|
-
# to the repository that contains the source code and the
|
4453
|
-
# file (for example,
|
4515
|
+
# of a pipeline in AWS CodePipeline, `location` should not be
|
4516
|
+
# specified. If it is specified, AWS CodePipeline ignores it. This
|
4517
|
+
# is because AWS CodePipeline uses the settings in a pipeline's
|
4518
|
+
# source action instead of this value.
|
4519
|
+
#
|
4520
|
+
# * For source code in an AWS CodeCommit repository, the HTTPS clone
|
4521
|
+
# URL to the repository that contains the source code and the
|
4522
|
+
# buildspec file (for example,
|
4454
4523
|
# `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`).
|
4455
4524
|
#
|
4456
4525
|
# * For source code in an Amazon S3 input bucket, one of the
|
@@ -4464,33 +4533,29 @@ module Aws::CodeBuild
|
|
4464
4533
|
#
|
4465
4534
|
# * For source code in a GitHub repository, the HTTPS clone URL to the
|
4466
4535
|
# repository that contains the source and the buildspec file. You
|
4467
|
-
# must connect your account to your GitHub account. Use the
|
4536
|
+
# must connect your AWS account to your GitHub account. Use the AWS
|
4468
4537
|
# CodeBuild console to start creating a build project. When you use
|
4469
4538
|
# the console to connect (or reconnect) with GitHub, on the GitHub
|
4470
4539
|
# **Authorize application** page, for **Organization access**,
|
4471
4540
|
# choose **Request access** next to each repository you want to
|
4472
|
-
# allow CodeBuild to have access to, and then choose **Authorize
|
4541
|
+
# allow AWS CodeBuild to have access to, and then choose **Authorize
|
4473
4542
|
# application**. (After you have connected to your GitHub account,
|
4474
4543
|
# you do not need to finish creating the build project. You can
|
4475
|
-
# leave the CodeBuild console.) To instruct CodeBuild to use
|
4476
|
-
# connection, in the `source` object, set the `auth` object's
|
4544
|
+
# leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use
|
4545
|
+
# this connection, in the `source` object, set the `auth` object's
|
4477
4546
|
# `type` value to `OAUTH`.
|
4478
4547
|
#
|
4479
4548
|
# * For source code in a Bitbucket repository, the HTTPS clone URL to
|
4480
4549
|
# the repository that contains the source and the buildspec file.
|
4481
|
-
# You must connect your
|
4482
|
-
#
|
4483
|
-
#
|
4484
|
-
#
|
4485
|
-
#
|
4486
|
-
#
|
4487
|
-
#
|
4488
|
-
#
|
4489
|
-
#
|
4490
|
-
#
|
4491
|
-
# If you specify `CODEPIPELINE` for the `Type` property, don't
|
4492
|
-
# specify this property. For all of the other types, you must specify
|
4493
|
-
# `Location`.
|
4550
|
+
# You must connect your AWS account to your Bitbucket account. Use
|
4551
|
+
# the AWS CodeBuild console to start creating a build project. When
|
4552
|
+
# you use the console to connect (or reconnect) with Bitbucket, on
|
4553
|
+
# the Bitbucket **Confirm access to your account** page, choose
|
4554
|
+
# **Grant access**. (After you have connected to your Bitbucket
|
4555
|
+
# account, you do not need to finish creating the build project. You
|
4556
|
+
# can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to
|
4557
|
+
# use this connection, in the `source` object, set the `auth`
|
4558
|
+
# object's `type` value to `OAUTH`.
|
4494
4559
|
# @return [String]
|
4495
4560
|
#
|
4496
4561
|
# @!attribute [rw] git_clone_depth
|
@@ -4509,8 +4574,8 @@ module Aws::CodeBuild
|
|
4509
4574
|
# If this value is set, it can be either an inline buildspec
|
4510
4575
|
# definition, the path to an alternate buildspec file relative to the
|
4511
4576
|
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
4512
|
-
# the path to an S3 bucket. The bucket must be in the same Region
|
4513
|
-
# the build project. Specify the buildspec file using its ARN (for
|
4577
|
+
# the path to an S3 bucket. The bucket must be in the same AWS Region
|
4578
|
+
# as the build project. Specify the buildspec file using its ARN (for
|
4514
4579
|
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
4515
4580
|
# value is not provided or is set to an empty string, the source code
|
4516
4581
|
# must contain a buildspec file in its root directory. For more
|
@@ -4522,11 +4587,11 @@ module Aws::CodeBuild
|
|
4522
4587
|
# @return [String]
|
4523
4588
|
#
|
4524
4589
|
# @!attribute [rw] auth
|
4525
|
-
# Information about the authorization settings for CodeBuild to
|
4526
|
-
# the source code to be built.
|
4590
|
+
# Information about the authorization settings for AWS CodeBuild to
|
4591
|
+
# access the source code to be built.
|
4527
4592
|
#
|
4528
|
-
# This information is for the CodeBuild console's use only. Your
|
4529
|
-
# should not get or set this information directly.
|
4593
|
+
# This information is for the AWS CodeBuild console's use only. Your
|
4594
|
+
# code should not get or set this information directly.
|
4530
4595
|
# @return [Types::SourceAuth]
|
4531
4596
|
#
|
4532
4597
|
# @!attribute [rw] report_build_status
|
@@ -4540,7 +4605,7 @@ module Aws::CodeBuild
|
|
4540
4605
|
# user associated with the source provider must have write access to
|
4541
4606
|
# the repo. If the user does not have write access, the build status
|
4542
4607
|
# cannot be updated. For more information, see [Source provider
|
4543
|
-
# access][1] in the *CodeBuild User Guide*.
|
4608
|
+
# access][1] in the *AWS CodeBuild User Guide*.
|
4544
4609
|
#
|
4545
4610
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
4546
4611
|
# your source provider.
|
@@ -4607,7 +4672,7 @@ module Aws::CodeBuild
|
|
4607
4672
|
# The source version for the corresponding source identifier. If
|
4608
4673
|
# specified, must be one of:
|
4609
4674
|
#
|
4610
|
-
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
4675
|
+
# * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
|
4611
4676
|
#
|
4612
4677
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
4613
4678
|
# name that corresponds to the version of the source code you want
|
@@ -4626,7 +4691,7 @@ module Aws::CodeBuild
|
|
4626
4691
|
# build input ZIP file to use.
|
4627
4692
|
#
|
4628
4693
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
4629
|
-
# in the *CodeBuild User Guide*.
|
4694
|
+
# in the *AWS CodeBuild User Guide*.
|
4630
4695
|
#
|
4631
4696
|
#
|
4632
4697
|
#
|
@@ -4652,8 +4717,8 @@ module Aws::CodeBuild
|
|
4652
4717
|
#
|
4653
4718
|
# @!attribute [rw] policy
|
4654
4719
|
# A JSON-formatted resource policy. For more information, see [Sharing
|
4655
|
-
# a Project][1] and [Sharing a Report Group][2] in the *CodeBuild
|
4656
|
-
# Guide*.
|
4720
|
+
# a Project][1] and [Sharing a Report Group][2] in the *AWS CodeBuild
|
4721
|
+
# User Guide*.
|
4657
4722
|
#
|
4658
4723
|
#
|
4659
4724
|
#
|
@@ -4695,8 +4760,8 @@ module Aws::CodeBuild
|
|
4695
4760
|
#
|
4696
4761
|
# * images cannot be curated or an Amazon ECR image.
|
4697
4762
|
#
|
4698
|
-
# For more information, see [Private Registry with Secrets Manager
|
4699
|
-
# Sample for CodeBuild][1].
|
4763
|
+
# For more information, see [Private Registry with AWS Secrets Manager
|
4764
|
+
# Sample for AWS CodeBuild][1].
|
4700
4765
|
#
|
4701
4766
|
#
|
4702
4767
|
#
|
@@ -4712,17 +4777,18 @@ module Aws::CodeBuild
|
|
4712
4777
|
#
|
4713
4778
|
# @!attribute [rw] credential
|
4714
4779
|
# The Amazon Resource Name (ARN) or name of credentials created using
|
4715
|
-
# Secrets Manager.
|
4780
|
+
# AWS Secrets Manager.
|
4716
4781
|
#
|
4717
4782
|
# <note markdown="1"> The `credential` can use the name of the credentials only if they
|
4718
|
-
# exist in your current Region.
|
4783
|
+
# exist in your current AWS Region.
|
4719
4784
|
#
|
4720
4785
|
# </note>
|
4721
4786
|
# @return [String]
|
4722
4787
|
#
|
4723
4788
|
# @!attribute [rw] credential_provider
|
4724
4789
|
# The service that created the credentials to access a private Docker
|
4725
|
-
# registry. The valid value, SECRETS\_MANAGER, is for Secrets
|
4790
|
+
# registry. The valid value, SECRETS\_MANAGER, is for AWS Secrets
|
4791
|
+
# Manager.
|
4726
4792
|
# @return [String]
|
4727
4793
|
#
|
4728
4794
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RegistryCredential AWS API Documentation
|
@@ -4926,8 +4992,8 @@ module Aws::CodeBuild
|
|
4926
4992
|
# @!attribute [rw] tags
|
4927
4993
|
# A list of tag key and value pairs associated with this report group.
|
4928
4994
|
#
|
4929
|
-
# These tags are available for use by
|
4930
|
-
#
|
4995
|
+
# These tags are available for use by AWS services that support AWS
|
4996
|
+
# CodeBuild report group tags.
|
4931
4997
|
# @return [Array<Types::Tag>]
|
4932
4998
|
#
|
4933
4999
|
# @!attribute [rw] status
|
@@ -5031,14 +5097,14 @@ module Aws::CodeBuild
|
|
5031
5097
|
include Aws::Structure
|
5032
5098
|
end
|
5033
5099
|
|
5034
|
-
# The specified
|
5035
|
-
#
|
5100
|
+
# The specified AWS resource cannot be created, because an AWS resource
|
5101
|
+
# with the same settings already exists.
|
5036
5102
|
#
|
5037
5103
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceAlreadyExistsException AWS API Documentation
|
5038
5104
|
#
|
5039
5105
|
class ResourceAlreadyExistsException < Aws::EmptyStructure; end
|
5040
5106
|
|
5041
|
-
# The specified
|
5107
|
+
# The specified AWS resource cannot be found.
|
5042
5108
|
#
|
5043
5109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceNotFoundException AWS API Documentation
|
5044
5110
|
#
|
@@ -5062,7 +5128,8 @@ module Aws::CodeBuild
|
|
5062
5128
|
# idempotency of the `RetryBuildBatch` request. The token is included
|
5063
5129
|
# in the `RetryBuildBatch` request and is valid for five minutes. If
|
5064
5130
|
# you repeat the `RetryBuildBatch` request with the same token, but
|
5065
|
-
# change a parameter, CodeBuild returns a parameter mismatch
|
5131
|
+
# change a parameter, AWS CodeBuild returns a parameter mismatch
|
5132
|
+
# error.
|
5066
5133
|
# @return [String]
|
5067
5134
|
#
|
5068
5135
|
# @!attribute [rw] retry_type
|
@@ -5108,7 +5175,7 @@ module Aws::CodeBuild
|
|
5108
5175
|
# idempotency of the `RetryBuild` request. The token is included in
|
5109
5176
|
# the `RetryBuild` request and is valid for five minutes. If you
|
5110
5177
|
# repeat the `RetryBuild` request with the same token, but change a
|
5111
|
-
# parameter, CodeBuild returns a parameter mismatch error.
|
5178
|
+
# parameter, AWS CodeBuild returns a parameter mismatch error.
|
5112
5179
|
# @return [String]
|
5113
5180
|
#
|
5114
5181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildInput AWS API Documentation
|
@@ -5141,6 +5208,7 @@ module Aws::CodeBuild
|
|
5141
5208
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
5142
5209
|
# location: "String",
|
5143
5210
|
# encryption_disabled: false,
|
5211
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
5144
5212
|
# }
|
5145
5213
|
#
|
5146
5214
|
# @!attribute [rw] status
|
@@ -5163,12 +5231,53 @@ module Aws::CodeBuild
|
|
5163
5231
|
# By default S3 build logs are encrypted.
|
5164
5232
|
# @return [Boolean]
|
5165
5233
|
#
|
5234
|
+
# @!attribute [rw] bucket_owner_access
|
5235
|
+
# Specifies the access for objects that are uploaded to an Amazon S3
|
5236
|
+
# bucket that is owned by another account.
|
5237
|
+
#
|
5238
|
+
# By default, only the account that uploads the objects to the bucket
|
5239
|
+
# has access to these objects. This property allows you to give the
|
5240
|
+
# bucket owner access to these objects.
|
5241
|
+
#
|
5242
|
+
# NONE
|
5243
|
+
#
|
5244
|
+
# : The bucket owner does not have access to the objects. This is the
|
5245
|
+
# default.
|
5246
|
+
#
|
5247
|
+
# READ\_ONLY
|
5248
|
+
#
|
5249
|
+
# : The bucket owner has read only access to the objects. The
|
5250
|
+
# uploading account retains ownership of the objects.
|
5251
|
+
#
|
5252
|
+
# FULL
|
5253
|
+
#
|
5254
|
+
# : The bucket owner has full access to the objects. Object ownership
|
5255
|
+
# is determined by the following criteria:
|
5256
|
+
#
|
5257
|
+
# * If the bucket is configured with the **Bucket owner preferred**
|
5258
|
+
# setting, the bucket owner owns the objects. The uploading
|
5259
|
+
# account will have object access as specified by the bucket's
|
5260
|
+
# policy.
|
5261
|
+
#
|
5262
|
+
# * Otherwise, the uploading account retains ownership of the
|
5263
|
+
# objects.
|
5264
|
+
#
|
5265
|
+
# For more information about Amazon S3 object ownership, see
|
5266
|
+
# [Controlling ownership of uploaded objects using S3 Object
|
5267
|
+
# Ownership][1] in the *Amazon Simple Storage Service User Guide*.
|
5268
|
+
#
|
5269
|
+
#
|
5270
|
+
#
|
5271
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
5272
|
+
# @return [String]
|
5273
|
+
#
|
5166
5274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/S3LogsConfig AWS API Documentation
|
5167
5275
|
#
|
5168
5276
|
class S3LogsConfig < Struct.new(
|
5169
5277
|
:status,
|
5170
5278
|
:location,
|
5171
|
-
:encryption_disabled
|
5279
|
+
:encryption_disabled,
|
5280
|
+
:bucket_owner_access)
|
5172
5281
|
SENSITIVE = []
|
5173
5282
|
include Aws::Structure
|
5174
5283
|
end
|
@@ -5194,10 +5303,9 @@ module Aws::CodeBuild
|
|
5194
5303
|
# @return [String]
|
5195
5304
|
#
|
5196
5305
|
# @!attribute [rw] bucket_owner
|
5197
|
-
# The
|
5198
|
-
#
|
5199
|
-
#
|
5200
|
-
# running the build.
|
5306
|
+
# The AWS account identifier of the owner of the Amazon S3 bucket.
|
5307
|
+
# This allows report data to be exported to an Amazon S3 bucket that
|
5308
|
+
# is owned by an account other than the account running the build.
|
5201
5309
|
# @return [String]
|
5202
5310
|
#
|
5203
5311
|
# @!attribute [rw] path
|
@@ -5207,10 +5315,10 @@ module Aws::CodeBuild
|
|
5207
5315
|
# @!attribute [rw] packaging
|
5208
5316
|
# The type of build output artifact to create. Valid values include:
|
5209
5317
|
#
|
5210
|
-
# * `NONE`\: CodeBuild creates the raw data in the output bucket.
|
5211
|
-
# is the default if packaging is not specified.
|
5318
|
+
# * `NONE`\: AWS CodeBuild creates the raw data in the output bucket.
|
5319
|
+
# This is the default if packaging is not specified.
|
5212
5320
|
#
|
5213
|
-
# * `ZIP`\: CodeBuild creates a ZIP file with the raw data in the
|
5321
|
+
# * `ZIP`\: AWS CodeBuild creates a ZIP file with the raw data in the
|
5214
5322
|
# output bucket.
|
5215
5323
|
# @return [String]
|
5216
5324
|
#
|
@@ -5236,11 +5344,11 @@ module Aws::CodeBuild
|
|
5236
5344
|
include Aws::Structure
|
5237
5345
|
end
|
5238
5346
|
|
5239
|
-
# Information about the authorization settings for CodeBuild to
|
5240
|
-
# the source code to be built.
|
5347
|
+
# Information about the authorization settings for AWS CodeBuild to
|
5348
|
+
# access the source code to be built.
|
5241
5349
|
#
|
5242
|
-
# This information is for the CodeBuild console's use only. Your
|
5243
|
-
# should not get or set this information directly.
|
5350
|
+
# This information is for the AWS CodeBuild console's use only. Your
|
5351
|
+
# code should not get or set this information directly.
|
5244
5352
|
#
|
5245
5353
|
# @note When making an API call, you may pass SourceAuth
|
5246
5354
|
# data as a hash:
|
@@ -5343,6 +5451,7 @@ module Aws::CodeBuild
|
|
5343
5451
|
# override_artifact_name: false,
|
5344
5452
|
# encryption_disabled: false,
|
5345
5453
|
# artifact_identifier: "String",
|
5454
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
5346
5455
|
# },
|
5347
5456
|
# secondary_artifacts_override: [
|
5348
5457
|
# {
|
@@ -5355,6 +5464,7 @@ module Aws::CodeBuild
|
|
5355
5464
|
# override_artifact_name: false,
|
5356
5465
|
# encryption_disabled: false,
|
5357
5466
|
# artifact_identifier: "String",
|
5467
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
5358
5468
|
# },
|
5359
5469
|
# ],
|
5360
5470
|
# environment_variables_override: [
|
@@ -5402,6 +5512,7 @@ module Aws::CodeBuild
|
|
5402
5512
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
5403
5513
|
# location: "String",
|
5404
5514
|
# encryption_disabled: false,
|
5515
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
5405
5516
|
# },
|
5406
5517
|
# },
|
5407
5518
|
# registry_credential_override: {
|
@@ -5440,7 +5551,7 @@ module Aws::CodeBuild
|
|
5440
5551
|
# only. If not specified, the latest version is used. If specified,
|
5441
5552
|
# the contents depends on the source provider:
|
5442
5553
|
#
|
5443
|
-
# CodeCommit
|
5554
|
+
# AWS CodeCommit
|
5444
5555
|
#
|
5445
5556
|
# : The commit ID, branch, or Git tag to use.
|
5446
5557
|
#
|
@@ -5469,7 +5580,7 @@ module Aws::CodeBuild
|
|
5469
5580
|
# `sourceVersion` (at the build level) takes precedence.
|
5470
5581
|
#
|
5471
5582
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
5472
|
-
# in the *CodeBuild User Guide*.
|
5583
|
+
# in the *AWS CodeBuild User Guide*.
|
5473
5584
|
#
|
5474
5585
|
#
|
5475
5586
|
#
|
@@ -5525,8 +5636,8 @@ module Aws::CodeBuild
|
|
5525
5636
|
# If this value is set, it can be either an inline buildspec
|
5526
5637
|
# definition, the path to an alternate buildspec file relative to the
|
5527
5638
|
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
5528
|
-
# the path to an S3 bucket. The bucket must be in the same Region
|
5529
|
-
# the build project. Specify the buildspec file using its ARN (for
|
5639
|
+
# the path to an S3 bucket. The bucket must be in the same AWS Region
|
5640
|
+
# as the build project. Specify the buildspec file using its ARN (for
|
5530
5641
|
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
5531
5642
|
# value is not provided or is set to an empty string, the source code
|
5532
5643
|
# must contain a buildspec file in its root directory. For more
|
@@ -5601,9 +5712,9 @@ module Aws::CodeBuild
|
|
5601
5712
|
# @return [Integer]
|
5602
5713
|
#
|
5603
5714
|
# @!attribute [rw] encryption_key_override
|
5604
|
-
# The Key Management Service customer master key (CMK)
|
5605
|
-
# the one specified in the batch build project. The CMK
|
5606
|
-
# the build output artifacts.
|
5715
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
5716
|
+
# that overrides the one specified in the batch build project. The CMK
|
5717
|
+
# key encrypts the build output artifacts.
|
5607
5718
|
#
|
5608
5719
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
5609
5720
|
# artifacts if your service role has permission to that key.
|
@@ -5620,7 +5731,8 @@ module Aws::CodeBuild
|
|
5620
5731
|
# idempotency of the `StartBuildBatch` request. The token is included
|
5621
5732
|
# in the `StartBuildBatch` request and is valid for five minutes. If
|
5622
5733
|
# you repeat the `StartBuildBatch` request with the same token, but
|
5623
|
-
# change a parameter, CodeBuild returns a parameter mismatch
|
5734
|
+
# change a parameter, AWS CodeBuild returns a parameter mismatch
|
5735
|
+
# error.
|
5624
5736
|
# @return [String]
|
5625
5737
|
#
|
5626
5738
|
# @!attribute [rw] logs_config_override
|
@@ -5634,22 +5746,23 @@ module Aws::CodeBuild
|
|
5634
5746
|
# @return [Types::RegistryCredential]
|
5635
5747
|
#
|
5636
5748
|
# @!attribute [rw] image_pull_credentials_type_override
|
5637
|
-
# The type of credentials CodeBuild uses to pull images in your
|
5638
|
-
# build. There are two valid values:
|
5749
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
5750
|
+
# batch build. There are two valid values:
|
5639
5751
|
#
|
5640
5752
|
# CODEBUILD
|
5641
5753
|
#
|
5642
|
-
# : Specifies that CodeBuild uses its own credentials. This
|
5643
|
-
# that you modify your ECR repository policy to trust
|
5644
|
-
# service principal.
|
5754
|
+
# : Specifies that AWS CodeBuild uses its own credentials. This
|
5755
|
+
# requires that you modify your ECR repository policy to trust AWS
|
5756
|
+
# CodeBuild's service principal.
|
5645
5757
|
#
|
5646
5758
|
# SERVICE\_ROLE
|
5647
5759
|
#
|
5648
|
-
# : Specifies that CodeBuild uses your build project's service
|
5760
|
+
# : Specifies that AWS CodeBuild uses your build project's service
|
5761
|
+
# role.
|
5649
5762
|
#
|
5650
5763
|
# When using a cross-account or private registry image, you must use
|
5651
|
-
# `SERVICE_ROLE` credentials. When using an CodeBuild curated
|
5652
|
-
# you must use `CODEBUILD` credentials.
|
5764
|
+
# `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated
|
5765
|
+
# image, you must use `CODEBUILD` credentials.
|
5653
5766
|
# @return [String]
|
5654
5767
|
#
|
5655
5768
|
# @!attribute [rw] build_batch_config_override
|
@@ -5763,6 +5876,7 @@ module Aws::CodeBuild
|
|
5763
5876
|
# override_artifact_name: false,
|
5764
5877
|
# encryption_disabled: false,
|
5765
5878
|
# artifact_identifier: "String",
|
5879
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
5766
5880
|
# },
|
5767
5881
|
# secondary_artifacts_override: [
|
5768
5882
|
# {
|
@@ -5775,6 +5889,7 @@ module Aws::CodeBuild
|
|
5775
5889
|
# override_artifact_name: false,
|
5776
5890
|
# encryption_disabled: false,
|
5777
5891
|
# artifact_identifier: "String",
|
5892
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
5778
5893
|
# },
|
5779
5894
|
# ],
|
5780
5895
|
# environment_variables_override: [
|
@@ -5826,6 +5941,7 @@ module Aws::CodeBuild
|
|
5826
5941
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
5827
5942
|
# location: "String",
|
5828
5943
|
# encryption_disabled: false,
|
5944
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
5829
5945
|
# },
|
5830
5946
|
# },
|
5831
5947
|
# registry_credential_override: {
|
@@ -5837,7 +5953,8 @@ module Aws::CodeBuild
|
|
5837
5953
|
# }
|
5838
5954
|
#
|
5839
5955
|
# @!attribute [rw] project_name
|
5840
|
-
# The name of the CodeBuild build project to start running a
|
5956
|
+
# The name of the AWS CodeBuild build project to start running a
|
5957
|
+
# build.
|
5841
5958
|
# @return [String]
|
5842
5959
|
#
|
5843
5960
|
# @!attribute [rw] secondary_sources_override
|
@@ -5855,7 +5972,7 @@ module Aws::CodeBuild
|
|
5855
5972
|
# not specified, the latest version is used. If specified, the
|
5856
5973
|
# contents depends on the source provider:
|
5857
5974
|
#
|
5858
|
-
# CodeCommit
|
5975
|
+
# AWS CodeCommit
|
5859
5976
|
#
|
5860
5977
|
# : The commit ID, branch, or Git tag to use.
|
5861
5978
|
#
|
@@ -5884,7 +6001,7 @@ module Aws::CodeBuild
|
|
5884
6001
|
# `sourceVersion` (at the build level) takes precedence.
|
5885
6002
|
#
|
5886
6003
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
5887
|
-
# in the *CodeBuild User Guide*.
|
6004
|
+
# in the *AWS CodeBuild User Guide*.
|
5888
6005
|
#
|
5889
6006
|
#
|
5890
6007
|
#
|
@@ -5929,7 +6046,7 @@ module Aws::CodeBuild
|
|
5929
6046
|
#
|
5930
6047
|
# @!attribute [rw] git_submodules_config_override
|
5931
6048
|
# Information about the Git submodules configuration for this build of
|
5932
|
-
# an CodeBuild build project.
|
6049
|
+
# an AWS CodeBuild build project.
|
5933
6050
|
# @return [Types::GitSubmodulesConfig]
|
5934
6051
|
#
|
5935
6052
|
# @!attribute [rw] buildspec_override
|
@@ -5939,8 +6056,8 @@ module Aws::CodeBuild
|
|
5939
6056
|
# If this value is set, it can be either an inline buildspec
|
5940
6057
|
# definition, the path to an alternate buildspec file relative to the
|
5941
6058
|
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
5942
|
-
# the path to an S3 bucket. The bucket must be in the same Region
|
5943
|
-
# the build project. Specify the buildspec file using its ARN (for
|
6059
|
+
# the path to an S3 bucket. The bucket must be in the same AWS Region
|
6060
|
+
# as the build project. Specify the buildspec file using its ARN (for
|
5944
6061
|
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
5945
6062
|
# value is not provided or is set to an empty string, the source code
|
5946
6063
|
# must contain a buildspec file in its root directory. For more
|
@@ -5969,7 +6086,7 @@ module Aws::CodeBuild
|
|
5969
6086
|
# user associated with the source provider must have write access to
|
5970
6087
|
# the repo. If the user does not have write access, the build status
|
5971
6088
|
# cannot be updated. For more information, see [Source provider
|
5972
|
-
# access][1] in the *CodeBuild User Guide*.
|
6089
|
+
# access][1] in the *AWS CodeBuild User Guide*.
|
5973
6090
|
#
|
5974
6091
|
# <note markdown="1"> The status of a build triggered by a webhook is always reported to
|
5975
6092
|
# your source provider.
|
@@ -6034,9 +6151,9 @@ module Aws::CodeBuild
|
|
6034
6151
|
# @return [Integer]
|
6035
6152
|
#
|
6036
6153
|
# @!attribute [rw] encryption_key_override
|
6037
|
-
# The Key Management Service customer master key (CMK)
|
6038
|
-
# the one specified in the build project. The CMK key
|
6039
|
-
# build output artifacts.
|
6154
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
6155
|
+
# that overrides the one specified in the build project. The CMK key
|
6156
|
+
# encrypts the build output artifacts.
|
6040
6157
|
#
|
6041
6158
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
6042
6159
|
# artifacts if your service role has permission to that key.
|
@@ -6052,7 +6169,7 @@ module Aws::CodeBuild
|
|
6052
6169
|
# A unique, case sensitive identifier you provide to ensure the
|
6053
6170
|
# idempotency of the StartBuild request. The token is included in the
|
6054
6171
|
# StartBuild request and is valid for 5 minutes. If you repeat the
|
6055
|
-
# StartBuild request with the same token, but change a parameter,
|
6172
|
+
# StartBuild request with the same token, but change a parameter, AWS
|
6056
6173
|
# CodeBuild returns a parameter mismatch error.
|
6057
6174
|
# @return [String]
|
6058
6175
|
#
|
@@ -6066,22 +6183,23 @@ module Aws::CodeBuild
|
|
6066
6183
|
# @return [Types::RegistryCredential]
|
6067
6184
|
#
|
6068
6185
|
# @!attribute [rw] image_pull_credentials_type_override
|
6069
|
-
# The type of credentials CodeBuild uses to pull images in your
|
6070
|
-
# There are two valid values:
|
6186
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
6187
|
+
# build. There are two valid values:
|
6071
6188
|
#
|
6072
6189
|
# CODEBUILD
|
6073
6190
|
#
|
6074
|
-
# : Specifies that CodeBuild uses its own credentials. This
|
6075
|
-
# that you modify your ECR repository policy to trust
|
6076
|
-
# service principal.
|
6191
|
+
# : Specifies that AWS CodeBuild uses its own credentials. This
|
6192
|
+
# requires that you modify your ECR repository policy to trust AWS
|
6193
|
+
# CodeBuild's service principal.
|
6077
6194
|
#
|
6078
6195
|
# SERVICE\_ROLE
|
6079
6196
|
#
|
6080
|
-
# : Specifies that CodeBuild uses your build project's service
|
6197
|
+
# : Specifies that AWS CodeBuild uses your build project's service
|
6198
|
+
# role.
|
6081
6199
|
#
|
6082
6200
|
# When using a cross-account or private registry image, you must use
|
6083
|
-
# `SERVICE_ROLE` credentials. When using an CodeBuild curated
|
6084
|
-
# you must use `CODEBUILD` credentials.
|
6201
|
+
# `SERVICE_ROLE` credentials. When using an AWS CodeBuild curated
|
6202
|
+
# image, you must use `CODEBUILD` credentials.
|
6085
6203
|
# @return [String]
|
6086
6204
|
#
|
6087
6205
|
# @!attribute [rw] debug_session_enabled
|
@@ -6207,8 +6325,8 @@ module Aws::CodeBuild
|
|
6207
6325
|
|
6208
6326
|
# A tag, consisting of a key and a value.
|
6209
6327
|
#
|
6210
|
-
# This tag is available for use by
|
6211
|
-
#
|
6328
|
+
# This tag is available for use by AWS services that support tags in AWS
|
6329
|
+
# CodeBuild.
|
6212
6330
|
#
|
6213
6331
|
# @note When making an API call, you may pass Tag
|
6214
6332
|
# data as a hash:
|
@@ -6425,6 +6543,7 @@ module Aws::CodeBuild
|
|
6425
6543
|
# override_artifact_name: false,
|
6426
6544
|
# encryption_disabled: false,
|
6427
6545
|
# artifact_identifier: "String",
|
6546
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
6428
6547
|
# },
|
6429
6548
|
# secondary_artifacts: [
|
6430
6549
|
# {
|
@@ -6437,6 +6556,7 @@ module Aws::CodeBuild
|
|
6437
6556
|
# override_artifact_name: false,
|
6438
6557
|
# encryption_disabled: false,
|
6439
6558
|
# artifact_identifier: "String",
|
6559
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
6440
6560
|
# },
|
6441
6561
|
# ],
|
6442
6562
|
# cache: {
|
@@ -6489,6 +6609,7 @@ module Aws::CodeBuild
|
|
6489
6609
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
6490
6610
|
# location: "String",
|
6491
6611
|
# encryption_disabled: false,
|
6612
|
+
# bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
|
6492
6613
|
# },
|
6493
6614
|
# },
|
6494
6615
|
# file_system_locations: [
|
@@ -6538,7 +6659,7 @@ module Aws::CodeBuild
|
|
6538
6659
|
# specified, the latest version is used. If specified, it must be one
|
6539
6660
|
# of:
|
6540
6661
|
#
|
6541
|
-
# * For CodeCommit: the commit ID, branch, or Git tag to use.
|
6662
|
+
# * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
|
6542
6663
|
#
|
6543
6664
|
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
6544
6665
|
# name that corresponds to the version of the source code you want
|
@@ -6561,7 +6682,7 @@ module Aws::CodeBuild
|
|
6561
6682
|
# level).
|
6562
6683
|
#
|
6563
6684
|
# For more information, see [Source Version Sample with CodeBuild][1]
|
6564
|
-
# in the *CodeBuild User Guide*.
|
6685
|
+
# in the *AWS CodeBuild User Guide*.
|
6565
6686
|
#
|
6566
6687
|
#
|
6567
6688
|
#
|
@@ -6594,13 +6715,13 @@ module Aws::CodeBuild
|
|
6594
6715
|
# @return [Types::ProjectEnvironment]
|
6595
6716
|
#
|
6596
6717
|
# @!attribute [rw] service_role
|
6597
|
-
# The replacement ARN of the Identity and Access Management
|
6598
|
-
# enables CodeBuild to interact with dependent
|
6599
|
-
# services on behalf of the
|
6718
|
+
# The replacement ARN of the AWS Identity and Access Management (IAM)
|
6719
|
+
# role that enables AWS CodeBuild to interact with dependent AWS
|
6720
|
+
# services on behalf of the AWS account.
|
6600
6721
|
# @return [String]
|
6601
6722
|
#
|
6602
6723
|
# @!attribute [rw] timeout_in_minutes
|
6603
|
-
# The replacement value in minutes, from 5 to 480 (8 hours), for
|
6724
|
+
# The replacement value in minutes, from 5 to 480 (8 hours), for AWS
|
6604
6725
|
# CodeBuild to wait before timing out any related build that did not
|
6605
6726
|
# get marked as completed.
|
6606
6727
|
# @return [Integer]
|
@@ -6611,8 +6732,8 @@ module Aws::CodeBuild
|
|
6611
6732
|
# @return [Integer]
|
6612
6733
|
#
|
6613
6734
|
# @!attribute [rw] encryption_key
|
6614
|
-
# The Key Management Service customer master key (CMK)
|
6615
|
-
# encrypting the build output artifacts.
|
6735
|
+
# The AWS Key Management Service (AWS KMS) customer master key (CMK)
|
6736
|
+
# to be used for encrypting the build output artifacts.
|
6616
6737
|
#
|
6617
6738
|
# <note markdown="1"> You can use a cross-account KMS key to encrypt the build output
|
6618
6739
|
# artifacts if your service role has permission to that key.
|
@@ -6628,12 +6749,13 @@ module Aws::CodeBuild
|
|
6628
6749
|
# An updated list of tag key and value pairs associated with this
|
6629
6750
|
# build project.
|
6630
6751
|
#
|
6631
|
-
# These tags are available for use by
|
6632
|
-
#
|
6752
|
+
# These tags are available for use by AWS services that support AWS
|
6753
|
+
# CodeBuild build project tags.
|
6633
6754
|
# @return [Array<Types::Tag>]
|
6634
6755
|
#
|
6635
6756
|
# @!attribute [rw] vpc_config
|
6636
|
-
# VpcConfig enables CodeBuild to access resources in an Amazon
|
6757
|
+
# VpcConfig enables AWS CodeBuild to access resources in an Amazon
|
6758
|
+
# VPC.
|
6637
6759
|
# @return [Types::VpcConfig]
|
6638
6760
|
#
|
6639
6761
|
# @!attribute [rw] badge_enabled
|
@@ -6643,7 +6765,7 @@ module Aws::CodeBuild
|
|
6643
6765
|
#
|
6644
6766
|
# @!attribute [rw] logs_config
|
6645
6767
|
# Information about logs for the build project. A project can create
|
6646
|
-
# logs in CloudWatch Logs, logs in an S3 bucket, or both.
|
6768
|
+
# logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
|
6647
6769
|
# @return [Types::LogsConfig]
|
6648
6770
|
#
|
6649
6771
|
# @!attribute [rw] file_system_locations
|
@@ -6748,8 +6870,8 @@ module Aws::CodeBuild
|
|
6748
6870
|
# An updated list of tag key and value pairs associated with this
|
6749
6871
|
# report group.
|
6750
6872
|
#
|
6751
|
-
# These tags are available for use by
|
6752
|
-
#
|
6873
|
+
# These tags are available for use by AWS services that support AWS
|
6874
|
+
# CodeBuild report group tags.
|
6753
6875
|
# @return [Array<Types::Tag>]
|
6754
6876
|
#
|
6755
6877
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroupInput AWS API Documentation
|
@@ -6794,7 +6916,7 @@ module Aws::CodeBuild
|
|
6794
6916
|
# }
|
6795
6917
|
#
|
6796
6918
|
# @!attribute [rw] project_name
|
6797
|
-
# The name of the CodeBuild project.
|
6919
|
+
# The name of the AWS CodeBuild project.
|
6798
6920
|
# @return [String]
|
6799
6921
|
#
|
6800
6922
|
# @!attribute [rw] branch_filter
|
@@ -6839,7 +6961,7 @@ module Aws::CodeBuild
|
|
6839
6961
|
|
6840
6962
|
# @!attribute [rw] webhook
|
6841
6963
|
# Information about a repository's webhook that is associated with a
|
6842
|
-
# project in CodeBuild.
|
6964
|
+
# project in AWS CodeBuild.
|
6843
6965
|
# @return [Types::Webhook]
|
6844
6966
|
#
|
6845
6967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookOutput AWS API Documentation
|
@@ -6850,7 +6972,7 @@ module Aws::CodeBuild
|
|
6850
6972
|
include Aws::Structure
|
6851
6973
|
end
|
6852
6974
|
|
6853
|
-
# Information about the VPC configuration that CodeBuild accesses.
|
6975
|
+
# Information about the VPC configuration that AWS CodeBuild accesses.
|
6854
6976
|
#
|
6855
6977
|
# @note When making an API call, you may pass VpcConfig
|
6856
6978
|
# data as a hash:
|
@@ -6884,14 +7006,14 @@ module Aws::CodeBuild
|
|
6884
7006
|
end
|
6885
7007
|
|
6886
7008
|
# Information about a webhook that connects repository events to a build
|
6887
|
-
# project in CodeBuild.
|
7009
|
+
# project in AWS CodeBuild.
|
6888
7010
|
#
|
6889
7011
|
# @!attribute [rw] url
|
6890
7012
|
# The URL to the webhook.
|
6891
7013
|
# @return [String]
|
6892
7014
|
#
|
6893
7015
|
# @!attribute [rw] payload_url
|
6894
|
-
# The CodeBuild endpoint where webhook events are sent.
|
7016
|
+
# The AWS CodeBuild endpoint where webhook events are sent.
|
6895
7017
|
# @return [String]
|
6896
7018
|
#
|
6897
7019
|
# @!attribute [rw] secret
|