Skip to content

ExecCapability

Source code in docs_src/capo_cloudextensions/types/exec_capability.py
class ExecCapability(TypedDict, closed=True):
    command: "capo_cloudextensions.types.string_1_512.String_1_512"
    """The command to execute."""
    args: NotRequired["capo_cloudextensions.types.arg_list.ArgList"]
    """Arguments passed to the command."""
    timeout_in_seconds: NotRequired[
        "capo_cloudextensions.types.integer_1_10.Integer_1_10"
    ]
    """Maximum time in seconds the command is allowed to run before being terminated."""

args instance-attribute

args: NotRequired[ArgList]

Arguments passed to the command.

command instance-attribute

command: String_1_512

The command to execute.

timeout_in_seconds instance-attribute

timeout_in_seconds: NotRequired[Integer_1_10]

Maximum time in seconds the command is allowed to run before being terminated.