Interface CustomFactoryOptions

All Superinterfaces:
AppStagingSynthesizerOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CustomFactoryOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:27.425Z") @Stability(Experimental) public interface CustomFactoryOptions extends software.amazon.jsii.JsiiSerializable, AppStagingSynthesizerOptions
(experimental) Properties for customFactory static method.

Example:

 public class CustomFactory implements IStagingResourcesFactory {
     public CustomStagingStack obtainStagingResources(Stack stack, ObtainStagingResourcesContext context) {
         Stage myApp = App.of(stack);
         return new CustomStagingStack(myApp, String.format("CustomStagingStack-%s", context.getEnvironmentString()), new CustomStagingStackProps());
     }
 }
 App app = App.Builder.create()
         .defaultStackSynthesizer(AppStagingSynthesizer.customFactory(CustomFactoryOptions.builder()
                 .factory(new CustomFactory())
                 .oncePerEnv(true)
                 .build()))
         .build();