# TimeRangeFilterValueProperty

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.

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

    // the properties below are optional
    dataSetIdentifier: 'dataSetIdentifier',
  },
  staticValue: 'staticValue',
};
```

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

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:

```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();
```

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 timeRangeFilterValueProperty = new TimeRangeFilterValueProperty {
    Parameter = "parameter",
    RollingDate = new RollingDateConfigurationProperty {
        Expression = "expression",

        // the properties below are optional
        DataSetIdentifier = "dataSetIdentifier"
    },
    StaticValue = "staticValue"
};
```

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"

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

- `parameter`: string — The parameter type input value.

- `rollingDate`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.RollingDateConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.RollingDateConfigurationProperty.html) — The rolling date input value.

- `staticValue`: string — The static input value.
