# LookbackWindowProperty

The lookback window setup of an incremental refresh configuration.

- Source: Generated at build time
- Type last changed: v2.143.0 · 24 May 2024

## 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 lookbackWindowProperty: quicksight.CfnDataSet.LookbackWindowProperty = {
  columnName: 'columnName',
  size: 123,
  sizeUnit: 'sizeUnit',
};
```

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

lookback_window_property = quicksight.CfnDataSet.LookbackWindowProperty(
    column_name="columnName",
    size=123,
    size_unit="sizeUnit"
)
```

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

LookbackWindowProperty lookbackWindowProperty = LookbackWindowProperty.builder()
        .columnName("columnName")
        .size(123)
        .sizeUnit("sizeUnit")
        .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 lookbackWindowProperty = new LookbackWindowProperty {
    ColumnName = "columnName",
    Size = 123,
    SizeUnit = "sizeUnit"
};
```

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"

lookbackWindowProperty := &LookbackWindowProperty{
	ColumnName: jsii.String("columnName"),
	Size: jsii.Number(123),
	SizeUnit: jsii.String("sizeUnit"),
}
```

## Properties

- `columnName`: string (required) — The name of the lookback window column.

- `size`: number (required) = 0 — The lookback window column size.

- `sizeUnit`: string (required) — The size unit that is used for the lookback window column.

  Valid values for this structure are `HOUR` , `DAY` , and `WEEK` .
