import { Value } from '../../../cloudformation/Value';
import { MeasureFieldProps } from './MeasureFieldProps';
import { DimensionFieldProps } from './DimensionFieldProps';
/**
  The period to date computation configuration.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-periodtodatecomputation.html">the AWS Docs</a>
*/
export interface PeriodToDateComputationProps {
    /** <p> */
    periodTimeGranularity?: Value<string>;
    /** <code>Value</code>  <a name="cfn-quicksight-dashboard-periodtodatecomputation-value"></a>
  The value field that is used in a computation.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    value?: MeasureFieldProps;
    /** <code>Time</code>  <a name="cfn-quicksight-dashboard-periodtodatecomputation-time"></a>
  The time field that is used in a computation.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    time?: DimensionFieldProps;
    /** <code>ComputationId</code>  <a name="cfn-quicksight-dashboard-periodtodatecomputation-computationid"></a>
  The ID for a computation.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>512</code><br />
  
  Pattern: <code>[\w\-]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    computationId: Value<string>;
    /** <code>Name</code>  <a name="cfn-quicksight-dashboard-periodtodatecomputation-name"></a>
  The name of a computation.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    name?: Value<string>;
}
