Interface ICodePipelineActionFactory

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ICodePipelineActionFactory.Jsii$Default
All Known Implementing Classes:
CodePipelineSource, ConfirmPermissionsBroadening, ICodePipelineActionFactory.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.832Z") @Stability(Stable) public interface ICodePipelineActionFactory extends software.amazon.jsii.JsiiSerializable
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.

  • Method Details

    • produceAction

      @Stability(Stable) @NotNull CodePipelineActionFactoryResult produceAction(@NotNull IStage stage, @NotNull ProduceActionOptions options)
      Create the desired Action and add it to the pipeline.

      Parameters:
      stage - This parameter is required.
      options - This parameter is required.