Skip to content

UpdateNodeLifecycleActionsRequest

Source code in docs_src/capo_pcs/types/update_node_lifecycle_actions_request.py
class UpdateNodeLifecycleActionsRequest(TypedDict, closed=True):
    stages: "capo_pcs.types.node_lifecycle_stages.NodeLifecycleStages"
    """<p>The lifecycle stages where you configure scripts to run.</p>"""
    script_caching_policy: "capo_pcs.types.script_caching_policy.ScriptCachingPolicy"
    """<p>The caching policy for node lifecycle scripts. The default value is <code>CACHE_ONCE</code>. Valid values:</p> <ul> <li> <p> <code>CACHE_ONCE</code> – Downloads each script once and reuses it on subsequent boots.</p> </li> <li> <p> <code>REFRESH_ON_REBOOT</code> – Downloads each script on every boot.</p> </li> </ul>"""

script_caching_policy instance-attribute

script_caching_policy: ScriptCachingPolicy

The caching policy for node lifecycle scripts. The default value is CACHE_ONCE. Valid values:

  • CACHE_ONCE – Downloads each script once and reuses it on subsequent boots.

  • REFRESH_ON_REBOOT – Downloads each script on every boot.

stages instance-attribute

The lifecycle stages where you configure scripts to run.