Class: AWSCDK::Bedrock::CfnFlowVersion::FlowConnectionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowVersion::FlowConnectionProperty
- Defined in:
- bedrock/cfn_flow_version.rb
Overview
Contains information about a connection between two nodes in the flow.
Instance Attribute Summary collapse
-
#configuration ⇒ AWSCDK::IResolvable, ...
readonly
The configuration of the connection.
-
#name ⇒ String
readonly
A name for the connection that you can reference.
-
#source ⇒ String
readonly
The node that the connection starts at.
-
#target ⇒ String
readonly
The node that the connection ends at.
-
#type ⇒ String
readonly
Whether the source node that the connection begins from is a condition node (
Conditional) or not (Data).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, source:, target:, type:, configuration: nil) ⇒ FlowConnectionProperty
constructor
A new instance of FlowConnectionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, source:, target:, type:, configuration: nil) ⇒ FlowConnectionProperty
Returns a new instance of FlowConnectionProperty.
807 808 809 810 811 812 813 814 815 816 817 818 |
# File 'bedrock/cfn_flow_version.rb', line 807 def initialize(name:, source:, target:, type:, configuration: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @source = source Jsii::Type.check_type(@source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "source") @target = target Jsii::Type.check_type(@target, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "target") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @configuration = configuration.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnFlowVersion::FlowConnectionConfigurationProperty.new(**configuration.transform_keys(&:to_sym)) : configuration Jsii::Type.check_type(@configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkZsb3dWZXJzaW9uLkZsb3dDb25uZWN0aW9uQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "configuration") unless @configuration.nil? end |
Instance Attribute Details
#configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration of the connection.
844 845 846 |
# File 'bedrock/cfn_flow_version.rb', line 844 def configuration @configuration end |
#name ⇒ String (readonly)
A name for the connection that you can reference.
824 825 826 |
# File 'bedrock/cfn_flow_version.rb', line 824 def name @name end |
#source ⇒ String (readonly)
The node that the connection starts at.
829 830 831 |
# File 'bedrock/cfn_flow_version.rb', line 829 def source @source end |
#target ⇒ String (readonly)
The node that the connection ends at.
834 835 836 |
# File 'bedrock/cfn_flow_version.rb', line 834 def target @target end |
#type ⇒ String (readonly)
Whether the source node that the connection begins from is a condition node ( Conditional ) or not ( Data ).
839 840 841 |
# File 'bedrock/cfn_flow_version.rb', line 839 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
846 847 848 849 850 851 852 853 854 |
# File 'bedrock/cfn_flow_version.rb', line 846 def self.jsii_properties { :name => "name", :source => "source", :target => "target", :type => "type", :configuration => "configuration", } end |
Instance Method Details
#to_jsii ⇒ Object
856 857 858 859 860 861 862 863 864 865 866 |
# File 'bedrock/cfn_flow_version.rb', line 856 def to_jsii result = {} result.merge!({ "name" => @name, "source" => @source, "target" => @target, "type" => @type, "configuration" => @configuration, }) result.compact end |