Class: AWSCDK::Bedrock::CfnFlow::FlowConditionalConnectionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::FlowConditionalConnectionConfigurationProperty
- Defined in:
- bedrock/cfn_flow.rb
Overview
The configuration of a connection between a condition node and another node.
Instance Attribute Summary collapse
-
#condition ⇒ String
readonly
The condition that triggers this connection.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(condition:) ⇒ FlowConditionalConnectionConfigurationProperty
constructor
A new instance of FlowConditionalConnectionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(condition:) ⇒ FlowConditionalConnectionConfigurationProperty
Returns a new instance of FlowConditionalConnectionConfigurationProperty.
852 853 854 855 |
# File 'bedrock/cfn_flow.rb', line 852 def initialize(condition:) @condition = condition Jsii::Type.check_type(@condition, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "condition") end |
Instance Attribute Details
#condition ⇒ String (readonly)
The condition that triggers this connection.
For more information about how to write conditions, see the Condition node type in the Node types topic in the Amazon Bedrock User Guide.
863 864 865 |
# File 'bedrock/cfn_flow.rb', line 863 def condition @condition end |
Class Method Details
.jsii_properties ⇒ Object
865 866 867 868 869 |
# File 'bedrock/cfn_flow.rb', line 865 def self.jsii_properties { :condition => "condition", } end |
Instance Method Details
#to_jsii ⇒ Object
871 872 873 874 875 876 877 |
# File 'bedrock/cfn_flow.rb', line 871 def to_jsii result = {} result.merge!({ "condition" => @condition, }) result.compact end |