Skip to content
v2.278.0

SlurmConfigurationProperty Struct ​

The Slurm configuration for the queue.

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 slurmConfigurationProperty: pcs.CfnQueue.SlurmConfigurationProperty = {
  slurmCustomSettings: [{
    parameterName: 'parameterName',
    parameterValue: 'parameterValue',
  }],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pcs as pcs

slurm_configuration_property = pcs.CfnQueue.SlurmConfigurationProperty(
    slurm_custom_settings=[pcs.CfnQueue.SlurmCustomSettingProperty(
        parameter_name="parameterName",
        parameter_value="parameterValue"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pcs.*;

SlurmConfigurationProperty slurmConfigurationProperty = SlurmConfigurationProperty.builder()
        .slurmCustomSettings(List.of(SlurmCustomSettingProperty.builder()
                .parameterName("parameterName")
                .parameterValue("parameterValue")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.PCS;

var slurmConfigurationProperty = new SlurmConfigurationProperty {
    SlurmCustomSettings = new [] { new SlurmCustomSettingProperty {
        ParameterName = "parameterName",
        ParameterValue = "parameterValue"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

slurmConfigurationProperty := &SlurmConfigurationProperty{
	SlurmCustomSettings: []interface{}{
		&SlurmCustomSettingProperty{
			ParameterName: jsii.String("parameterName"),
			ParameterValue: jsii.String("parameterValue"),
		},
	},
}

Properties ​

slurmCustomSettingsoptionalIResolvable | IResolvable | CfnQueue.SlurmCustomSettingProperty[]slurm_custom_settingsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SlurmCustomSettingProperty]]]slurmCustomSettingsoptionalIResolvableSlurmCustomSettingsoptionalIResolvableSlurmCustomSettingsoptionalinterface{} #
Custom Slurm parameters that directly map to Slurm configuration settings.