Class: AWSCDK::BedrockAgentCore::CfnMemory::NumberValidationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnMemory::NumberValidationProperty
- Defined in:
- bedrock_agent_core/cfn_memory.rb
Overview
Instance Attribute Summary collapse
- #max_value ⇒ Numeric? readonly
- #min_value ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_value: nil, min_value: nil) ⇒ NumberValidationProperty
constructor
A new instance of NumberValidationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max_value: nil, min_value: nil) ⇒ NumberValidationProperty
Returns a new instance of NumberValidationProperty.
1652 1653 1654 1655 1656 1657 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1652 def initialize(max_value: nil, min_value: nil) @max_value = max_value Jsii::Type.check_type(@max_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxValue") unless @max_value.nil? @min_value = min_value Jsii::Type.check_type(@min_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minValue") unless @min_value.nil? end |
Instance Attribute Details
#max_value ⇒ Numeric? (readonly)
1661 1662 1663 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1661 def max_value @max_value end |
#min_value ⇒ Numeric? (readonly)
1664 1665 1666 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1664 def min_value @min_value end |
Class Method Details
.jsii_properties ⇒ Object
1666 1667 1668 1669 1670 1671 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1666 def self.jsii_properties { :max_value => "maxValue", :min_value => "minValue", } end |
Instance Method Details
#to_jsii ⇒ Object
1673 1674 1675 1676 1677 1678 1679 1680 |
# File 'bedrock_agent_core/cfn_memory.rb', line 1673 def to_jsii result = {} result.merge!({ "maxValue" => @max_value, "minValue" => @min_value, }) result.compact end |