RunArgs class
Arguments for run. Arguments for run.
Constructors
-
RunArgs({Input<
bool> ? addPreviousOutputInEnv, Input<List< ? archivePaths, Input<String> >List< ? assetPaths, required Input<String> >String> command, Input<String> ? dir, Input<Map< ? environment, Input<String, String> >List< ? interpreter, Input<String> >Logging> ? logging, Input<String> ? stdin}) -
Creates a new RunArgs.
addPreviousOutputInEnvIf the previous command's stdout and stderr (as generated by the prior create/update) isarchivePathsA list of path globs to return as a single archive asset after the command completes.assetPathsA list of path globs to read after the command completes.commandThe command to run.dirThe directory from which to run the command from. Ifdirdoes not exist, thenenvironmentAdditional environment variables available to the command's process.interpreterThe program and arguments to run the command.loggingIf the command's stdout and stderr should be logged. This doesn't affect the capturing ofstdinPass a string to the command's process as standard inconst -
RunArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
addPreviousOutputInEnv
→ Input<
bool> ? -
If the previous command's stdout and stderr (as generated by the prior create/update) is
injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR.
Defaults to true.
final
-
archivePaths
→ Input<
List< ?String> > -
A list of path globs to return as a single archive asset after the command completes.
final
-
assetPaths
→ Input<
List< ?String> > -
A list of path globs to read after the command completes.
final
-
command
→ Input<
String> -
The command to run.
final
-
dir
→ Input<
String> ? -
The directory from which to run the command from. If
dirdoes not exist, thenCommandwill fail.final -
environment
→ Input<
Map< ?String, String> > -
Additional environment variables available to the command's process.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interpreter
→ Input<
List< ?String> > -
The program and arguments to run the command.
On Linux and macOS, defaults to:
["/bin/sh", "-c"]. On Windows, defaults to:["cmd", "/C"]final -
logging
→ Input<
Logging> ? -
If the command's stdout and stderr should be logged. This doesn't affect the capturing of
stdout and stderr as outputs. If there might be secrets in the output, you can disable logging here and mark the
outputs as secret via 'additionalSecretOutputs'. Defaults to logging both stdout and stderr.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stdin
→ Input<
String> ? -
Pass a string to the command's process as standard in
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited