Class CfnTemplate.DateTimeParameterDeclarationProperty
A parameter declaration for the DateTime
data type.
Inheritance
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DateTimeParameterDeclarationProperty : Object, CfnTemplate.IDateTimeParameterDeclarationProperty
Syntax (vb)
Public Class DateTimeParameterDeclarationProperty
Inherits Object
Implements CfnTemplate.IDateTimeParameterDeclarationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 dateTimeParameterDeclarationProperty = new DateTimeParameterDeclarationProperty {
Name = "name",
// the properties below are optional
DefaultValues = new DateTimeDefaultValuesProperty {
DynamicValue = new DynamicDefaultValueProperty {
DefaultValueColumn = new ColumnIdentifierProperty {
ColumnName = "columnName",
DataSetIdentifier = "dataSetIdentifier"
},
// the properties below are optional
GroupNameColumn = new ColumnIdentifierProperty {
ColumnName = "columnName",
DataSetIdentifier = "dataSetIdentifier"
},
UserNameColumn = new ColumnIdentifierProperty {
ColumnName = "columnName",
DataSetIdentifier = "dataSetIdentifier"
}
},
RollingDate = new RollingDateConfigurationProperty {
Expression = "expression",
// the properties below are optional
DataSetIdentifier = "dataSetIdentifier"
},
StaticValues = new [] { "staticValues" }
},
MappedDataSetParameters = new [] { new MappedDataSetParameterProperty {
DataSetIdentifier = "dataSetIdentifier",
DataSetParameterName = "dataSetParameterName"
} },
TimeGranularity = "timeGranularity",
ValueWhenUnset = new DateTimeValueWhenUnsetConfigurationProperty {
CustomValue = "customValue",
ValueWhenUnsetOption = "valueWhenUnsetOption"
}
};
Synopsis
Constructors
DateTimeParameterDeclarationProperty() |
Properties
DefaultValues | The default values of a parameter. |
MappedDataSetParameters | |
Name | The name of the parameter that is being declared. |
TimeGranularity | The level of time precision that is used to aggregate |
ValueWhenUnset | The configuration that defines the default value of a |
Constructors
DateTimeParameterDeclarationProperty()
public DateTimeParameterDeclarationProperty()
Properties
DefaultValues
The default values of a parameter.
public object DefaultValues { get; set; }
Property Value
System.Object
Remarks
If the parameter is a single-value parameter, a maximum of one default value can be provided.
MappedDataSetParameters
public object MappedDataSetParameters { get; set; }
Property Value
System.Object
Remarks
Name
The name of the parameter that is being declared.
public string Name { get; set; }
Property Value
System.String
Remarks
TimeGranularity
The level of time precision that is used to aggregate DateTime
values.
public string TimeGranularity { get; set; }
Property Value
System.String
Remarks
ValueWhenUnset
The configuration that defines the default value of a DateTime
parameter when a value has not been set.
public object ValueWhenUnset { get; set; }
Property Value
System.Object