interface NodeLifecycleStagesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.PCS.CfnComputeNodeGroupPropsMixin.NodeLifecycleStagesProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awspcs#CfnComputeNodeGroupPropsMixin_NodeLifecycleStagesProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnComputeNodeGroupPropsMixin.NodeLifecycleStagesProperty |
Python | aws_cdk.cfn_property_mixins.aws_pcs.CfnComputeNodeGroupPropsMixin.NodeLifecycleStagesProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_pcs » CfnComputeNodeGroupPropsMixin » 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/cfn-property-mixins';
const nodeLifecycleStagesProperty: pcs.CfnComputeNodeGroupPropsMixin.NodeLifecycleStagesProperty = {
nodeBootstrapped: [{
arguments: ['arguments'],
executionPolicy: 'executionPolicy',
name: 'name',
onError: 'onError',
scriptSource: {
checksum: 'checksum',
s3VersionId: 's3VersionId',
scriptLocation: 'scriptLocation',
},
}],
nodeReady: [{
arguments: ['arguments'],
executionPolicy: 'executionPolicy',
name: 'name',
onError: 'onError',
scriptSource: {
checksum: 'checksum',
s3VersionId: 's3VersionId',
scriptLocation: 'scriptLocation',
},
}],
};
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