Class: AWSCDK::Bedrock::CfnFlow::FlowDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::FlowDefinitionProperty
- Defined in:
- bedrock/cfn_flow.rb
Overview
The definition of the nodes and connections between nodes in the flow.
Instance Attribute Summary collapse
-
#connections ⇒ AWSCDK::IResolvable, ...
readonly
An array of connection definitions in the flow.
-
#nodes ⇒ AWSCDK::IResolvable, ...
readonly
An array of node definitions in the flow.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connections: nil, nodes: nil) ⇒ FlowDefinitionProperty
constructor
A new instance of FlowDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connections: nil, nodes: nil) ⇒ FlowDefinitionProperty
Returns a new instance of FlowDefinitionProperty.
1047 1048 1049 1050 1051 1052 |
# File 'bedrock/cfn_flow.rb', line 1047 def initialize(connections: nil, nodes: nil) @connections = connections Jsii::Type.check_type(@connections, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5GbG93LkZsb3dDb25uZWN0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "connections") unless @connections.nil? @nodes = nodes Jsii::Type.check_type(@nodes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5GbG93LkZsb3dOb2RlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "nodes") unless @nodes.nil? end |
Instance Attribute Details
#connections ⇒ AWSCDK::IResolvable, ... (readonly)
An array of connection definitions in the flow.
1058 1059 1060 |
# File 'bedrock/cfn_flow.rb', line 1058 def connections @connections end |
#nodes ⇒ AWSCDK::IResolvable, ... (readonly)
An array of node definitions in the flow.
1063 1064 1065 |
# File 'bedrock/cfn_flow.rb', line 1063 def nodes @nodes end |
Class Method Details
.jsii_properties ⇒ Object
1065 1066 1067 1068 1069 1070 |
# File 'bedrock/cfn_flow.rb', line 1065 def self.jsii_properties { :connections => "connections", :nodes => "nodes", } end |
Instance Method Details
#to_jsii ⇒ Object
1072 1073 1074 1075 1076 1077 1078 1079 |
# File 'bedrock/cfn_flow.rb', line 1072 def to_jsii result = {} result.merge!({ "connections" => @connections, "nodes" => @nodes, }) result.compact end |