This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::QuickSight::Template PeriodToDateComputation
The period to date computation configuration.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ComputationId" :String, "Name" :String, "PeriodTimeGranularity" :String, "Time" :DimensionField, "Value" :MeasureField}
YAML
ComputationId:StringName:StringPeriodTimeGranularity:StringTime:DimensionFieldValue:MeasureField
Properties
ComputationId- 
                    
The ID for a computation.
Required: Yes
Type: String
Pattern:
^[\w\-]+$Minimum:
1Maximum:
512Update requires: No interruption
 Name- 
                    
The name of a computation.
Required: No
Type: String
Update requires: No interruption
 PeriodTimeGranularity- 
                    
The time granularity setup of period to date computation. Choose from the following options:
- 
                            
YEAR: Year to date.
 - 
                            
MONTH: Month to date.
 
Required: No
Type: String
Allowed values:
YEAR | QUARTER | MONTH | WEEK | DAY | HOUR | MINUTE | SECOND | MILLISECONDUpdate requires: No interruption
 - 
                            
 Time- 
                    
The time field that is used in a computation.
Required: No
Type: DimensionField
Update requires: No interruption
 Value- 
                    
The value field that is used in a computation.
Required: No
Type: MeasureField
Update requires: No interruption