

# 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\$1COMPLIANT if the value of 'Path' is set to '/' (default root directory of the file system). 



**Identifier:** EFS\$1ACCESS\$1POINT\$1ENFORCE\$1ROOT\$1DIRECTORY

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

**Trigger type:** Configuration changes

**AWS Region:** All supported AWS regions except Asia Pacific (New Zealand), Asia Pacific (Thailand), Asia Pacific (Malaysia), AWS GovCloud (US-East), AWS GovCloud (US-West), Mexico (Central), Israel (Tel Aviv), Asia Pacific (Taipei), 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.

## AWS CloudFormation template
<a name="w2aac20c16c17b7d681c19"></a>

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