Interface CfnProject.RegistryCredentialProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnProject.RegistryCredentialProperty extends
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:.

  • imagePullCredentialsType must be set to SERVICE_ROLE .
  • images cannot be curated or an Amazon ECR image.

For more information, see Private Registry with AWS Secrets Manager Sample for AWS CodeBuild .


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 RegistryCredentialProperty registryCredentialProperty = RegistryCredentialProperty.builder()