MicrovmHooks
¶
Source code in docs_src/capo_lambda_microvms/types/microvm_hooks.py
resume
instance-attribute
¶
resume: HookState
The path of the hook invoked when the MicroVM resumes from a suspended state.
resume_timeout_in_seconds
instance-attribute
¶
resume_timeout_in_seconds: int
The maximum time in seconds for the resume hook to complete.
run
instance-attribute
¶
run: HookState
The path of the hook invoked when the MicroVM starts running.
run_timeout_in_seconds
instance-attribute
¶
run_timeout_in_seconds: int
The maximum time in seconds for the run hook to complete.
suspend
instance-attribute
¶
suspend: HookState
The path of the hook invoked when the MicroVM is suspended.
suspend_timeout_in_seconds
instance-attribute
¶
suspend_timeout_in_seconds: int
The maximum time in seconds for the suspend hook to complete.