interface DateTimeParameterDeclarationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.DateTimeParameterDeclarationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnDashboard.DateTimeParameterDeclarationProperty |
Python | aws_cdk.aws_quicksight.CfnDashboard.DateTimeParameterDeclarationProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnDashboard » DateTimeParameterDeclarationProperty |
A parameter declaration for the DateTime
data type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const dateTimeParameterDeclarationProperty: quicksight.CfnDashboard.DateTimeParameterDeclarationProperty = {
name: 'name',
// the properties below are optional
defaultValues: {
dynamicValue: {
defaultValueColumn: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
// the properties below are optional
groupNameColumn: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
userNameColumn: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
},
rollingDate: {
expression: 'expression',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
},
staticValues: ['staticValues'],
},
mappedDataSetParameters: [{
dataSetIdentifier: 'dataSetIdentifier',
dataSetParameterName: 'dataSetParameterName',
}],
timeGranularity: 'timeGranularity',
valueWhenUnset: {
customValue: 'customValue',
valueWhenUnsetOption: 'valueWhenUnsetOption',
},
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the parameter that is being declared. |
default | IResolvable | Date | The default values of a parameter. |
mapped | IResolvable | IResolvable | Mapped [] | CfnDashboard.DateTimeParameterDeclarationProperty.MappedDataSetParameters . |
time | string | The level of time precision that is used to aggregate DateTime values. |
value | IResolvable | Date | The configuration that defines the default value of a DateTime parameter when a value has not been set. |
name
Type:
string
The name of the parameter that is being declared.
defaultValues?
Type:
IResolvable
|
Date
(optional)
The default values of a parameter.
If the parameter is a single-value parameter, a maximum of one default value can be provided.
mappedDataSetParameters?
Type:
IResolvable
|
IResolvable
|
Mapped
[]
(optional)
CfnDashboard.DateTimeParameterDeclarationProperty.MappedDataSetParameters
.
timeGranularity?
Type:
string
(optional)
The level of time precision that is used to aggregate DateTime
values.
valueWhenUnset?
Type:
IResolvable
|
Date
(optional)
The configuration that defines the default value of a DateTime
parameter when a value has not been set.