Class: AWSCDK::Bedrock::CfnFlowVersion::LoopControllerFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowVersion::LoopControllerFlowNodeConfigurationProperty
- Defined in:
- bedrock/cfn_flow_version.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::CfnFlowVersion::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.
1728 1729 1730 1731 1732 1733 |
# File 'bedrock/cfn_flow_version.rb', line 1728 def initialize(continue_condition:, max_iterations: nil) @continue_condition = continue_condition.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnFlowVersion::FlowConditionProperty.new(**continue_condition.transform_keys(&:to_sym)) : continue_condition Jsii::Type.check_type(@continue_condition, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkZsb3dWZXJzaW9uLkZsb3dDb25kaXRpb25Qcm9wZXJ0eSJ9XX19")), "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::CfnFlowVersion::FlowConditionProperty (readonly)
Specifies the condition that determines when the flow exits the DoWhile loop.
The loop executes until this condition evaluates to true.
1741 1742 1743 |
# File 'bedrock/cfn_flow_version.rb', line 1741 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.
1747 1748 1749 |
# File 'bedrock/cfn_flow_version.rb', line 1747 def max_iterations @max_iterations end |
Class Method Details
.jsii_properties ⇒ Object
1749 1750 1751 1752 1753 1754 |
# File 'bedrock/cfn_flow_version.rb', line 1749 def self.jsii_properties { :continue_condition => "continueCondition", :max_iterations => "maxIterations", } end |
Instance Method Details
#to_jsii ⇒ Object
1756 1757 1758 1759 1760 1761 1762 1763 |
# File 'bedrock/cfn_flow_version.rb', line 1756 def to_jsii result = {} result.merge!({ "continueCondition" => @continue_condition, "maxIterations" => @max_iterations, }) result.compact end |