# CodeBuildStartBuild

Use an AWS CodeBuild as a target for AWS EventBridge Scheduler.

Extends: ScheduleTargetBase › CodeBuildStartBuild
Implements: IScheduleTarget

- Source: [`aws-scheduler-targets/lib/codebuild-start-build.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-scheduler-targets/lib/codebuild-start-build.ts#L11)
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

```ts
import * as codebuild from 'aws-cdk-lib/aws-codebuild';

declare const project: codebuild.Project;

new Schedule(this, 'Schedule', {
  schedule: ScheduleExpression.rate(Duration.minutes(60)),
  target: new targets.CodeBuildStartBuild(project),
});
```

## Initializer

```ts
new CodeBuildStartBuild(project: IProjectRef, props?: ScheduleTargetBaseProps)
```

## Methods

- `bind(schedule: ISchedule): ScheduleTargetConfig` — Create a return a Schedule Target Configuration for the given schedule.

  **Returns:** a Schedule Target Configuration
