Class WaiterStateMachineProps
(experimental) Props for creating a WaiterStateMachine.
Inheritance
Namespace: Amazon.CDK.IntegTests.Alpha
Assembly: Amazon.CDK.IntegTests.Alpha.dll
Syntax (csharp)
public class WaiterStateMachineProps : Object, IWaiterStateMachineProps, IWaiterStateMachineOptions
Syntax (vb)
Public Class WaiterStateMachineProps
Inherits Object
Implements IWaiterStateMachineProps, IWaiterStateMachineOptions
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.IntegTests.Alpha;
using Amazon.CDK;
var waiterStateMachineProps = new WaiterStateMachineProps {
BackoffRate = 123,
Interval = Duration.Minutes(30),
TotalTimeout = Duration.Minutes(30)
};
Synopsis
Constructors
WaiterStateMachineProps() |
Properties
BackoffRate | (experimental) Backoff between attempts. |
Interval | (experimental) The interval (number of seconds) to wait between attempts. |
TotalTimeout | (experimental) The total time that the state machine will wait for a successful response. |
Constructors
WaiterStateMachineProps()
public WaiterStateMachineProps()
Properties
BackoffRate
(experimental) Backoff between attempts.
public Nullable<double> BackoffRate { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
This is the multiplier by which the retry interval increases after each retry attempt.
By default there is no backoff. Each retry will wait the amount of time
specified by interval
.
Default: 1 (no backoff)
Stability: Experimental
Interval
(experimental) The interval (number of seconds) to wait between attempts.
public Duration Interval { get; set; }
Property Value
Remarks
Default: Duration.seconds(5)
Stability: Experimental
TotalTimeout
(experimental) The total time that the state machine will wait for a successful response.
public Duration TotalTimeout { get; set; }
Property Value
Remarks
Default: Duration.minutes(30)
Stability: Experimental