interface ICodePipelineActionFactory
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Pipelines.ICodePipelineActionFactory |
Go | github.com/aws/aws-cdk-go/awscdk/v2/pipelines#ICodePipelineActionFactory |
Java | software.amazon.awscdk.pipelines.ICodePipelineActionFactory |
Python | aws_cdk.pipelines.ICodePipelineActionFactory |
TypeScript (source) | aws-cdk-lib » pipelines » ICodePipelineActionFactory |
Implemented by
Confirm
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.
Methods
| Name | Description |
|---|---|
| produce | Create the desired Action and add it to the pipeline. |
produceAction(stage, options)
public produceAction(stage: IStage, options: ProduceActionOptions): CodePipelineActionFactoryResult
Parameters
- stage
IStage - options
ProduceAction Options
Returns
Create the desired Action and add it to the pipeline.

.NET
Go
Java
Python
TypeScript (