Class: AWSCDK::StepFunctions::WriterConfigProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
step_functions/writer_config_props.rb

Overview

Interface for Writer Config props.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output_type:, transformation:) ⇒ WriterConfigProps

Returns a new instance of WriterConfigProps.

Parameters:



9
10
11
12
13
14
# File 'step_functions/writer_config_props.rb', line 9

def initialize(output_type:, transformation:)
  @output_type = output_type
  Jsii::Type.check_type(@output_type, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5PdXRwdXRUeXBlIn0=")), "outputType")
  @transformation = transformation
  Jsii::Type.check_type(@transformation, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5UcmFuc2Zvcm1hdGlvbiJ9")), "transformation")
end

Instance Attribute Details

#output_typeAWSCDK::StepFunctions::OutputType (readonly)

The format of the Output of the child workflow executions.



19
20
21
# File 'step_functions/writer_config_props.rb', line 19

def output_type
  @output_type
end

#transformationAWSCDK::StepFunctions::Transformation (readonly)

The transformation to be applied to the Output of the Child Workflow executions.



23
24
25
# File 'step_functions/writer_config_props.rb', line 23

def transformation
  @transformation
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'step_functions/writer_config_props.rb', line 25

def self.jsii_properties
  {
    :output_type => "outputType",
    :transformation => "transformation",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'step_functions/writer_config_props.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "outputType" => @output_type,
    "transformation" => @transformation,
  })
  result.compact
end