Class: AWSCDK::Bedrock::CfnFlowVersion::ConditionFlowNodeConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_flow_version.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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(conditions:) ⇒ ConditionFlowNodeConfigurationProperty

Returns a new instance of ConditionFlowNodeConfigurationProperty.

Parameters:



610
611
612
613
# File 'bedrock/cfn_flow_version.rb', line 610

def initialize(conditions:)
  @conditions = conditions
  Jsii::Type.check_type(@conditions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5GbG93VmVyc2lvbi5GbG93Q29uZGl0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "conditions")
end

Instance Attribute Details

#conditionsAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlowVersion::FlowConditionProperty> (readonly)

An array of conditions.

Each member contains the name of a condition and an expression that defines the condition.



621
622
623
# File 'bedrock/cfn_flow_version.rb', line 621

def conditions
  @conditions
end

Class Method Details

.jsii_propertiesObject



623
624
625
626
627
# File 'bedrock/cfn_flow_version.rb', line 623

def self.jsii_properties
  {
    :conditions => "conditions",
  }
end

Instance Method Details

#to_jsiiObject



629
630
631
632
633
634
635
# File 'bedrock/cfn_flow_version.rb', line 629

def to_jsii
  result = {}
  result.merge!({
    "conditions" => @conditions,
  })
  result.compact
end