Class: AWSCDK::Bedrock::CfnFlowVersion::FlowNodeOutputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowVersion::FlowNodeOutputProperty
- Defined in:
- bedrock/cfn_flow_version.rb
Overview
Contains configurations for an output from a node.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
A name for the output that you can reference.
-
#type ⇒ String
readonly
The data type of the output.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, type:) ⇒ FlowNodeOutputProperty
constructor
A new instance of FlowNodeOutputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, type:) ⇒ FlowNodeOutputProperty
Returns a new instance of FlowNodeOutputProperty.
1233 1234 1235 1236 1237 1238 |
# File 'bedrock/cfn_flow_version.rb', line 1233 def initialize(name:, type:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#name ⇒ String (readonly)
A name for the output that you can reference.
1244 1245 1246 |
# File 'bedrock/cfn_flow_version.rb', line 1244 def name @name end |
#type ⇒ String (readonly)
The data type of the output.
If the output doesn't match this type at runtime, a validation error will be thrown.
1251 1252 1253 |
# File 'bedrock/cfn_flow_version.rb', line 1251 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1253 1254 1255 1256 1257 1258 |
# File 'bedrock/cfn_flow_version.rb', line 1253 def self.jsii_properties { :name => "name", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1260 1261 1262 1263 1264 1265 1266 1267 |
# File 'bedrock/cfn_flow_version.rb', line 1260 def to_jsii result = {} result.merge!({ "name" => @name, "type" => @type, }) result.compact end |