NodeLifecycleStagesProperty Struct
The ordered scripts to run at each compute node lifecycle stage.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from 'aws-cdk-lib';
const nodeLifecycleStagesProperty: pcs.CfnComputeNodeGroup.NodeLifecycleStagesProperty = {
nodeBootstrapped: [{
name: 'name',
scriptSource: {
scriptLocation: 'scriptLocation',
// the properties below are optional
checksum: 'checksum',
s3VersionId: 's3VersionId',
},
// the properties below are optional
arguments: ['arguments'],
executionPolicy: 'executionPolicy',
onError: 'onError',
}],
nodeReady: [{
name: 'name',
scriptSource: {
scriptLocation: 'scriptLocation',
// the properties below are optional
checksum: 'checksum',
s3VersionId: 's3VersionId',
},
// the properties below are optional
arguments: ['arguments'],
executionPolicy: 'executionPolicy',
onError: 'onError',
}],
};
Properties
nodeBootstrappedoptionalIResolvable | IResolvable | CfnComputeNodeGroup.NodeLifecycleScriptProperty[]node_bootstrappedoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NodeLifecycleScriptProperty]]]nodeBootstrappedoptionalIResolvableNodeBootstrappedoptionalIResolvableNodeBootstrappedoptionalinterface{}#Scripts to run after the node is bootstrapped, once the PCS configuration phase completes and before slurmd starts.
nodeReadyoptionalIResolvable | IResolvable | CfnComputeNodeGroup.NodeLifecycleScriptProperty[]node_readyoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NodeLifecycleScriptProperty]]]nodeReadyoptionalIResolvableNodeReadyoptionalIResolvableNodeReadyoptionalinterface{}#Scripts to execute when the node becomes ready (every boot).