import { Value } from '../../../cloudformation/Value';
/**
  Information about a dataset that contains permissions for row-level security (RLS). The permissions dataset maps fields to users or groups. For more information, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/restrict-access-to-a-data-set-using-row-level-security.html">Using Row-Level Security (RLS) to Restrict Access to a Dataset</a> in the <em>Amazon QuickSight User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-rowlevelpermissiondataset.html">the AWS Docs</a>
*/
export interface RowLevelPermissionDataSetProps {
    /** <code>Status</code>  <a name="cfn-quicksight-dataset-rowlevelpermissiondataset-status"></a>
  The status of the row-level security permission dataset. If enabled, the status is <code>ENABLED</code>. If disabled, the status is <code>DISABLED</code>.<br />
  
  Required: No<br />
  
  Allowed values: <code>DISABLED | ENABLED</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> */
    status?: Value<'DISABLED' | 'ENABLED'>;
    /** <code>FormatVersion</code>  <a name="cfn-quicksight-dataset-rowlevelpermissiondataset-formatversion"></a>
  The user or group rules associated with the dataset that contains permissions for RLS.<br />
  By default, <code>FormatVersion</code> is <code>VERSION_1</code>. When <code>FormatVersion</code> is <code>VERSION_1</code>, <code>UserName</code> and <code>GroupName</code> are required. When <code>FormatVersion</code> is <code>VERSION_2</code>, <code>UserARN</code> and <code>GroupARN</code> are required, and <code>Namespace</code> must not exist.<br />
  
  Required: No<br />
  
  Allowed values: <code>VERSION_1 | VERSION_2</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> */
    formatVersion?: Value<'VERSION_1' | 'VERSION_2'>;
    /** <code>Arn</code>  <a name="cfn-quicksight-dataset-rowlevelpermissiondataset-arn"></a>
  The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.<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> */
    arn: Value<string>;
    /** <code>Namespace</code>  <a name="cfn-quicksight-dataset-rowlevelpermissiondataset-namespace"></a>
  The namespace associated with the dataset that contains permissions for RLS.<br />
  
  Required: No<br />
  
  Maximum: <code>64</code><br />
  
  Pattern: <code>^[a-zA-Z0-9._-]*$</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> */
    namespace?: Value<string>;
    /** <code>PermissionPolicy</code>  <a name="cfn-quicksight-dataset-rowlevelpermissiondataset-permissionpolicy"></a>
  The type of permissions to use when interpreting the permissions for RLS. <code>DENY_ACCESS</code> is included for backward compatibility only.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>DENY_ACCESS | GRANT_ACCESS</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> */
    permissionPolicy: Value<'DENY_ACCESS' | 'GRANT_ACCESS'>;
}
