# ICodePipelineActionFactory

Factory for explicit CodePipeline Actions.

If you have specific types of Actions you want to add to a
CodePipeline, write a subclass of `Step` that implements this
interface, and add the action or actions you want in the `produce` method.

There needs to be a level of indirection here, because some aspects of the
Action creation need to be controlled by the workflow engine (name and
runOrder). All the rest of the properties are controlled by the factory.

Implemented by: [CodePipelineSource](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.CodePipelineSource.html), [ConfirmPermissionsBroadening](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.ConfirmPermissionsBroadening.html)

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

## Methods

- `produceAction(stage: IStage, options: ProduceActionOptions): CodePipelineActionFactoryResult` — Create the desired Action and add it to the pipeline.
