import { Value } from '../../../cloudformation/Value';
/**
  The time units you use when you set the duration of ID, access, and refresh tokens. The default unit for RefreshToken is days, and the default for ID and access tokens is hours.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-tokenvalidityunits.html">the AWS Docs</a>
*/
export interface TokenValidityUnitsProps {
    /** <code>IdToken</code>  <a name="cfn-cognito-userpoolclient-tokenvalidityunits-idtoken"></a>
  A time unit of <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code> for the value that you set in the <code>IdTokenValidity</code> parameter. The default <code>IdTokenValidity</code> time unit is hours. <code>IdTokenValidity</code> duration can range from five minutes to one day.<br />
  
  Required: No<br />
  
  Allowed values: <code>days | hours | minutes | seconds</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> */
    idToken?: Value<'days' | 'hours' | 'minutes' | 'seconds'>;
    /** <code>RefreshToken</code>  <a name="cfn-cognito-userpoolclient-tokenvalidityunits-refreshtoken"></a>
  A time unit of <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code> for the value that you set in the <code>RefreshTokenValidity</code> parameter. The default <code>RefreshTokenValidity</code> time unit is days. <code>RefreshTokenValidity</code> duration can range from 60 minutes to 10 years.<br />
  
  Required: No<br />
  
  Allowed values: <code>days | hours | minutes | seconds</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> */
    refreshToken?: Value<'days' | 'hours' | 'minutes' | 'seconds'>;
    /** <code>AccessToken</code>  <a name="cfn-cognito-userpoolclient-tokenvalidityunits-accesstoken"></a>
  A time unit of <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code> for the value that you set in the <code>AccessTokenValidity</code> parameter. The default <code>AccessTokenValidity</code> time unit is hours. <code>AccessTokenValidity</code> duration can range from five minutes to one day.<br />
  
  Required: No<br />
  
  Allowed values: <code>days | hours | minutes | seconds</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> */
    accessToken?: Value<'days' | 'hours' | 'minutes' | 'seconds'>;
}
