NodeLifecycleActions
The lifecycle actions configured on a compute node group. Lifecycle actions define scripts that AWS PCS runs on compute nodes at specific stages of their lifecycle.
Contents
- stages
-
The lifecycle stages where you configure scripts to run.
Type: NodeLifecycleStages object
Required: Yes
- 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.
Type: String
Valid Values:
CACHE_ONCE | REFRESH_ON_REBOOTRequired: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: