Package com.pulumi

Interface Context

    • Method Detail

      • projectName

        java.lang.String projectName()
        Returns:
        the name of the current project
      • stackName

        java.lang.String stackName()
        Returns:
        the name of the current stack
      • export

        @CanIgnoreReturnValue
        Context export​(java.lang.String name,
                       Output<?> output)
        Append an Output to exported stack outputs.

        This method mutates the context internal state.

        Parameters:
        name - name of the Output
        output - the Output value
        Returns:
        the current Context