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