Skip to content
v2.278.0

TimeRangeFilterValueProperty Struct ​

The value of a time range filter.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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 timeRangeFilterValueProperty: quicksight.CfnAnalysis.TimeRangeFilterValueProperty = {
  parameter: 'parameter',
  rollingDate: {
    expression: 'expression',

    // the properties below are optional
    dataSetIdentifier: 'dataSetIdentifier',
  },
  staticValue: 'staticValue',
};
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

time_range_filter_value_property = quicksight.CfnAnalysis.TimeRangeFilterValueProperty(
    parameter="parameter",
    rolling_date=quicksight.CfnAnalysis.RollingDateConfigurationProperty(
        expression="expression",

        # the properties below are optional
        data_set_identifier="dataSetIdentifier"
    ),
    static_value="staticValue"
)
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.*;

TimeRangeFilterValueProperty timeRangeFilterValueProperty = TimeRangeFilterValueProperty.builder()
        .parameter("parameter")
        .rollingDate(RollingDateConfigurationProperty.builder()
                .expression("expression")

                // the properties below are optional
                .dataSetIdentifier("dataSetIdentifier")
                .build())
        .staticValue("staticValue")
        .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 timeRangeFilterValueProperty = new TimeRangeFilterValueProperty {
    Parameter = "parameter",
    RollingDate = new RollingDateConfigurationProperty {
        Expression = "expression",

        // the properties below are optional
        DataSetIdentifier = "dataSetIdentifier"
    },
    StaticValue = "staticValue"
};
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"

timeRangeFilterValueProperty := &TimeRangeFilterValueProperty{
	Parameter: jsii.String("parameter"),
	RollingDate: &RollingDateConfigurationProperty{
		Expression: jsii.String("expression"),

		// the properties below are optional
		DataSetIdentifier: jsii.String("dataSetIdentifier"),
	},
	StaticValue: jsii.String("staticValue"),
}

Properties ​

parameteroptionalstringparameteroptionalstrparameteroptionalStringParameteroptionalstringParameteroptional*string #
The parameter type input value.
rollingDateoptionalIResolvable | CfnAnalysis.RollingDateConfigurationPropertyrolling_dateoptionaltyping.Union[IResolvable, RollingDateConfigurationProperty]rollingDateoptionalIResolvableRollingDateoptionalIResolvableRollingDateoptionalinterface{} #
The rolling date input value.
staticValueoptionalstringstatic_valueoptionalstrstaticValueoptionalStringStaticValueoptionalstringStaticValueoptional*string #
The static input value.