Skip to main content

location_nfs

Gets an individual location_nfs resource

Overview

Namelocation_nfs
TypeResource
Descriptionlocation_nfs
Idawscc.datasync.location_nfs

Fields

NameDatatypeDescription
mount_optionsobject
on_prem_configobject
server_hostnamestringThe name of the NFS server. This value is the IP address or DNS name of the NFS server.
subdirectorystringThe subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
tagsarrayAn array of key-value pairs to apply to this resource.
location_arnstringThe Amazon Resource Name (ARN) of the NFS location.
location_uristringThe URL of the NFS location that was described.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
mount_options,
on_prem_config,
server_hostname,
subdirectory,
tags,
location_arn,
location_uri
FROM awscc.datasync.location_nfs
WHERE data__Identifier = '<LocationArn>';

Permissions

To operate on the location_nfs resource, the following permissions are required:

Read

datasync:DescribeLocationNfs,
datasync:ListTagsForResource

Update

datasync:DescribeLocationNfs,
datasync:ListTagsForResource,
datasync:TagResource,
datasync:UntagResource,
datasync:UpdateLocationNfs

Delete

datasync:DeleteLocation