> **Experimental**
>
> `@aws-cdk/integ-tests-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# WaiterStateMachineProps

Props for creating a WaiterStateMachine.

Extends: [WaiterStateMachineOptions](/cdk/api/v2/docs/@aws-cdk_integ-tests-alpha.WaiterStateMachineOptions.html)
Used as props by: [WaiterStateMachine](/cdk/api/v2/docs/@aws-cdk_integ-tests-alpha.WaiterStateMachine.html)

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/assertions/waiter-state-machine.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/integ-tests-alpha/lib/assertions/waiter-state-machine.ts#L43)

## Example

TypeScript:

```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),
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.integ_tests_alpha as integ_tests_alpha
import aws_cdk as cdk
from aws_cdk import aws_lambda as lambda_

waiter_state_machine_props = integ_tests_alpha.WaiterStateMachineProps(
    backoff_rate=123,
    interval=cdk.Duration.minutes(30),
    provider_log_level=lambda_.ApplicationLogLevel.INFO,
    total_timeout=cdk.Duration.minutes(30)
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.integtests.alpha.*;
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.lambda.*;

WaiterStateMachineProps waiterStateMachineProps = WaiterStateMachineProps.builder()
        .backoffRate(123)
        .interval(Duration.minutes(30))
        .providerLogLevel(ApplicationLogLevel.INFO)
        .totalTimeout(Duration.minutes(30))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.IntegTests.Alpha
// 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;
using Amazon.CDK.AWS.Lambda;

var waiterStateMachineProps = new WaiterStateMachineProps {
    BackoffRate = 123,
    Interval = Duration.Minutes(30),
    ProviderLogLevel = ApplicationLogLevel.INFO,
    TotalTimeout = Duration.Minutes(30)
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import integ_tests_alpha "github.com/aws/aws-cdk-go/awscdkintegtestsalpha"
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

waiterStateMachineProps := &WaiterStateMachineProps{
	BackoffRate: jsii.Number(123),
	Interval: cdk.Duration_Minutes(jsii.Number(30)),
	ProviderLogLevel: awscdk.Aws_lambda.ApplicationLogLevel_INFO,
	TotalTimeout: cdk.Duration_*Minutes(jsii.Number(30)),
}
```

## Properties

- `backoffRate`: number — 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`.

- `interval`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) = Duration.seconds(5) — The interval (number of seconds) to wait between attempts.

- `providerLogLevel`: [ApplicationLogLevel](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.ApplicationLogLevel.html) = ApplicationLogLevel.FATAL — The log level of the provider lambda function.

- `totalTimeout`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) = Duration.minutes(30) — The total time that the state machine will wait for a successful response.
