imagePullCredentialsType property
The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values:
-
CODEBUILD
specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild's service principal. -
SERVICE_ROLE
specifies that AWS CodeBuild uses your build project's service role.
Implementation
final ImagePullCredentialsType? imagePullCredentialsType;