Skip to content

/AWS1/CL_LMVMICROVMHOOKS

Configuration for lifecycle hooks invoked during MicroVM events such as run, resume, suspend, and terminate.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_run TYPE /AWS1/LMVHOOKSTATE /AWS1/LMVHOOKSTATE

The path of the hook invoked when the MicroVM starts running.

iv_runtimeoutinseconds TYPE /AWS1/LMVINTEGER /AWS1/LMVINTEGER

The maximum time in seconds for the run hook to complete.

iv_resume TYPE /AWS1/LMVHOOKSTATE /AWS1/LMVHOOKSTATE

The path of the hook invoked when the MicroVM resumes from a suspended state.

iv_resumetimeoutinseconds TYPE /AWS1/LMVINTEGER /AWS1/LMVINTEGER

The maximum time in seconds for the resume hook to complete.

iv_suspend TYPE /AWS1/LMVHOOKSTATE /AWS1/LMVHOOKSTATE

The path of the hook invoked when the MicroVM is suspended.

iv_suspendtimeoutinseconds TYPE /AWS1/LMVINTEGER /AWS1/LMVINTEGER

The maximum time in seconds for the suspend hook to complete.

iv_terminate TYPE /AWS1/LMVHOOKSTATE /AWS1/LMVHOOKSTATE

The path of the hook invoked when the MicroVM is terminated.

iv_terminatetimeoutinseconds TYPE /AWS1/LMVINTEGER /AWS1/LMVINTEGER

The maximum time in seconds for the terminate hook to complete.


Queryable Attributes

run

The path of the hook invoked when the MicroVM starts running.

Accessible with the following methods

Method Description
GET_RUN() Getter for RUN, with configurable default
ASK_RUN() Getter for RUN w/ exceptions if field has no value
HAS_RUN() Determine if RUN has a value

runTimeoutInSeconds

The maximum time in seconds for the run hook to complete.

Accessible with the following methods

Method Description
GET_RUNTIMEOUTINSECONDS() Getter for RUNTIMEOUTINSECONDS, with configurable default
ASK_RUNTIMEOUTINSECONDS() Getter for RUNTIMEOUTINSECONDS w/ exceptions if field has no
HAS_RUNTIMEOUTINSECONDS() Determine if RUNTIMEOUTINSECONDS has a value

resume

The path of the hook invoked when the MicroVM resumes from a suspended state.

Accessible with the following methods

Method Description
GET_RESUME() Getter for RESUME, with configurable default
ASK_RESUME() Getter for RESUME w/ exceptions if field has no value
HAS_RESUME() Determine if RESUME has a value

resumeTimeoutInSeconds

The maximum time in seconds for the resume hook to complete.

Accessible with the following methods

Method Description
GET_RESUMETIMEOUTINSECONDS() Getter for RESUMETIMEOUTINSECONDS, with configurable default
ASK_RESUMETIMEOUTINSECONDS() Getter for RESUMETIMEOUTINSECONDS w/ exceptions if field has
HAS_RESUMETIMEOUTINSECONDS() Determine if RESUMETIMEOUTINSECONDS has a value

suspend

The path of the hook invoked when the MicroVM is suspended.

Accessible with the following methods

Method Description
GET_SUSPEND() Getter for SUSPEND, with configurable default
ASK_SUSPEND() Getter for SUSPEND w/ exceptions if field has no value
HAS_SUSPEND() Determine if SUSPEND has a value

suspendTimeoutInSeconds

The maximum time in seconds for the suspend hook to complete.

Accessible with the following methods

Method Description
GET_SUSPENDTIMEOUTINSECONDS() Getter for SUSPENDTIMEOUTINSECONDS, with configurable defaul
ASK_SUSPENDTIMEOUTINSECONDS() Getter for SUSPENDTIMEOUTINSECONDS w/ exceptions if field ha
HAS_SUSPENDTIMEOUTINSECONDS() Determine if SUSPENDTIMEOUTINSECONDS has a value

terminate

The path of the hook invoked when the MicroVM is terminated.

Accessible with the following methods

Method Description
GET_TERMINATE() Getter for TERMINATE, with configurable default
ASK_TERMINATE() Getter for TERMINATE w/ exceptions if field has no value
HAS_TERMINATE() Determine if TERMINATE has a value

terminateTimeoutInSeconds

The maximum time in seconds for the terminate hook to complete.

Accessible with the following methods

Method Description
GET_TERMTIMEOUTINSECONDS() Getter for TERMINATETIMEOUTINSECONDS, with configurable defa
ASK_TERMTIMEOUTINSECONDS() Getter for TERMINATETIMEOUTINSECONDS w/ exceptions if field
HAS_TERMTIMEOUTINSECONDS() Determine if TERMINATETIMEOUTINSECONDS has a value