OSPolicyResourceExecResourceExec class

A file or script to execute.

Constructors

OSPolicyResourceExecResourceExec({Input<List<String>>? args, 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.
const
OSPolicyResourceExecResourceExec.fromMap(Map<String, dynamic> map)
factory

Properties

args → Input<List<String>>?
Optional arguments to pass to the source during execution.
final
file → Input<OSPolicyResourceFile>?
A remote or local file.
final
hashCode → int
The hash code for this object.
no setterinherited
interpreter → Input<OSPolicyResourceExecResourceExecInterpreter>
The script interpreter to use.
final
outputFilePath → Input<String>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
script → Input<String>?
An inline script. The size of the script is limited to 32KiB.
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