interface NodeLifecycleStagesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.PCS.CfnComputeNodeGroup.NodeLifecycleStagesProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspcs#CfnComputeNodeGroup_NodeLifecycleStagesProperty |
Java | software.amazon.awscdk.services.pcs.CfnComputeNodeGroup.NodeLifecycleStagesProperty |
Python | aws_cdk.aws_pcs.CfnComputeNodeGroup.NodeLifecycleStagesProperty |
TypeScript | aws-cdk-lib » aws_pcs » CfnComputeNodeGroup » NodeLifecycleStagesProperty |
The ordered scripts to run at each compute node lifecycle stage.
Example
// 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
| Name | Type | Description |
|---|---|---|
| node | IResolvable | (IResolvable | Node)[] | Scripts to run after the node is bootstrapped, once the PCS configuration phase completes and before slurmd starts. |
| node | IResolvable | (IResolvable | Node)[] | Scripts to execute when the node becomes ready (every boot). |
nodeBootstrapped?
Type:
IResolvable | (IResolvable | Node)[]
(optional)
Scripts to run after the node is bootstrapped, once the PCS configuration phase completes and before slurmd starts.
nodeReady?
Type:
IResolvable | (IResolvable | Node)[]
(optional)
Scripts to execute when the node becomes ready (every boot).

.NET
Go
Java
Python
TypeScript