interface WaiterStateMachineProps
Language | Type name |
---|---|
.NET | Amazon.CDK.IntegTests.Alpha.WaiterStateMachineProps |
Go | github.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2#WaiterStateMachineProps |
Java | software.amazon.awscdk.integtests.alpha.WaiterStateMachineProps |
Python | aws_cdk.integ_tests_alpha.WaiterStateMachineProps |
TypeScript (source) | @aws-cdk/integ-tests-alpha ยป WaiterStateMachineProps |
Props for creating a WaiterStateMachine.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as integ_tests_alpha from '@aws-cdk/integ-tests-alpha';
import * as cdk from 'aws-cdk-lib';
const waiterStateMachineProps: integ_tests_alpha.WaiterStateMachineProps = {
backoffRate: 123,
interval: cdk.Duration.minutes(30),
totalTimeout: cdk.Duration.minutes(30),
};
Properties
Name | Type | Description |
---|---|---|
backoff | number | Backoff between attempts. |
interval? | Duration | The interval (number of seconds) to wait between attempts. |
total | Duration | The total time that the state machine will wait for a successful response. |
backoffRate?
Type:
number
(optional, default: 1 (no backoff))
Backoff between attempts.
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
.
interval?
Type:
Duration
(optional, default: Duration.seconds(5))
The interval (number of seconds) to wait between attempts.
totalTimeout?
Type:
Duration
(optional, default: Duration.minutes(30))
The total time that the state machine will wait for a successful response.