Class: AWSCDK::Bedrock::CfnFlow::FlowNodeOutputProperty

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

Overview

Contains configurations for an output from a node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, type:) ⇒ FlowNodeOutputProperty

Returns a new instance of FlowNodeOutputProperty.

Parameters:

  • name (String)

    A name for the output that you can reference.

  • type (String)

    The data type of the output.



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

#nameString (readonly)

A name for the output that you can reference.



1385
1386
1387
# File 'bedrock/cfn_flow.rb', line 1385

def name
  @name
end

#typeString (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_propertiesObject



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_jsiiObject



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