Class: AWSCDK::PCS::CfnCluster::CgroupCustomSettingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCS::CfnCluster::CgroupCustomSettingProperty
- Defined in:
- pcs/cfn_cluster.rb
Overview
Additional cgroup configuration settings.
Instance Attribute Summary collapse
-
#parameter_name ⇒ String
readonly
The cgroup.conf parameter name.
-
#parameter_value ⇒ String
readonly
The value for the cgroup.conf parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parameter_name:, parameter_value:) ⇒ CgroupCustomSettingProperty
constructor
A new instance of CgroupCustomSettingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(parameter_name:, parameter_value:) ⇒ CgroupCustomSettingProperty
Returns a new instance of CgroupCustomSettingProperty.
717 718 719 720 721 722 |
# File 'pcs/cfn_cluster.rb', line 717 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)
The cgroup.conf parameter name.
728 729 730 |
# File 'pcs/cfn_cluster.rb', line 728 def parameter_name @parameter_name end |
#parameter_value ⇒ String (readonly)
The value for the cgroup.conf parameter.
733 734 735 |
# File 'pcs/cfn_cluster.rb', line 733 def parameter_value @parameter_value end |
Class Method Details
.jsii_properties ⇒ Object
735 736 737 738 739 740 |
# File 'pcs/cfn_cluster.rb', line 735 def self.jsii_properties { :parameter_name => "parameterName", :parameter_value => "parameterValue", } end |
Instance Method Details
#to_jsii ⇒ Object
742 743 744 745 746 747 748 749 |
# File 'pcs/cfn_cluster.rb', line 742 def to_jsii result = {} result.merge!({ "parameterName" => @parameter_name, "parameterValue" => @parameter_value, }) result.compact end |