Class: AWSCDK::Bedrock::CfnFlowVersion::FlowDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowVersion::FlowDefinitionProperty
- Defined in:
- bedrock/cfn_flow_version.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.
920 921 922 923 924 925 |
# File 'bedrock/cfn_flow_version.rb', line 920 def initialize(connections: nil, nodes: nil) @connections = connections Jsii::Type.check_type(@connections, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5GbG93VmVyc2lvbi5GbG93Q29ubmVjdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "connections") unless @connections.nil? @nodes = nodes Jsii::Type.check_type(@nodes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5GbG93VmVyc2lvbi5GbG93Tm9kZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "nodes") unless @nodes.nil? end |
Instance Attribute Details
#connections ⇒ AWSCDK::IResolvable, ... (readonly)
An array of connection definitions in the flow.
931 932 933 |
# File 'bedrock/cfn_flow_version.rb', line 931 def connections @connections end |
#nodes ⇒ AWSCDK::IResolvable, ... (readonly)
An array of node definitions in the flow.
936 937 938 |
# File 'bedrock/cfn_flow_version.rb', line 936 def nodes @nodes end |
Class Method Details
.jsii_properties ⇒ Object
938 939 940 941 942 943 |
# File 'bedrock/cfn_flow_version.rb', line 938 def self.jsii_properties { :connections => "connections", :nodes => "nodes", } end |
Instance Method Details
#to_jsii ⇒ Object
945 946 947 948 949 950 951 952 |
# File 'bedrock/cfn_flow_version.rb', line 945 def to_jsii result = {} result.merge!({ "connections" => @connections, "nodes" => @nodes, }) result.compact end |