Package com.pulumi
Interface Pulumi
- All Known Implementing Classes:
com.pulumi.internal.PulumiInternal,PulumiTestInternal
public interface Pulumi
Pulumi program entrypoint.
Possible exit codes:
- 0 - Process Exited Successfully
- 1 - Process Exited Before Logging User Actionable Message
- 32 - Process Exited After Logging User Actionable Message
-
Nested Class Summary
Nested Classes -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic voidRun a Pulumi stack callback and wait for result.static CompletableFuture<Integer>Run a Pulumi stack callback asynchronously.static Pulumi.APIwithOptions(StackOptions options)
-
Method Details
-
run
Run a Pulumi stack callback and wait for result.
In case of an error terminates the process withSystem.exit(int)- Parameters:
stack- the stack to run in Pulumi runtime- See Also:
-
runAsync
Run a Pulumi stack callback asynchronously.- Parameters:
stack- the stack to run in Pulumi runtime- Returns:
- a future exit code from Pulumi runtime after running the stack
- See Also:
-
withOptions
- Parameters:
options- theStackOptionsto use- Returns:
- a Pulumi program entrypoint with given
StackOptions - See Also:
-