import { DataPathValueProps } from './DataPathValueProps';
import { Value } from '../../../cloudformation/Value';
/**
  The color map that determines the color options for a particular element.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datapathcolor.html">the AWS Docs</a>
*/
export interface DataPathColorProps {
    /** <code>Element</code>  <a name="cfn-quicksight-dashboard-datapathcolor-element"></a>
  The element that the color needs to be applied to.<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> */
    element: DataPathValueProps;
    /** <code>Color</code>  <a name="cfn-quicksight-dashboard-datapathcolor-color"></a>
  The color that needs to be applied to the element.<br />
  
  Required: Yes<br />
  
  Pattern: <code>^#[A-F0-9]{6}$</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> */
    color: Value<string>;
    /** <code>TimeGranularity</code>  <a name="cfn-quicksight-dashboard-datapathcolor-timegranularity"></a>
  The time granularity of the field that the color needs to be applied to.<br />
  
  Required: No<br />
  
  Allowed values: <code>DAY | HOUR | MILLISECOND | MINUTE | MONTH | QUARTER | SECOND | WEEK | YEAR</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> */
    timeGranularity?: Value<'DAY' | 'HOUR' | 'MILLISECOND' | 'MINUTE' | 'MONTH' | 'QUARTER' | 'SECOND' | 'WEEK' | 'YEAR'>;
}
