Class: AWSCDK::Bedrock::CfnFlowVersion::FlowNodeOutputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_flow_version.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.



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

#nameString (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

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



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_jsiiObject



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