Class: Aws::PCS::Types::NodeLifecycleActionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb

Overview

The lifecycle actions to configure on a compute node group when you create it. Lifecycle actions define scripts that PCS runs on compute nodes at specific stages of their lifecycle.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#script_caching_policyString

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.

Returns:

  • (String)


1627
1628
1629
1630
1631
1632
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 1627

class NodeLifecycleActionsRequest < Struct.new(
  :stages,
  :script_caching_policy)
  SENSITIVE = []
  include Aws::Structure
end

#stagesTypes::NodeLifecycleStages

The lifecycle stages where you configure scripts to run.



1627
1628
1629
1630
1631
1632
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 1627

class NodeLifecycleActionsRequest < Struct.new(
  :stages,
  :script_caching_policy)
  SENSITIVE = []
  include Aws::Structure
end