diff --git a/packages/@aws-cdk/aws-codebuild/lib/project.ts b/packages/@aws-cdk/aws-codebuild/lib/project.ts index d81ddc85843c2..574056e1b9502 100644 --- a/packages/@aws-cdk/aws-codebuild/lib/project.ts +++ b/packages/@aws-cdk/aws-codebuild/lib/project.ts @@ -460,7 +460,7 @@ export interface CommonProjectProps { * Service Role to assume while running the build. * If not specified, a role will be created. */ - role?: iam.Role; + role?: iam.IRole; /** * Encryption key to use to read and write artifacts