# IngestionWaitPolicyProperty

The wait policy to use when creating or updating a Dataset.

The default is to wait for SPICE ingestion to finish with timeout of 36 hours.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const ingestionWaitPolicyProperty: quicksight.CfnDataSet.IngestionWaitPolicyProperty = {
  ingestionWaitTimeInHours: 123,
  waitForSpiceIngestion: false,
};
```

Python:

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

ingestion_wait_policy_property = quicksight.CfnDataSet.IngestionWaitPolicyProperty(
    ingestion_wait_time_in_hours=123,
    wait_for_spice_ingestion=False
)
```

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.services.quicksight.*;

IngestionWaitPolicyProperty ingestionWaitPolicyProperty = IngestionWaitPolicyProperty.builder()
        .ingestionWaitTimeInHours(123)
        .waitForSpiceIngestion(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var ingestionWaitPolicyProperty = new IngestionWaitPolicyProperty {
    IngestionWaitTimeInHours = 123,
    WaitForSpiceIngestion = false
};
```

Golang:

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

ingestionWaitPolicyProperty := &IngestionWaitPolicyProperty{
	IngestionWaitTimeInHours: jsii.Number(123),
	WaitForSpiceIngestion: jsii.Boolean(false),
}
```

## Properties

- `ingestionWaitTimeInHours`: number = 36 — The maximum time (in hours) to wait for Ingestion to complete.

  Default timeout is 36 hours. Applicable only when `DataSetImportMode` mode is set to SPICE and `WaitForSpiceIngestion` is set to true.

- `waitForSpiceIngestion`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = true — Wait for SPICE ingestion to finish to mark dataset creation or update as successful.

  Default (true). Applicable only when `DataSetImportMode` mode is set to SPICE.
