import { Value } from '../../../cloudformation/Value';
/**
  Provides the configuration information for the JWT token type.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html">the AWS Docs</a>
*/
export interface JwtTokenTypeConfigurationProps {
    /** <code>ClaimRegex</code>  <a name="cfn-kendra-index-jwttokentypeconfiguration-claimregex"></a>
  The regular expression that identifies the claim.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>100</code><br />
  
  Pattern: <code>^\P{C}*$</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> */
    claimRegex?: Value<string>;
    /** <code>Issuer</code>  <a name="cfn-kendra-index-jwttokentypeconfiguration-issuer"></a>
  The issuer of the token.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>65</code><br />
  
  Pattern: <code>^\P{C}*$</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> */
    issuer?: Value<string>;
    /** <code>KeyLocation</code>  <a name="cfn-kendra-index-jwttokentypeconfiguration-keylocation"></a>
  The location of the key.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>SECRET_MANAGER | URL</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> */
    keyLocation: Value<'SECRET_MANAGER' | 'URL'>;
    /** <code>SecretManagerArn</code>  <a name="cfn-kendra-index-jwttokentypeconfiguration-secretmanagerarn"></a>
  The Amazon Resource Name (arn) of the secret.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>1284</code><br />
  
  Pattern: <code>arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}</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> */
    secretManagerArn?: Value<string>;
    /** <code>GroupAttributeField</code>  <a name="cfn-kendra-index-jwttokentypeconfiguration-groupattributefield"></a>
  The group attribute field.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>100</code><br />
  
  Pattern: <code>^\P{C}*$</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> */
    groupAttributeField?: Value<string>;
    /** <code>URL</code>  <a name="cfn-kendra-index-jwttokentypeconfiguration-url"></a>
  The signing key URL.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>^(https?|ftp|file):\/\/([^\s]*)</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> */
    uRL?: Value<string>;
    /** <code>UserNameAttributeField</code>  <a name="cfn-kendra-index-jwttokentypeconfiguration-usernameattributefield"></a>
  The user name attribute field.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>100</code><br />
  
  Pattern: <code>^\P{C}*$</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> */
    userNameAttributeField?: Value<string>;
}
