Class: AWSCDK::PCS::CfnCluster::SlurmCustomSettingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCS::CfnCluster::SlurmCustomSettingProperty
- Defined in:
- pcs/cfn_cluster.rb
Overview
Additional settings that directly map to Slurm settings.
AWS PCS supports a subset of Slurm settings. For more information, see Configuring custom Slurm settings in AWS PCS in the AWS PCS User Guide .
Instance Attribute Summary collapse
-
#parameter_name ⇒ String
readonly
AWS PCS supports custom Slurm settings for clusters, compute node groups, and queues.
-
#parameter_value ⇒ String
readonly
The values for the configured Slurm settings.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parameter_name:, parameter_value:) ⇒ SlurmCustomSettingProperty
constructor
A new instance of SlurmCustomSettingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(parameter_name:, parameter_value:) ⇒ SlurmCustomSettingProperty
Returns a new instance of SlurmCustomSettingProperty.
1190 1191 1192 1193 1194 1195 |
# File 'pcs/cfn_cluster.rb', line 1190 def initialize(parameter_name:, parameter_value:) @parameter_name = parameter_name Jsii::Type.check_type(@parameter_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterName") @parameter_value = parameter_value Jsii::Type.check_type(@parameter_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterValue") end |
Instance Attribute Details
#parameter_name ⇒ String (readonly)
AWS PCS supports custom Slurm settings for clusters, compute node groups, and queues.
For more information, see Configuring custom Slurm settings in AWS PCS in the AWS PCS User Guide .
1203 1204 1205 |
# File 'pcs/cfn_cluster.rb', line 1203 def parameter_name @parameter_name end |
#parameter_value ⇒ String (readonly)
The values for the configured Slurm settings.
1208 1209 1210 |
# File 'pcs/cfn_cluster.rb', line 1208 def parameter_value @parameter_value end |
Class Method Details
.jsii_properties ⇒ Object
1210 1211 1212 1213 1214 1215 |
# File 'pcs/cfn_cluster.rb', line 1210 def self.jsii_properties { :parameter_name => "parameterName", :parameter_value => "parameterValue", } end |
Instance Method Details
#to_jsii ⇒ Object
1217 1218 1219 1220 1221 1222 1223 1224 |
# File 'pcs/cfn_cluster.rb', line 1217 def to_jsii result = {} result.merge!({ "parameterName" => @parameter_name, "parameterValue" => @parameter_value, }) result.compact end |