---
type: resource-type
title: LocationNFS
description: aws resource type AWS::DataSync::LocationNFS
name: LocationNFS
lexicon: aws
resource_type: AWS::DataSync::LocationNFS
---
`AWS::DataSync::LocationNFS`, a resource type of the aws lexicon.

## Properties

- `OnPremConfig` (`LocationNFS_OnPremConfig`, required)
- `LocationArn` (`string`, optional): The Amazon Resource Name (ARN) of the NFS location.
- `LocationUri` (`string`, optional): The URL of the NFS location that was described.
- `MountOptions` (`LocationNFS_MountOptions`, optional)
- `ServerHostname` (`string`, optional): The name of the NFS server. This value is the IP address or DNS name of the NFS server.
- `Subdirectory` (`string`, optional): The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
- `Tags` (`LocationNFS_Tag[]`, optional): An array of key-value pairs to apply to this resource.

## Attributes

- `LocationArn`
- `LocationUri`
