Class: AWSCDK::Bedrock::CfnFlow::LoopControllerFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::LoopControllerFlowNodeConfigurationProperty
- Defined in:
- bedrock/cfn_flow.rb
Overview
Contains configurations for the controller node of a DoWhile loop in the flow.
Instance Attribute Summary collapse
-
#continue_condition ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlow::FlowConditionProperty
readonly
Specifies the condition that determines when the flow exits the DoWhile loop.
-
#max_iterations ⇒ Numeric?
readonly
Specifies the maximum number of times the DoWhile loop can iterate before the flow exits the loop.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(continue_condition:, max_iterations: nil) ⇒ LoopControllerFlowNodeConfigurationProperty
constructor
A new instance of LoopControllerFlowNodeConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(continue_condition:, max_iterations: nil) ⇒ LoopControllerFlowNodeConfigurationProperty
Returns a new instance of LoopControllerFlowNodeConfigurationProperty.
1907 1908 1909 1910 1911 1912 |
# File 'bedrock/cfn_flow.rb', line 1907 def initialize(continue_condition:, max_iterations: nil) @continue_condition = continue_condition.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnFlow::FlowConditionProperty.new(**continue_condition.transform_keys(&:to_sym)) : continue_condition Jsii::Type.check_type(@continue_condition, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkZsb3cuRmxvd0NvbmRpdGlvblByb3BlcnR5In1dfX0=")), "continueCondition") @max_iterations = max_iterations Jsii::Type.check_type(@max_iterations, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxIterations") unless @max_iterations.nil? end |
Instance Attribute Details
#continue_condition ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlow::FlowConditionProperty (readonly)
Specifies the condition that determines when the flow exits the DoWhile loop.
The loop executes until this condition evaluates to true.
1920 1921 1922 |
# File 'bedrock/cfn_flow.rb', line 1920 def continue_condition @continue_condition end |
#max_iterations ⇒ Numeric? (readonly)
Note:
Default: - 10
Specifies the maximum number of times the DoWhile loop can iterate before the flow exits the loop.
1926 1927 1928 |
# File 'bedrock/cfn_flow.rb', line 1926 def max_iterations @max_iterations end |
Class Method Details
.jsii_properties ⇒ Object
1928 1929 1930 1931 1932 1933 |
# File 'bedrock/cfn_flow.rb', line 1928 def self.jsii_properties { :continue_condition => "continueCondition", :max_iterations => "maxIterations", } end |
Instance Method Details
#to_jsii ⇒ Object
1935 1936 1937 1938 1939 1940 1941 1942 |
# File 'bedrock/cfn_flow.rb', line 1935 def to_jsii result = {} result.merge!({ "continueCondition" => @continue_condition, "maxIterations" => @max_iterations, }) result.compact end |