Class: AWSCDK::Bedrock::CfnFlow::FlowDataConnectionConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_flow.rb

Overview

The configuration of a connection originating from a node that isn't a Condition node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_output:, target_input:) ⇒ FlowDataConnectionConfigurationProperty

Returns a new instance of FlowDataConnectionConfigurationProperty.

Parameters:

  • source_output (String)

    The name of the output in the source node that the connection begins from.

  • target_input (String)

    The name of the input in the target node that the connection ends at.



1004
1005
1006
1007
1008
1009
# File 'bedrock/cfn_flow.rb', line 1004

def initialize(source_output:, target_input:)
  @source_output = source_output
  Jsii::Type.check_type(@source_output, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceOutput")
  @target_input = target_input
  Jsii::Type.check_type(@target_input, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetInput")
end

Instance Attribute Details

#source_outputString (readonly)

The name of the output in the source node that the connection begins from.



1015
1016
1017
# File 'bedrock/cfn_flow.rb', line 1015

def source_output
  @source_output
end

#target_inputString (readonly)

The name of the input in the target node that the connection ends at.



1020
1021
1022
# File 'bedrock/cfn_flow.rb', line 1020

def target_input
  @target_input
end

Class Method Details

.jsii_propertiesObject



1022
1023
1024
1025
1026
1027
# File 'bedrock/cfn_flow.rb', line 1022

def self.jsii_properties
  {
    :source_output => "sourceOutput",
    :target_input => "targetInput",
  }
end

Instance Method Details

#to_jsiiObject



1029
1030
1031
1032
1033
1034
1035
1036
# File 'bedrock/cfn_flow.rb', line 1029

def to_jsii
  result = {}
  result.merge!({
    "sourceOutput" => @source_output,
    "targetInput" => @target_input,
  })
  result.compact
end