Stack is the root resource for a Pulumi stack. Before invoking the init callback, it registers itself as the root resource with the Pulumi engine.

Hierarchy (view full)



outputs: Output<Inputs>

The outputs of this stack, if the init callback exited normally.

urn: Output<string>

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.


  • registerOutputs registers synthetic outputs that a component has initialized, usually by allocating other child sub-resources and propagating their resulting property values.

    ComponentResources can call this at the end of their constructor to indicate that they are done creating child resources. This is not strictly necessary as this will automatically be called after the initialize method completes.


    Returns void

Generated using TypeDoc