RegistryCredential 
    class RegistryCredential
Information about credentials that provide access to a private Docker registry. When this is set:
- imagePullCredentialsTypemust 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.