import { Value } from '../../../cloudformation/Value';
import { RoleValuesProps } from './RoleValuesProps';
import { IdpMetadataProps } from './IdpMetadataProps';
import { AssertionAttributesProps } from './AssertionAttributesProps';
/**
  A structure containing information about how this workspace works with SAML.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-grafana-workspace-samlconfiguration.html">the AWS Docs</a>
*/
export interface SamlConfigurationProps {
    /** <code>LoginValidityDuration</code>  <a name="cfn-grafana-workspace-samlconfiguration-loginvalidityduration"></a>
  How long a sign-on session by a SAML user is valid, before the user has to sign on again.<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> */
    loginValidityDuration?: Value<number>;
    /** <code>RoleValues</code>  <a name="cfn-grafana-workspace-samlconfiguration-rolevalues"></a>
  A structure containing arrays that map group names in the SAML assertion to the Grafana <code>Admin</code> and <code>Editor</code> roles in the workspace.<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> */
    roleValues?: RoleValuesProps;
    /** <code>IdpMetadata</code>  <a name="cfn-grafana-workspace-samlconfiguration-idpmetadata"></a>
  A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.<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> */
    idpMetadata: IdpMetadataProps;
    /** <code>AssertionAttributes</code>  <a name="cfn-grafana-workspace-samlconfiguration-assertionattributes"></a>
  A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.<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> */
    assertionAttributes?: AssertionAttributesProps;
    /** <code>AllowedOrganizations</code>  <a name="cfn-grafana-workspace-samlconfiguration-allowedorganizations"></a>
  Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute have access.<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> */
    allowedOrganizations?: Value<Value<string>[]>;
}
