OSPolicyResourceExecResourceExec constructor
const
OSPolicyResourceExecResourceExec({
- Input<
List< ? args,String> > - Input<
OSPolicyResourceFile> ? file, - required Input<
OSPolicyResourceExecResourceExecInterpreter> interpreter, - Input<
String> ? outputFilePath, - Input<
String> ? script,
Creates a new OSPolicyResourceExecResourceExec.
args Optional arguments to pass to the source during execution.
file A remote or local file.
interpreter The script interpreter to use.
outputFilePath Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
script An inline script. The size of the script is limited to 32KiB.
Implementation
const OSPolicyResourceExecResourceExec({
this.args,
this.file,
required this.interpreter,
this.outputFilePath,
this.script,
});