---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_datasync_location_nfs Data Source - terraform-provider-awscc"
subcategory: ""
description: |-
Data Source schema for AWS::DataSync::LocationNFS
---
# awscc_datasync_location_nfs (Data Source)
Data Source schema for AWS::DataSync::LocationNFS
## Schema
### Required
- `id` (String) Uniquely identifies the resource.
### Read-Only
- `location_arn` (String) The Amazon Resource Name (ARN) of the NFS location.
- `location_uri` (String) The URL of the NFS location that was described.
- `mount_options` (Attributes) The NFS mount options that DataSync can use to mount your NFS share. (see [below for nested schema](#nestedatt--mount_options))
- `on_prem_config` (Attributes) Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect an NFS server. (see [below for nested schema](#nestedatt--on_prem_config))
- `server_hostname` (String) The name of the NFS server. This value is the IP address or DNS name of the NFS server.
- `subdirectory` (String) 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` (Attributes Set) An array of key-value pairs to apply to this resource. (see [below for nested schema](#nestedatt--tags))
### Nested Schema for `mount_options`
Read-Only:
- `version` (String) The specific NFS version that you want DataSync to use to mount your NFS share.
### Nested Schema for `on_prem_config`
Read-Only:
- `agent_arns` (List of String) ARN(s) of the agent(s) to use for an NFS location.
### Nested Schema for `tags`
Read-Only:
- `key` (String) The key for an AWS resource tag.
- `value` (String) The value for an AWS resource tag.