Class: AWSCDK::StepFunctions::ItemBatcher

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

Overview

Configuration for processing a group of items in a single child workflow execution.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(props) ⇒ ItemBatcher

Returns a new instance of ItemBatcher.



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

def initialize(props)
  props = props.is_a?(Hash) ? ::AWSCDK::StepFunctions::ItemBatcherProps.new(**props.transform_keys(&:to_sym)) : props
  Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5JdGVtQmF0Y2hlclByb3BzIn0=")), "props")
  Jsii::Object.instance_method(:initialize).bind(self).call(props)
end

Class Method Details

.jsii_overridable_methodsObject



15
16
17
18
19
20
# File 'step_functions/item_batcher.rb', line 15

def self.jsii_overridable_methods
  {
    :render => { kind: :method, name: "render", is_optional: false },
    :validate_item_batcher => { kind: :method, name: "validateItemBatcher", is_optional: false },
  }
end

Instance Method Details

#renderObject

Render ItemBatcher in ASL JSON format.

Returns:

  • (Object)


25
26
27
# File 'step_functions/item_batcher.rb', line 25

def render()
  jsii_call_method("render", [])
end

#validate_item_batcherArray<String>

Validate this ItemBatcher.

Returns:

  • (Array<String>)


32
33
34
# File 'step_functions/item_batcher.rb', line 32

def validate_item_batcher()
  jsii_call_method("validateItemBatcher", [])
end