Class: AWSCDK::PCS::CfnCluster::SchedulerProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCS::CfnCluster::SchedulerProperty
- Defined in:
- pcs/cfn_cluster.rb
Overview
The cluster management and job scheduling software associated with the cluster.
Instance Attribute Summary collapse
-
#type ⇒ String
readonly
The software AWS PCS uses to manage cluster scaling and job scheduling.
-
#version ⇒ String
readonly
The version of the specified scheduling software that AWS PCS uses to manage cluster scaling and job scheduling.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, version:) ⇒ SchedulerProperty
constructor
A new instance of SchedulerProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, version:) ⇒ SchedulerProperty
Returns a new instance of SchedulerProperty.
1036 1037 1038 1039 1040 1041 |
# File 'pcs/cfn_cluster.rb', line 1036 def initialize(type:, version:) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") end |
Instance Attribute Details
#type ⇒ String (readonly)
The software AWS PCS uses to manage cluster scaling and job scheduling.
1047 1048 1049 |
# File 'pcs/cfn_cluster.rb', line 1047 def type @type end |
#version ⇒ String (readonly)
The version of the specified scheduling software that AWS PCS uses to manage cluster scaling and job scheduling.
For more information, see Slurm versions in AWS PCS in the AWS PCS User Guide .
Valid Values: 23.11 | 24.05 | 24.11
1056 1057 1058 |
# File 'pcs/cfn_cluster.rb', line 1056 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
1058 1059 1060 1061 1062 1063 |
# File 'pcs/cfn_cluster.rb', line 1058 def self.jsii_properties { :type => "type", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
1065 1066 1067 1068 1069 1070 1071 1072 |
# File 'pcs/cfn_cluster.rb', line 1065 def to_jsii result = {} result.merge!({ "type" => @type, "version" => @version, }) result.compact end |