Class: AWSCDK::Bedrock::CfnFlow::FlowNodeOutputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::FlowNodeOutputProperty
- Defined in:
- bedrock/cfn_flow.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.
1374 1375 1376 1377 1378 1379 |
# File 'bedrock/cfn_flow.rb', line 1374 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.
1385 1386 1387 |
# File 'bedrock/cfn_flow.rb', line 1385 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.
1392 1393 1394 |
# File 'bedrock/cfn_flow.rb', line 1392 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1394 1395 1396 1397 1398 1399 |
# File 'bedrock/cfn_flow.rb', line 1394 def self.jsii_properties { :name => "name", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1401 1402 1403 1404 1405 1406 1407 1408 |
# File 'bedrock/cfn_flow.rb', line 1401 def to_jsii result = {} result.merge!({ "name" => @name, "type" => @type, }) result.compact end |