OSPolicyResourceExecResourceExecArgs

data class OSPolicyResourceExecResourceExecArgs(val args: Output<List<String>>? = null, val file: Output<OSPolicyResourceFileArgs>? = null, val interpreter: Output<OSPolicyResourceExecResourceExecInterpreter>, val outputFilePath: Output<String>? = null, val script: Output<String>? = null) : ConvertibleToJava<OSPolicyResourceExecResourceExecArgs>

A file or script to execute.

Constructors

Link copied to clipboard
fun OSPolicyResourceExecResourceExecArgs(args: Output<List<String>>? = null, file: Output<OSPolicyResourceFileArgs>? = null, interpreter: Output<OSPolicyResourceExecResourceExecInterpreter>, outputFilePath: Output<String>? = null, script: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): OSPolicyResourceExecResourceExecArgs

Properties

Link copied to clipboard
val args: Output<List<String>>? = null

Optional arguments to pass to the source during execution.

Link copied to clipboard
val file: Output<OSPolicyResourceFileArgs>? = null

A remote or local file.

Link copied to clipboard

The script interpreter to use.

Link copied to clipboard
val outputFilePath: Output<String>? = null

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.

Link copied to clipboard
val script: Output<String>? = null

An inline script. The size of the script is limited to 32KiB.