import { Value } from '../../../cloudformation/Value';
import { CreationInfoProps } from './CreationInfoProps';
/**
  Specifies the directory on the Amazon EFS file system that the access point provides access to. The access point exposes the specified file system path as the root directory of your file system to applications using the access point. NFS clients using the access point can only access data in the access point’s <code>RootDirectory</code> and it’s subdirectories.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-rootdirectory.html">the AWS Docs</a>
*/
export interface RootDirectoryProps {
    /** <code>Path</code>  <a name="cfn-efs-accesspoint-rootdirectory-path"></a>
  Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the <code>CreationInfo</code>.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>100</code><br />
  
  Pattern: <code>^(\/|(\/(?!\.)+[^$#&lt;&gt;;</code>|&amp;?{}^*§/\n]+){1,4})$`<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    path?: Value<string>;
    /** <code>CreationInfo</code>  <a name="cfn-efs-accesspoint-rootdirectory-creationinfo"></a>
  (Optional) Specifies the POSIX IDs and permissions to apply to the access point’s <code>RootDirectory</code>. If the <code>RootDirectory</code> &gt; <code>Path</code> specified does not exist, EFS creates the root directory using the <code>CreationInfo</code> settings when a client connects to an access point. When specifying the <code>CreationInfo</code>, you must provide values for all properties.<br />
  If you do not provide <code>CreationInfo</code> and the specified <code>RootDirectory</code> &gt; <code>Path</code> does not exist, attempts to mount the file system using the access point will fail.
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    creationInfo?: CreationInfoProps;
}
