View a markdown version of this page

AWS::PCS::ComputeNodeGroup NodeLifecycleActions - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::PCS::ComputeNodeGroup NodeLifecycleActions

The lifecycle actions configured on a compute node group. Lifecycle actions define scripts that Amazon PCS runs on compute nodes at specific stages of their lifecycle.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

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_REBOOT

Update requires: No interruption

Stages

The lifecycle stages where you configure scripts to run.

Required: Yes

Type: NodeLifecycleStages

Update requires: No interruption