import { Value } from '../../../cloudformation/Value';
import { IdpProps } from './IdpProps';
/**
  Container for information about the SAML configuration for OpenSearch Dashboards.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-samloptions.html">the AWS Docs</a>
*/
export interface SAMLOptionsProps {
    /** <code>MasterBackendRole</code>  <a name="cfn-opensearchservice-domain-samloptions-masterbackendrole"></a>
  The backend role that the SAML master user is mapped to.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>256</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> */
    masterBackendRole?: Value<string>;
    /** <code>SubjectKey</code>  <a name="cfn-opensearchservice-domain-samloptions-subjectkey"></a>
  Element of the SAML assertion to use for the user name. Default is <code>NameID</code>.<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> */
    subjectKey?: Value<string>;
    /** <code>Idp</code>  <a name="cfn-opensearchservice-domain-samloptions-idp"></a>
  The SAML Identity Provider’s information.<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> */
    idp?: IdpProps;
    /** <code>SessionTimeoutMinutes</code>  <a name="cfn-opensearchservice-domain-samloptions-sessiontimeoutminutes"></a>
  The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.<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> */
    sessionTimeoutMinutes?: Value<number>;
    /** <code>RolesKey</code>  <a name="cfn-opensearchservice-domain-samloptions-roleskey"></a>
  Element of the SAML assertion to use for backend roles. Default is <code>roles</code>.<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> */
    rolesKey?: Value<string>;
    /** <code>Enabled</code>  <a name="cfn-opensearchservice-domain-samloptions-enabled"></a>
  True to enable SAML authentication for a domain.<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> */
    enabled?: Value<boolean>;
    /** <code>MasterUserName</code>  <a name="cfn-opensearchservice-domain-samloptions-masterusername"></a>
  The SAML master user name, which is stored in the domain’s internal user database.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>64</code><br />
  
  Pattern: <code>.*</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> */
    masterUserName?: Value<string>;
}
