aws-sdk-codebuild 1.25.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +52 -1
- data/lib/aws-sdk-codebuild/client_api.rb +11 -0
- data/lib/aws-sdk-codebuild/types.rb +124 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66ac4fba1022bf1ec84ee65427e43b9241464608
|
4
|
+
data.tar.gz: fd958b52922e6c1d5d48c0c997a2d31fe595a79a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4018b1397738d878765a96faf7882846b5affba35a6560b9b9d7fd50971a76e5177a2204cef571e739613d1fae9d72e4c3f7ddee8798a296ed9a2c6a5f8db7ca
|
7
|
+
data.tar.gz: 6f1f5deabfc179d6a29992feec67510d86ae0f2f419b858e55c8064229c6d5ca17f54aec591561169f083f55bb150860cccdaf8db0856f0e2556758695b89f81
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -584,6 +584,9 @@ module Aws::CodeBuild
|
|
584
584
|
# resp.builds[0].environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
|
585
585
|
# resp.builds[0].environment.privileged_mode #=> Boolean
|
586
586
|
# resp.builds[0].environment.certificate #=> String
|
587
|
+
# resp.builds[0].environment.registry_credential.credential #=> String
|
588
|
+
# resp.builds[0].environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
589
|
+
# resp.builds[0].environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
587
590
|
# resp.builds[0].service_role #=> String
|
588
591
|
# resp.builds[0].logs.group_name #=> String
|
589
592
|
# resp.builds[0].logs.stream_name #=> String
|
@@ -689,6 +692,9 @@ module Aws::CodeBuild
|
|
689
692
|
# resp.projects[0].environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
|
690
693
|
# resp.projects[0].environment.privileged_mode #=> Boolean
|
691
694
|
# resp.projects[0].environment.certificate #=> String
|
695
|
+
# resp.projects[0].environment.registry_credential.credential #=> String
|
696
|
+
# resp.projects[0].environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
697
|
+
# resp.projects[0].environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
692
698
|
# resp.projects[0].service_role #=> String
|
693
699
|
# resp.projects[0].timeout_in_minutes #=> Integer
|
694
700
|
# resp.projects[0].queued_timeout_in_minutes #=> Integer
|
@@ -871,6 +877,11 @@ module Aws::CodeBuild
|
|
871
877
|
# ],
|
872
878
|
# privileged_mode: false,
|
873
879
|
# certificate: "String",
|
880
|
+
# registry_credential: {
|
881
|
+
# credential: "NonEmptyString", # required
|
882
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
883
|
+
# },
|
884
|
+
# image_pull_credentials_type: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
874
885
|
# },
|
875
886
|
# service_role: "NonEmptyString", # required
|
876
887
|
# timeout_in_minutes: 1,
|
@@ -955,6 +966,9 @@ module Aws::CodeBuild
|
|
955
966
|
# resp.project.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
|
956
967
|
# resp.project.environment.privileged_mode #=> Boolean
|
957
968
|
# resp.project.environment.certificate #=> String
|
969
|
+
# resp.project.environment.registry_credential.credential #=> String
|
970
|
+
# resp.project.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
971
|
+
# resp.project.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
958
972
|
# resp.project.service_role #=> String
|
959
973
|
# resp.project.timeout_in_minutes #=> Integer
|
960
974
|
# resp.project.queued_timeout_in_minutes #=> Integer
|
@@ -1530,6 +1544,24 @@ module Aws::CodeBuild
|
|
1530
1544
|
# Log settings for this build that override the log settings defined in
|
1531
1545
|
# the build project.
|
1532
1546
|
#
|
1547
|
+
# @option params [Types::RegistryCredential] :registry_credential_override
|
1548
|
+
# The credentials for access to a private registry.
|
1549
|
+
#
|
1550
|
+
# @option params [String] :image_pull_credentials_type_override
|
1551
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
1552
|
+
# build. There are two valid values:
|
1553
|
+
#
|
1554
|
+
# * `CODEBUILD` specifies that AWS CodeBuild uses its own credentials.
|
1555
|
+
# This requires that you modify your ECR repository policy to trust
|
1556
|
+
# AWS CodeBuild's service principal.
|
1557
|
+
#
|
1558
|
+
# * `SERVICE_ROLE` specifies that AWS CodeBuild uses your build
|
1559
|
+
# project's service role.
|
1560
|
+
#
|
1561
|
+
# When using a cross-account or private registry image, you must use
|
1562
|
+
# SERVICE\_ROLE credentials. When using an AWS CodeBuild curated image,
|
1563
|
+
# you must use CODEBUILD credentials.
|
1564
|
+
#
|
1533
1565
|
# @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1534
1566
|
#
|
1535
1567
|
# * {Types::StartBuildOutput#build #build} => Types::Build
|
@@ -1625,6 +1657,11 @@ module Aws::CodeBuild
|
|
1625
1657
|
# location: "String",
|
1626
1658
|
# },
|
1627
1659
|
# },
|
1660
|
+
# registry_credential_override: {
|
1661
|
+
# credential: "NonEmptyString", # required
|
1662
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
1663
|
+
# },
|
1664
|
+
# image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
1628
1665
|
# })
|
1629
1666
|
#
|
1630
1667
|
# @example Response structure
|
@@ -1693,6 +1730,9 @@ module Aws::CodeBuild
|
|
1693
1730
|
# resp.build.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
|
1694
1731
|
# resp.build.environment.privileged_mode #=> Boolean
|
1695
1732
|
# resp.build.environment.certificate #=> String
|
1733
|
+
# resp.build.environment.registry_credential.credential #=> String
|
1734
|
+
# resp.build.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
1735
|
+
# resp.build.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
1696
1736
|
# resp.build.service_role #=> String
|
1697
1737
|
# resp.build.logs.group_name #=> String
|
1698
1738
|
# resp.build.logs.stream_name #=> String
|
@@ -1806,6 +1846,9 @@ module Aws::CodeBuild
|
|
1806
1846
|
# resp.build.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
|
1807
1847
|
# resp.build.environment.privileged_mode #=> Boolean
|
1808
1848
|
# resp.build.environment.certificate #=> String
|
1849
|
+
# resp.build.environment.registry_credential.credential #=> String
|
1850
|
+
# resp.build.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
1851
|
+
# resp.build.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
1809
1852
|
# resp.build.service_role #=> String
|
1810
1853
|
# resp.build.logs.group_name #=> String
|
1811
1854
|
# resp.build.logs.stream_name #=> String
|
@@ -1988,6 +2031,11 @@ module Aws::CodeBuild
|
|
1988
2031
|
# ],
|
1989
2032
|
# privileged_mode: false,
|
1990
2033
|
# certificate: "String",
|
2034
|
+
# registry_credential: {
|
2035
|
+
# credential: "NonEmptyString", # required
|
2036
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
2037
|
+
# },
|
2038
|
+
# image_pull_credentials_type: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
1991
2039
|
# },
|
1992
2040
|
# service_role: "NonEmptyString",
|
1993
2041
|
# timeout_in_minutes: 1,
|
@@ -2072,6 +2120,9 @@ module Aws::CodeBuild
|
|
2072
2120
|
# resp.project.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
|
2073
2121
|
# resp.project.environment.privileged_mode #=> Boolean
|
2074
2122
|
# resp.project.environment.certificate #=> String
|
2123
|
+
# resp.project.environment.registry_credential.credential #=> String
|
2124
|
+
# resp.project.environment.registry_credential.credential_provider #=> String, one of "SECRETS_MANAGER"
|
2125
|
+
# resp.project.environment.image_pull_credentials_type #=> String, one of "CODEBUILD", "SERVICE_ROLE"
|
2075
2126
|
# resp.project.service_role #=> String
|
2076
2127
|
# resp.project.timeout_in_minutes #=> Integer
|
2077
2128
|
# resp.project.queued_timeout_in_minutes #=> Integer
|
@@ -2170,7 +2221,7 @@ module Aws::CodeBuild
|
|
2170
2221
|
params: params,
|
2171
2222
|
config: config)
|
2172
2223
|
context[:gem_name] = 'aws-sdk-codebuild'
|
2173
|
-
context[:gem_version] = '1.
|
2224
|
+
context[:gem_version] = '1.26.0'
|
2174
2225
|
Seahorse::Client::Request.new(handlers, context)
|
2175
2226
|
end
|
2176
2227
|
|
@@ -40,6 +40,7 @@ module Aws::CodeBuild
|
|
40
40
|
CreateProjectOutput = Shapes::StructureShape.new(name: 'CreateProjectOutput')
|
41
41
|
CreateWebhookInput = Shapes::StructureShape.new(name: 'CreateWebhookInput')
|
42
42
|
CreateWebhookOutput = Shapes::StructureShape.new(name: 'CreateWebhookOutput')
|
43
|
+
CredentialProviderType = Shapes::StringShape.new(name: 'CredentialProviderType')
|
43
44
|
DeleteProjectInput = Shapes::StructureShape.new(name: 'DeleteProjectInput')
|
44
45
|
DeleteProjectOutput = Shapes::StructureShape.new(name: 'DeleteProjectOutput')
|
45
46
|
DeleteSourceCredentialsInput = Shapes::StructureShape.new(name: 'DeleteSourceCredentialsInput')
|
@@ -57,6 +58,7 @@ module Aws::CodeBuild
|
|
57
58
|
EnvironmentVariableType = Shapes::StringShape.new(name: 'EnvironmentVariableType')
|
58
59
|
EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
|
59
60
|
GitCloneDepth = Shapes::IntegerShape.new(name: 'GitCloneDepth')
|
61
|
+
ImagePullCredentialsType = Shapes::StringShape.new(name: 'ImagePullCredentialsType')
|
60
62
|
ImageVersions = Shapes::ListShape.new(name: 'ImageVersions')
|
61
63
|
ImportSourceCredentialsInput = Shapes::StructureShape.new(name: 'ImportSourceCredentialsInput')
|
62
64
|
ImportSourceCredentialsOutput = Shapes::StructureShape.new(name: 'ImportSourceCredentialsOutput')
|
@@ -99,6 +101,7 @@ module Aws::CodeBuild
|
|
99
101
|
ProjectSourceVersion = Shapes::StructureShape.new(name: 'ProjectSourceVersion')
|
100
102
|
ProjectSources = Shapes::ListShape.new(name: 'ProjectSources')
|
101
103
|
Projects = Shapes::ListShape.new(name: 'Projects')
|
104
|
+
RegistryCredential = Shapes::StructureShape.new(name: 'RegistryCredential')
|
102
105
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
103
106
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
104
107
|
S3LogsConfig = Shapes::StructureShape.new(name: 'S3LogsConfig')
|
@@ -410,6 +413,8 @@ module Aws::CodeBuild
|
|
410
413
|
ProjectEnvironment.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
411
414
|
ProjectEnvironment.add_member(:privileged_mode, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedMode"))
|
412
415
|
ProjectEnvironment.add_member(:certificate, Shapes::ShapeRef.new(shape: String, location_name: "certificate"))
|
416
|
+
ProjectEnvironment.add_member(:registry_credential, Shapes::ShapeRef.new(shape: RegistryCredential, location_name: "registryCredential"))
|
417
|
+
ProjectEnvironment.add_member(:image_pull_credentials_type, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsType"))
|
413
418
|
ProjectEnvironment.struct_class = Types::ProjectEnvironment
|
414
419
|
|
415
420
|
ProjectNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
@@ -434,6 +439,10 @@ module Aws::CodeBuild
|
|
434
439
|
|
435
440
|
Projects.member = Shapes::ShapeRef.new(shape: Project)
|
436
441
|
|
442
|
+
RegistryCredential.add_member(:credential, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "credential"))
|
443
|
+
RegistryCredential.add_member(:credential_provider, Shapes::ShapeRef.new(shape: CredentialProviderType, required: true, location_name: "credentialProvider"))
|
444
|
+
RegistryCredential.struct_class = Types::RegistryCredential
|
445
|
+
|
437
446
|
S3LogsConfig.add_member(:status, Shapes::ShapeRef.new(shape: LogsConfigStatusType, required: true, location_name: "status"))
|
438
447
|
S3LogsConfig.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
|
439
448
|
S3LogsConfig.struct_class = Types::S3LogsConfig
|
@@ -476,6 +485,8 @@ module Aws::CodeBuild
|
|
476
485
|
StartBuildInput.add_member(:queued_timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutesOverride"))
|
477
486
|
StartBuildInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "idempotencyToken"))
|
478
487
|
StartBuildInput.add_member(:logs_config_override, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfigOverride"))
|
488
|
+
StartBuildInput.add_member(:registry_credential_override, Shapes::ShapeRef.new(shape: RegistryCredential, location_name: "registryCredentialOverride"))
|
489
|
+
StartBuildInput.add_member(:image_pull_credentials_type_override, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsTypeOverride"))
|
479
490
|
StartBuildInput.struct_class = Types::StartBuildInput
|
480
491
|
|
481
492
|
StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
|
@@ -598,6 +598,11 @@ module Aws::CodeBuild
|
|
598
598
|
# ],
|
599
599
|
# privileged_mode: false,
|
600
600
|
# certificate: "String",
|
601
|
+
# registry_credential: {
|
602
|
+
# credential: "NonEmptyString", # required
|
603
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
604
|
+
# },
|
605
|
+
# image_pull_credentials_type: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
601
606
|
# },
|
602
607
|
# service_role: "NonEmptyString", # required
|
603
608
|
# timeout_in_minutes: 1,
|
@@ -1745,6 +1750,11 @@ module Aws::CodeBuild
|
|
1745
1750
|
# ],
|
1746
1751
|
# privileged_mode: false,
|
1747
1752
|
# certificate: "String",
|
1753
|
+
# registry_credential: {
|
1754
|
+
# credential: "NonEmptyString", # required
|
1755
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
1756
|
+
# },
|
1757
|
+
# image_pull_credentials_type: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
1748
1758
|
# }
|
1749
1759
|
#
|
1750
1760
|
# @!attribute [rw] type
|
@@ -1752,7 +1762,18 @@ module Aws::CodeBuild
|
|
1752
1762
|
# @return [String]
|
1753
1763
|
#
|
1754
1764
|
# @!attribute [rw] image
|
1755
|
-
# The
|
1765
|
+
# The image tag or image digest that identifies the Docker image to
|
1766
|
+
# use for this build project. Use the following formats:
|
1767
|
+
#
|
1768
|
+
# * For an image tag: `registry/repository:tag`. For example, to
|
1769
|
+
# specify an image with the tag "latest," use
|
1770
|
+
# `registry/repository:latest`.
|
1771
|
+
#
|
1772
|
+
# * For an image digest: `registry/repository@digest`. For example, to
|
1773
|
+
# specify an image with the digest
|
1774
|
+
# "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
|
1775
|
+
# use
|
1776
|
+
# `registry/repository@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf`.
|
1756
1777
|
# @return [String]
|
1757
1778
|
#
|
1758
1779
|
# @!attribute [rw] compute_type
|
@@ -1804,6 +1825,26 @@ module Aws::CodeBuild
|
|
1804
1825
|
# The certificate to use with this build project.
|
1805
1826
|
# @return [String]
|
1806
1827
|
#
|
1828
|
+
# @!attribute [rw] registry_credential
|
1829
|
+
# The credentials for access to a private registry.
|
1830
|
+
# @return [Types::RegistryCredential]
|
1831
|
+
#
|
1832
|
+
# @!attribute [rw] image_pull_credentials_type
|
1833
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
1834
|
+
# build. There are two valid values:
|
1835
|
+
#
|
1836
|
+
# * `CODEBUILD` specifies that AWS CodeBuild uses its own credentials.
|
1837
|
+
# This requires that you modify your ECR repository policy to trust
|
1838
|
+
# AWS CodeBuild's service principal.
|
1839
|
+
#
|
1840
|
+
# * `SERVICE_ROLE` specifies that AWS CodeBuild uses your build
|
1841
|
+
# project's service role.
|
1842
|
+
#
|
1843
|
+
# When you use a cross-account or private registry image, you must use
|
1844
|
+
# SERVICE\_ROLE credentials. When you use an AWS CodeBuild curated
|
1845
|
+
# image, you must use CODEBUILD credentials.
|
1846
|
+
# @return [String]
|
1847
|
+
#
|
1807
1848
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment AWS API Documentation
|
1808
1849
|
#
|
1809
1850
|
class ProjectEnvironment < Struct.new(
|
@@ -1812,7 +1853,9 @@ module Aws::CodeBuild
|
|
1812
1853
|
:compute_type,
|
1813
1854
|
:environment_variables,
|
1814
1855
|
:privileged_mode,
|
1815
|
-
:certificate
|
1856
|
+
:certificate,
|
1857
|
+
:registry_credential,
|
1858
|
+
:image_pull_credentials_type)
|
1816
1859
|
include Aws::Structure
|
1817
1860
|
end
|
1818
1861
|
|
@@ -2002,6 +2045,52 @@ module Aws::CodeBuild
|
|
2002
2045
|
include Aws::Structure
|
2003
2046
|
end
|
2004
2047
|
|
2048
|
+
# Information about credentials that provide access to a private Docker
|
2049
|
+
# registry. When this is set:
|
2050
|
+
#
|
2051
|
+
# * `imagePullCredentialsType` must be set to `SERVICE_ROLE`.
|
2052
|
+
#
|
2053
|
+
# * images cannot be curated or an Amazon ECR image.
|
2054
|
+
#
|
2055
|
+
# For more information, see [Private Registry with AWS Secrets Manager
|
2056
|
+
# Samle for AWS CodeBuild][1].
|
2057
|
+
#
|
2058
|
+
#
|
2059
|
+
#
|
2060
|
+
# [1]: http://docs.aws.amazon.com/codebuild/latest/userguide/sample-private-registry.html
|
2061
|
+
#
|
2062
|
+
# @note When making an API call, you may pass RegistryCredential
|
2063
|
+
# data as a hash:
|
2064
|
+
#
|
2065
|
+
# {
|
2066
|
+
# credential: "NonEmptyString", # required
|
2067
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
2068
|
+
# }
|
2069
|
+
#
|
2070
|
+
# @!attribute [rw] credential
|
2071
|
+
# The Amazon Resource Name (ARN) or name of credentials created using
|
2072
|
+
# AWS Secrets Manager.
|
2073
|
+
#
|
2074
|
+
# <note markdown="1"> The `credential` can use the name of the credentials only if they
|
2075
|
+
# exist in your current region.
|
2076
|
+
#
|
2077
|
+
# </note>
|
2078
|
+
# @return [String]
|
2079
|
+
#
|
2080
|
+
# @!attribute [rw] credential_provider
|
2081
|
+
# The service that created the credentials to access a private Docker
|
2082
|
+
# registry. The valid value, SECRETS\_MANAGER, is for AWS Secrets
|
2083
|
+
# Manager.
|
2084
|
+
# @return [String]
|
2085
|
+
#
|
2086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RegistryCredential AWS API Documentation
|
2087
|
+
#
|
2088
|
+
class RegistryCredential < Struct.new(
|
2089
|
+
:credential,
|
2090
|
+
:credential_provider)
|
2091
|
+
include Aws::Structure
|
2092
|
+
end
|
2093
|
+
|
2005
2094
|
# Information about S3 logs for a build project.
|
2006
2095
|
#
|
2007
2096
|
# @note When making an API call, you may pass S3LogsConfig
|
@@ -2188,6 +2277,11 @@ module Aws::CodeBuild
|
|
2188
2277
|
# location: "String",
|
2189
2278
|
# },
|
2190
2279
|
# },
|
2280
|
+
# registry_credential_override: {
|
2281
|
+
# credential: "NonEmptyString", # required
|
2282
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
2283
|
+
# },
|
2284
|
+
# image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
2191
2285
|
# }
|
2192
2286
|
#
|
2193
2287
|
# @!attribute [rw] project_name
|
@@ -2343,6 +2437,26 @@ module Aws::CodeBuild
|
|
2343
2437
|
# in the build project.
|
2344
2438
|
# @return [Types::LogsConfig]
|
2345
2439
|
#
|
2440
|
+
# @!attribute [rw] registry_credential_override
|
2441
|
+
# The credentials for access to a private registry.
|
2442
|
+
# @return [Types::RegistryCredential]
|
2443
|
+
#
|
2444
|
+
# @!attribute [rw] image_pull_credentials_type_override
|
2445
|
+
# The type of credentials AWS CodeBuild uses to pull images in your
|
2446
|
+
# build. There are two valid values:
|
2447
|
+
#
|
2448
|
+
# * `CODEBUILD` specifies that AWS CodeBuild uses its own credentials.
|
2449
|
+
# This requires that you modify your ECR repository policy to trust
|
2450
|
+
# AWS CodeBuild's service principal.
|
2451
|
+
#
|
2452
|
+
# * `SERVICE_ROLE` specifies that AWS CodeBuild uses your build
|
2453
|
+
# project's service role.
|
2454
|
+
#
|
2455
|
+
# When using a cross-account or private registry image, you must use
|
2456
|
+
# SERVICE\_ROLE credentials. When using an AWS CodeBuild curated
|
2457
|
+
# image, you must use CODEBUILD credentials.
|
2458
|
+
# @return [String]
|
2459
|
+
#
|
2346
2460
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput AWS API Documentation
|
2347
2461
|
#
|
2348
2462
|
class StartBuildInput < Struct.new(
|
@@ -2370,7 +2484,9 @@ module Aws::CodeBuild
|
|
2370
2484
|
:timeout_in_minutes_override,
|
2371
2485
|
:queued_timeout_in_minutes_override,
|
2372
2486
|
:idempotency_token,
|
2373
|
-
:logs_config_override
|
2487
|
+
:logs_config_override,
|
2488
|
+
:registry_credential_override,
|
2489
|
+
:image_pull_credentials_type_override)
|
2374
2490
|
include Aws::Structure
|
2375
2491
|
end
|
2376
2492
|
|
@@ -2518,6 +2634,11 @@ module Aws::CodeBuild
|
|
2518
2634
|
# ],
|
2519
2635
|
# privileged_mode: false,
|
2520
2636
|
# certificate: "String",
|
2637
|
+
# registry_credential: {
|
2638
|
+
# credential: "NonEmptyString", # required
|
2639
|
+
# credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
|
2640
|
+
# },
|
2641
|
+
# image_pull_credentials_type: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
|
2521
2642
|
# },
|
2522
2643
|
# service_role: "NonEmptyString",
|
2523
2644
|
# timeout_in_minutes: 1,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codebuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|