@aws-cdk_integ-tests-alpha.WaiterStateMachineProps

interface WaiterStateMachineProps ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.IntegTests.Alpha.WaiterStateMachineProps
Gogithub.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2#WaiterStateMachineProps
Javasoftware.amazon.awscdk.integtests.alpha.WaiterStateMachineProps
Pythonaws_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

NameTypeDescription
backoffRate?๐Ÿ”นnumberBackoff between attempts.
interval?๐Ÿ”นDurationThe interval (number of seconds) to wait between attempts.
totalTimeout?๐Ÿ”นDurationThe 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.