Skip to content
v2.277.0

LookbackWindowProperty Struct ​

The lookback window setup of an incremental refresh configuration.

Example ​

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
# 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
// 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();
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"
};
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 ​

columnNamestringcolumn_namestrcolumnNameStringColumnNamestringColumnName*stringrequired#
The name of the lookback window column.
sizenumbersizeint | floatsizeNumberSizedoubleSize*float64= 0required#
The lookback window column size.
sizeUnitstringsize_unitstrsizeUnitStringSizeUnitstringSizeUnit*stringrequired#
The size unit that is used for the lookback window column.

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