This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::PCS::ComputeNodeGroup 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.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "ScriptCachingPolicy" :String, "Stages" :NodeLifecycleStages}
YAML
ScriptCachingPolicy:StringStages:NodeLifecycleStages
Properties
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.
Required: No
Type: String
Allowed values:
CACHE_ONCE | REFRESH_ON_REBOOTUpdate requires: No interruption
-
Stages-
The lifecycle stages where you configure scripts to run.
Required: Yes
Type: NodeLifecycleStages
Update requires: No interruption