Skip to content
v2.274.0

ClusterOrchestratorSlurmConfigProperty Struct ​

Specifies parameter(s) related to Slurm as orchestrator.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const clusterOrchestratorSlurmConfigProperty: sagemaker.CfnCluster.ClusterOrchestratorSlurmConfigProperty = {
  accountingDatabase: {
    endpoint: 'endpoint',
    secretArn: 'secretArn',

    // the properties below are optional
    name: 'name',
    port: 123,
  },
  slurmConfigStrategy: 'slurmConfigStrategy',
};

Properties ​

accountingDatabaseoptionalIResolvable | CfnCluster.ClusterAccountingDatabasePropertyaccounting_databaseoptionaltyping.Union[IResolvable, ClusterAccountingDatabaseProperty]accountingDatabaseoptionalIResolvableAccountingDatabaseoptionalIResolvableAccountingDatabaseoptionalinterface{}#
External MySQL-compatible accounting database that a Slurm cluster's slurmdbd connects to.

Database credentials are supplied out-of-band through the referenced Secrets Manager secret. Supported only with Continuous node provisioning.

slurmConfigStrategyoptionalstringslurm_config_strategyoptionalstrslurmConfigStrategyoptionalStringSlurmConfigStrategyoptionalstringSlurmConfigStrategyoptional*string#
The strategy for managing Slurm configuration on the cluster.