CommandArgs constructor

const CommandArgs({
  1. Input<bool>? addPreviousOutputInEnv,
  2. Input<List<String>>? archivePaths,
  3. Input<List<String>>? assetPaths,
  4. Input<String>? create,
  5. Input<String>? delete,
  6. Input<String>? dir,
  7. Input<Map<String, String>>? environment,
  8. Input<List<String>>? interpreter,
  9. Input<Logging>? logging,
  10. Input<String>? stdin,
  11. Input<List>? triggers,
  12. Input<String>? update,
})

Creates a new CommandArgs. addPreviousOutputInEnv If the previous command's stdout and stderr (as generated by the prior create/update) is archivePaths A list of path globs to return as a single archive asset after the command completes. assetPaths A list of path globs to read after the command completes. create The command to run once on resource creation. delete The command to run on resource delettion. dir The directory from which to run the command from. If dir does not exist, then environment Additional environment variables available to the command's process. interpreter The program and arguments to run the command. logging If the command's stdout and stderr should be logged. This doesn't affect the capturing of stdin Pass a string to the command's process as standard in triggers The resource will be updated (or replaced) if any of these values change. update The command to run when the resource is updated.

Implementation

const CommandArgs({
  this.addPreviousOutputInEnv,
  this.archivePaths,
  this.assetPaths,
  this.create,
  this.delete,
  this.dir,
  this.environment,
  this.interpreter,
  this.logging,
  this.stdin,
  this.triggers,
  this.update,
});