Class: AWSCDK::Bedrock::CfnFlow::ConditionFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::ConditionFlowNodeConfigurationProperty
- Defined in:
- bedrock/cfn_flow.rb
Overview
Defines a condition node in your flow.
You can specify conditions that determine which node comes next in the flow. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
Instance Attribute Summary collapse
-
#conditions ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlow::FlowConditionProperty>
readonly
An array of conditions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(conditions:) ⇒ ConditionFlowNodeConfigurationProperty
constructor
A new instance of ConditionFlowNodeConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(conditions:) ⇒ ConditionFlowNodeConfigurationProperty
Returns a new instance of ConditionFlowNodeConfigurationProperty.
737 738 739 740 |
# File 'bedrock/cfn_flow.rb', line 737 def initialize(conditions:) @conditions = conditions Jsii::Type.check_type(@conditions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5GbG93LkZsb3dDb25kaXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "conditions") end |
Instance Attribute Details
#conditions ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlow::FlowConditionProperty> (readonly)
An array of conditions.
Each member contains the name of a condition and an expression that defines the condition.
748 749 750 |
# File 'bedrock/cfn_flow.rb', line 748 def conditions @conditions end |
Class Method Details
.jsii_properties ⇒ Object
750 751 752 753 754 |
# File 'bedrock/cfn_flow.rb', line 750 def self.jsii_properties { :conditions => "conditions", } end |
Instance Method Details
#to_jsii ⇒ Object
756 757 758 759 760 761 762 |
# File 'bedrock/cfn_flow.rb', line 756 def to_jsii result = {} result.merge!({ "conditions" => @conditions, }) result.compact end |