This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::CodeBuild::Project RegistryCredential
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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Credential" :String, "CredentialProvider" :String}
YAML
Credential:StringCredentialProvider:String
Properties
- Credential
- 
                    The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager. NoteThe credentialcan use the name of the credentials only if they exist in your current AWS Region.Required: Yes Type: String Minimum: 1Update requires: No interruption 
- CredentialProvider
- 
                    The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for AWS Secrets Manager. Required: Yes Type: String Allowed values: SECRETS_MANAGERUpdate requires: No interruption 
See also
- 
                    RegistryCredential in the AWS CodeBuild API Reference