# CodePipelineActionFactoryResult

The result of adding actions to the pipeline.

- Source: [`pipelines/lib/codepipeline/codepipeline-action-factory.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0/packages/aws-cdk-lib/pipelines/lib/codepipeline/codepipeline-action-factory.ts#L109)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
import { pipelines } from 'aws-cdk-lib';

declare const project: codebuild.Project;
const codePipelineActionFactoryResult: pipelines.CodePipelineActionFactoryResult = {
  runOrdersConsumed: 123,

  // the properties below are optional
  project: project,
};
```

## Properties

- `project`: [IProject](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IProject.html) = This factory did not create a CodeBuild project — If a CodeBuild project got created, the project.

  **Default:** This factory did not create a CodeBuild project

- `runOrdersConsumed`: number (required) — How many RunOrders were consumed.

  If you add 1 action, return the value 1 here.
