Class: AWSCDK::IoT::CfnCommand::CommandParameterValueNumberRangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnCommand::CommandParameterValueNumberRangeProperty
- Defined in:
- io_t/cfn_command.rb
Overview
Instance Attribute Summary collapse
- #max ⇒ String readonly
- #min ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max:, min:) ⇒ CommandParameterValueNumberRangeProperty
constructor
A new instance of CommandParameterValueNumberRangeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max:, min:) ⇒ CommandParameterValueNumberRangeProperty
Returns a new instance of CommandParameterValueNumberRangeProperty.
903 904 905 906 907 908 |
# File 'io_t/cfn_command.rb', line 903 def initialize(max:, min:) @max = max Jsii::Type.check_type(@max, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "max") @min = min Jsii::Type.check_type(@min, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "min") end |
Instance Attribute Details
#max ⇒ String (readonly)
912 913 914 |
# File 'io_t/cfn_command.rb', line 912 def max @max end |
#min ⇒ String (readonly)
915 916 917 |
# File 'io_t/cfn_command.rb', line 915 def min @min end |
Class Method Details
.jsii_properties ⇒ Object
917 918 919 920 921 922 |
# File 'io_t/cfn_command.rb', line 917 def self.jsii_properties { :max => "max", :min => "min", } end |
Instance Method Details
#to_jsii ⇒ Object
924 925 926 927 928 929 930 931 |
# File 'io_t/cfn_command.rb', line 924 def to_jsii result = {} result.merge!({ "max" => @max, "min" => @min, }) result.compact end |