Class Timeout
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.Timeout
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:39.966Z")
@Stability(Stable)
public abstract class Timeout
extends software.amazon.jsii.JsiiObject
Timeout for a task or heartbeat.
Example:
GlueStartJobRun.Builder.create(this, "Task") .glueJobName("my-glue-job") .arguments(TaskInput.fromObject(Map.of( "key", "value"))) .taskTimeout(Timeout.duration(Duration.minutes(30))) .notifyDelayAfter(Duration.minutes(5)) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
-
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Timeout
protected Timeout(software.amazon.jsii.JsiiObjectRef objRef) -
Timeout
protected Timeout(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Timeout
@Stability(Stable) protected Timeout()
-
-
Method Details
-
at
Use a dynamic timeout specified by a path in the state input.The path must select a field whose value is a positive integer.
- Parameters:
path
- This parameter is required.
-
duration
Use a duration as timeout.- Parameters:
duration
- This parameter is required.
-
getPath
Path for this timeout. -
getSeconds
Seconds for this timeout.
-