

# efs-access-point-enforce-root-directory
<a name="efs-access-point-enforce-root-directory"></a>

Checks if Amazon Elastic File System (Amazon EFS) access points are configured to enforce a root directory. The rule is NON\_COMPLIANT if the value of 'Path' is set to '/' (default root directory of the file system). 



**Identifier:** EFS\_ACCESS\_POINT\_ENFORCE\_ROOT\_DIRECTORY

**Resource Types:** AWS::EFS::AccessPoint

**Trigger type:** Configuration changes

**Amazon Web Services Region:** All supported Amazon regions except Amazon GovCloud (US-East), Amazon GovCloud (US-West), China (Ningxia) Region

**Parameters:**

approvedDirectories (Optional)Type: CSV  
Comma-separated list of subdirectory paths that are approved for Amazon EFS access point root directory enforcement.

## Amazon CloudFormation template
<a name="w2aac20c16c17b7d711c19"></a>

To create Amazon Config managed rules with Amazon CloudFormation templates, see [Creating Amazon Config Managed Rules With Amazon CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).