View a markdown version of this page

NodeLifecycleActionsRequest - AWS PCS

NodeLifecycleActionsRequest

The lifecycle actions to configure on a compute node group when you create it. 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_REBOOT

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: