Interface ICodePipelineActionFactory
Factory for explicit CodePipeline Actions.
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICodePipelineActionFactory
Syntax (vb)
Public Interface ICodePipelineActionFactory
Remarks
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.
Synopsis
Methods
ProduceAction(IStage, IProduceActionOptions) | Create the desired Action and add it to the pipeline. |
Methods
ProduceAction(IStage, IProduceActionOptions)
Create the desired Action and add it to the pipeline.
ICodePipelineActionFactoryResult ProduceAction(IStage stage, IProduceActionOptions options)
Parameters
- stage IStage
- options IProduceActionOptions
Returns
ICodePipelineActionFactoryResult