Package com.pulumi.automation
Class ProjectRuntimeOptions
java.lang.Object
com.pulumi.automation.ProjectRuntimeOptions
Various configuration options that apply to different language runtimes.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbinary()Applies to Go, .NET, and Java projects only.builder()Returns a new builder forProjectRuntimeOptions.Applies to Go projects only.compiler()Applies to YAML projects only.booleaninthashCode()nodeargs()Applies to NodeJS projects only.Applies to NodeJS projects only.Creates a newProjectRuntimeOptions.Builderinitialized with the values from this instance.Applies to Python projects only.Applies to Python projects only.Applies to NodeJS projects only.Applies to Python projects only.
-
Method Details
-
builder
Returns a new builder forProjectRuntimeOptions.- Returns:
- the builder
-
typescript
Applies to NodeJS projects only. A boolean that controls whether to use ts-node to execute sources.- Returns:
- the typescript flag
-
nodeargs
Applies to NodeJS projects only. Arguments to pass tonode.- Returns:
- the arguments to pass to
node
-
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
Applies to Go projects only. Path to save the compiled go binary to.- Returns:
- the build target
-
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
Applies to Python projects only. The toolchain to use for managing virtual environments, either "pip" (default) or "poetry", or "uv".- Returns:
- the toolchain
-
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
Applies to Python projects only. The type checker library to use.- Returns:
- the type checker
-
compiler
Applies to YAML projects only. Executable and arguments issued to standard out.- Returns:
- the compiler
-
equals
-
hashCode
public int hashCode() -
toBuilder
Creates a newProjectRuntimeOptions.Builderinitialized with the values from this instance.- Returns:
- a new
ProjectRuntimeOptions.Builderwith values copied from this instance
-