interface RegistryCredentialProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Mixins.CfnProjectPropsMixin.RegistryCredentialProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/mixins#CfnProjectPropsMixin_RegistryCredentialProperty |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.mixins.CfnProjectPropsMixin.RegistryCredentialProperty |
Python | aws_cdk.mixins_preview.aws_codebuild.mixins.CfnProjectPropsMixin.RegistryCredentialProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codebuild » mixins » CfnProjectPropsMixin » RegistryCredentialProperty |
RegistryCredential is a property of the AWS CodeBuild Project Environment property type that specifies information about credentials that provide access to a private Docker registry. When this is set:.
imagePullCredentialsTypemust be set toSERVICE_ROLE.- images cannot be curated or an Amazon ECR image.
For more information, see Private Registry with AWS Secrets Manager Sample for AWS CodeBuild .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codebuild_mixins } from '@aws-cdk/mixins-preview/aws-codebuild';
const registryCredentialProperty: codebuild_mixins.CfnProjectPropsMixin.RegistryCredentialProperty = {
credential: 'credential',
credentialProvider: 'credentialProvider',
};
Properties
| Name | Type | Description |
|---|---|---|
| credential? | string | The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager . |
| credential | string | The service that created the credentials to access a private Docker registry. |
credential?
Type:
string
(optional)
The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager .
The
credentialcan use the name of the credentials only if they exist in your current AWS Region .
credentialProvider?
Type:
string
(optional)
The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER, is for AWS Secrets Manager .

.NET
Go
Java
Python
TypeScript