Interface WaiterStateMachineProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WaiterStateMachineProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:07.365Z")
@Stability(Stable)
public interface WaiterStateMachineProps
extends software.amazon.jsii.JsiiSerializable
Initialization properties for the
WaiterStateMachine
construct.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.lambda.*; import software.amazon.awscdk.services.logs.*; import software.amazon.awscdk.services.stepfunctions.*; import software.amazon.awscdk.customresources.*; Function function_; LogGroup logGroup; WaiterStateMachineProps waiterStateMachineProps = WaiterStateMachineProps.builder() .backoffRate(123) .interval(Duration.minutes(30)) .isCompleteHandler(function_) .maxAttempts(123) .timeoutHandler(function_) // the properties below are optional .disableLogging(false) .logOptions(LogOptions.builder() .destination(logGroup) .includeExecutionData(false) .level(LogLevel.OFF) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forWaiterStateMachineProps
static final class
An implementation forWaiterStateMachineProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Backoff between attempts.default Boolean
Whether logging for the state machine is disabled.The interval to wait between attempts.The main handler that notifies if the waiter to decide 'complete' or 'incomplete'.default LogOptions
Defines what execution history events are logged and where they are logged.Number of attempts.The handler to call if the waiter times out and is incomplete.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBackoffRate
Backoff between attempts. -
getInterval
The interval to wait between attempts. -
getIsCompleteHandler
The main handler that notifies if the waiter to decide 'complete' or 'incomplete'. -
getMaxAttempts
Number of attempts. -
getTimeoutHandler
The handler to call if the waiter times out and is incomplete. -
getDisableLogging
Whether logging for the state machine is disabled.Default: - false
-
getLogOptions
Defines what execution history events are logged and where they are logged.Default: - A default log group will be created if logging is enabled.
-
builder
- Returns:
- a
WaiterStateMachineProps.Builder
ofWaiterStateMachineProps
-