Class: AWSCDK::StepFunctions::FindStateOptions

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

Overview

Options for finding reachable states.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(include_error_handlers: nil) ⇒ FindStateOptions

Returns a new instance of FindStateOptions.

Parameters:

  • include_error_handlers (Boolean, nil) (defaults to: nil)

    Whether or not to follow error-handling transitions.



8
9
10
11
# File 'step_functions/find_state_options.rb', line 8

def initialize(include_error_handlers: nil)
  @include_error_handlers = include_error_handlers
  Jsii::Type.check_type(@include_error_handlers, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "includeErrorHandlers") unless @include_error_handlers.nil?
end

Instance Attribute Details

#include_error_handlersBoolean? (readonly)

Note:

Default: false

Whether or not to follow error-handling transitions.

Returns:

  • (Boolean, nil)


17
18
19
# File 'step_functions/find_state_options.rb', line 17

def include_error_handlers
  @include_error_handlers
end

Class Method Details

.jsii_propertiesObject



19
20
21
22
23
# File 'step_functions/find_state_options.rb', line 19

def self.jsii_properties
  {
    :include_error_handlers => "includeErrorHandlers",
  }
end

Instance Method Details

#to_jsiiObject



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

def to_jsii
  result = {}
  result.merge!({
    "includeErrorHandlers" => @include_error_handlers,
  })
  result.compact
end