Class: Aws::CodeBuild::Types::RegistryCredential
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeBuild::Types::RegistryCredential
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codebuild/types.rb
Overview
Information about credentials that provide access to a private Docker registry. When this is set:
-
‘imagePullCredentialsType` must be set to `SERVICE_ROLE`.
-
images cannot be curated or an Amazon ECR image.
For more information, see [Private Registry with Secrets Manager Sample for CodeBuild].
[1]: docs.aws.amazon.com/codebuild/latest/userguide/sample-private-registry.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#credential ⇒ String
The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
-
#credential_provider ⇒ String
The service that created the credentials to access a private Docker registry.
Instance Attribute Details
#credential ⇒ String
The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
<note markdown=“1”> The ‘credential` can use the name of the credentials only if they exist in your current Amazon Web Services Region.
</note>
5205 5206 5207 5208 5209 5210 |
# File 'lib/aws-sdk-codebuild/types.rb', line 5205 class RegistryCredential < Struct.new( :credential, :credential_provider) SENSITIVE = [] include Aws::Structure end |
#credential_provider ⇒ String
The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
5205 5206 5207 5208 5209 5210 |
# File 'lib/aws-sdk-codebuild/types.rb', line 5205 class RegistryCredential < Struct.new( :credential, :credential_provider) SENSITIVE = [] include Aws::Structure end |