DateTimeDatasetParameterProperty Struct
A date time parameter that is created in the dataset.
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 dateTimeDatasetParameterProperty: quicksight.CfnDataSet.DateTimeDatasetParameterProperty = {
id: 'id',
name: 'name',
valueType: 'valueType',
// the properties below are optional
defaultValues: {
staticValues: ['staticValues'],
},
timeGranularity: 'timeGranularity',
};
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
date_time_dataset_parameter_property = quicksight.CfnDataSet.DateTimeDatasetParameterProperty(
id="id",
name="name",
value_type="valueType",
# the properties below are optional
default_values=quicksight.CfnDataSet.DateTimeDatasetParameterDefaultValuesProperty(
static_values=["staticValues"]
),
time_granularity="timeGranularity"
)
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.*;
DateTimeDatasetParameterProperty dateTimeDatasetParameterProperty = DateTimeDatasetParameterProperty.builder()
.id("id")
.name("name")
.valueType("valueType")
// the properties below are optional
.defaultValues(DateTimeDatasetParameterDefaultValuesProperty.builder()
.staticValues(List.of("staticValues"))
.build())
.timeGranularity("timeGranularity")
.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 dateTimeDatasetParameterProperty = new DateTimeDatasetParameterProperty {
Id = "id",
Name = "name",
ValueType = "valueType",
// the properties below are optional
DefaultValues = new DateTimeDatasetParameterDefaultValuesProperty {
StaticValues = new [] { "staticValues" }
},
TimeGranularity = "timeGranularity"
};
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"
dateTimeDatasetParameterProperty := &DateTimeDatasetParameterProperty{
Id: jsii.String("id"),
Name: jsii.String("name"),
ValueType: jsii.String("valueType"),
// the properties below are optional
DefaultValues: &DateTimeDatasetParameterDefaultValuesProperty{
StaticValues: []*string{
jsii.String("staticValues"),
},
},
TimeGranularity: jsii.String("timeGranularity"),
}
Properties
defaultValuesoptionalIResolvable | CfnDataSet.DateTimeDatasetParameterDefaultValuesPropertydefault_valuesoptionaltyping.Union[IResolvable, DateTimeDatasetParameterDefaultValuesProperty]defaultValuesoptionalIResolvableDefaultValuesoptionalIResolvableDefaultValuesoptionalinterface{}#A list of default values for a given date time parameter.
This structure only accepts static values.
An identifier for the parameter that is created in the dataset.
The name of the date time parameter that is created in the dataset.
timeGranularityoptionalstringtime_granularityoptionalstrtimeGranularityoptionalStringTimeGranularityoptionalstringTimeGranularityoptional*string#The time granularity of the date time parameter.
The value type of the dataset parameter.
Valid values are single value or multi value .