Interface IStagingResourcesFactory

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IStagingResourcesFactory.Jsii$Default
All Known Implementing Classes:
IStagingResourcesFactory.Jsii$Proxy

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-05-20T23:53:05.692Z") @Stability(Experimental) public interface IStagingResourcesFactory extends software.amazon.jsii.JsiiSerializable
(experimental) Staging Resource Factory interface.

The function included in this class will be called by the synthesizer to create or reference an IStagingResources construct that has the necessary staging resources for the stack.

  • Method Details

    • obtainStagingResources

      @Stability(Experimental) @NotNull IStagingResources obtainStagingResources(@NotNull Stack stack, @NotNull ObtainStagingResourcesContext context)
      (experimental) Return an object that will manage staging resources for the given stack.

      This is called whenever the the AppStagingSynthesizer binds to a specific stack, and allows selecting where the staging resources go.

      This method can choose to either create a new construct (perhaps a stack) and return it, or reference an existing construct.

      Parameters:
      stack -
      • stack to return an appropriate IStagingStack for.
      This parameter is required.
      context - This parameter is required.