Skip to content
v2.275.0

Experimental

@aws-cdk/integ-tests-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

WaiterStateMachineProps Struct ​

Props for creating a WaiterStateMachine.

Example ​

ts
// 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';
import { aws_lambda as lambda } from 'aws-cdk-lib';
const waiterStateMachineProps: integ_tests_alpha.WaiterStateMachineProps = {
  backoffRate: 123,
  interval: cdk.Duration.minutes(30),
  providerLogLevel: lambda.ApplicationLogLevel.INFO,
  totalTimeout: cdk.Duration.minutes(30),
};

Properties ​

backoffRateoptionalnumberbackoff_rateoptionalint | floatbackoffRateoptionalNumberBackoffRateoptionaldoubleBackoffRateoptional*float64#
Backoff between attempts.

Default: 1 (no backoff)

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.

intervaloptionalDurationintervaloptionalDurationintervaloptionalDurationIntervaloptionalDurationIntervaloptionalDuration= Duration.seconds(5)#
The interval (number of seconds) to wait between attempts.
providerLogLeveloptionalApplicationLogLevelprovider_log_leveloptionalApplicationLogLevelproviderLogLeveloptionalApplicationLogLevelProviderLogLeveloptionalApplicationLogLevelProviderLogLeveloptionalApplicationLogLevel= ApplicationLogLevel.FATAL#
The log level of the provider lambda function.
totalTimeoutoptionalDurationtotal_timeoutoptionalDurationtotalTimeoutoptionalDurationTotalTimeoutoptionalDurationTotalTimeoutoptionalDuration= Duration.minutes(30)#
The total time that the state machine will wait for a successful response.