Class Timeout
Timeout for a task or heartbeat.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class Timeout : DeputyBase
Syntax (vb)
Public MustInherit Class Timeout
Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
new GlueStartJobRun(this, "Task", new GlueStartJobRunProps {
GlueJobName = "my-glue-job",
Arguments = TaskInput.FromObject(new Dictionary<string, object> {
{ "key", "value" }
}),
TaskTimeout = Timeout.Duration(Duration.Minutes(30)),
NotifyDelayAfter = Duration.Minutes(5)
});
Synopsis
Constructors
Timeout() | |
Timeout(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Timeout(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Path | Path for this timeout. |
Seconds | Seconds for this timeout. |
Methods
At(String) | Use a dynamic timeout specified by a path in the state input. |
Duration(Duration) | Use a duration as timeout. |
Constructors
Timeout()
protected Timeout()
Timeout(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Timeout(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Timeout(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Timeout(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Path
Path for this timeout.
public abstract string Path { get; }
Property Value
System.String
Seconds
Seconds for this timeout.
public abstract Nullable<double> Seconds { get; }
Property Value
System.Nullable<System.Double>
Methods
At(String)
Use a dynamic timeout specified by a path in the state input.
public static Timeout At(string path)
Parameters
- path System.String
Returns
Remarks
The path must select a field whose value is a positive integer.