Class ProjectRuntimeOptions

java.lang.Object
com.pulumi.automation.ProjectRuntimeOptions

public class ProjectRuntimeOptions extends Object
Various configuration options that apply to different language runtimes.
  • Method Details

    • builder

      public static ProjectRuntimeOptions.Builder builder()
      Returns a new builder for ProjectRuntimeOptions.
      Returns:
      the builder
    • typescript

      public Boolean typescript()
      Applies to NodeJS projects only. A boolean that controls whether to use ts-node to execute sources.
      Returns:
      the typescript flag
    • nodeargs

      public String nodeargs()
      Applies to NodeJS projects only. Arguments to pass to node.
      Returns:
      the arguments to pass to node
    • packagemanager

      public String packagemanager()
      Applies to NodeJS projects only. The package manager to use for installing dependencies, either "npm" (default), "pnpm", or "yarn".
      Returns:
      the package manager
    • buildTarget

      public String buildTarget()
      Applies to Go projects only. Path to save the compiled go binary to.
      Returns:
      the build target
    • binary

      public String binary()
      Applies to Go, .NET, and Java projects only.
      • Go: A string that specifies the name of a pre-build executable to look for on your path.
      • .NET: A string that specifies the path of a pre-build .NET assembly.
      • Java: A string that specifies the path of a pre-build Java JAR file or a JBang entry-point file to execute.
      Returns:
      the binary
    • toolchain

      public String toolchain()
      Applies to Python projects only. The toolchain to use for managing virtual environments, either "pip" (default) or "poetry", or "uv".
      Returns:
      the toolchain
    • virtualenv

      public String virtualenv()
      Applies to Python projects only. A string that specifies the path to a virtual environment to use when running the program.
      Returns:
      the virtual environment
    • typechecker

      public String typechecker()
      Applies to Python projects only. The type checker library to use.
      Returns:
      the type checker
    • compiler

      public String compiler()
      Applies to YAML projects only. Executable and arguments issued to standard out.
      Returns:
      the compiler
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toBuilder

      public ProjectRuntimeOptions.Builder toBuilder()
      Creates a new ProjectRuntimeOptions.Builder initialized with the values from this instance.
      Returns:
      a new ProjectRuntimeOptions.Builder with values copied from this instance