Invocation

class Invocation : KotlinCustomResource

Import

Eflo Invocation can be imported using the id, e.g.

$ pulumi import alicloud:eflo/invocation:Invocation example <id>

Properties

Link copied to clipboard
val commandContent: Output<String>?

The command content. You need to pay attention:

Link copied to clipboard
val commandId: Output<String>?

Command ID

Link copied to clipboard
val contentEncoding: Output<String>?

The encoding of the script content. Value range:

Link copied to clipboard
val description: Output<String>?

The command description.

Link copied to clipboard
val enableParameter: Output<Boolean>?

Whether custom parameters are included in the command. Default value: false.

Link copied to clipboard
val frequency: Output<String>?

The execution time of the scheduled execution command. Currently, three scheduled execution methods are supported: fixed interval execution (based on Rate expression), only once at a specified time, and timed execution based on clock (based on Cron expression).

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val launcher: Output<String>?

The bootstrapper for script execution. The length cannot exceed 1KB.

Link copied to clipboard
val name: Output<String>

The command name.

Link copied to clipboard
val nodeIdLists: Output<List<String>>?

A list of nodes.

Link copied to clipboard
val parameters: Output<Map<String, String>>?

When the command contains custom parameters, the key-value pair of the custom parameters passed in when the command is executed. For example, if the command content is 'echo {{name}}', the key-value pair'{"name":"Jack"}'can be passed through the 'Parameter' parameter'. The custom parameter will automatically replace the variable value 'name' to get a new command that actually executes 'echo Jack '. The number of custom parameters ranges from 0 to 10, and you need to pay attention:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val repeatMode: Output<String>?

Sets the way the command is executed. Value range:

Link copied to clipboard
val terminationMode: Output<String>?

The mode when the task is stopped (manually stopped or execution time-out interrupted). Possible values: Process: Stops the current script Process. ProcessTree: Stops the current process tree (the script process and the collection of all child processes it created)

Link copied to clipboard
val timeout: Output<Int>?

The timeout period for command execution. Unit: seconds. A timeout occurs when a command cannot be run due to a process, a missing module, or a missing cloud assistant Agent. After the timeout, the command process is forcibly terminated. Default value: 60.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val username: Output<String>?

The name of the user who executed the command in the instance. The length must not exceed 255 characters. The instance of the Linux system. By default, the root user runs commands.

Link copied to clipboard
val workingDir: Output<String>?

You can customize the command execution path. The default path is as follows: Linux instance: the execution path is in the/home directory of the root user by default.