Skip to content

CreateLocationNfsRequest

Source code in docs_src/capo_datasync/types/create_location_nfs_request.py
class CreateLocationNfsRequest(TypedDict, closed=True):
    subdirectory: "capo_datasync.types.nfs_subdirectory.NfsSubdirectory"
    """<p>Specifies the export path in your NFS file server that you want DataSync to mount.</p> <p>This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs">Accessing NFS file servers</a>.</p>"""
    server_hostname: "capo_datasync.types.server_hostname.ServerHostname"
    """<p>Specifies the DNS name or IP address (IPv4 or IPv6) of the NFS file server that your DataSync agent connects to.</p>"""
    on_prem_config: "capo_datasync.types.on_prem_config.OnPremConfig"
    """<p>Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.</p> <p>You can specify more than one agent. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/do-i-need-datasync-agent.html#multiple-agents">Using multiple DataSync agents</a>.</p>"""
    mount_options: NotRequired["capo_datasync.types.nfs_mount_options.NfsMountOptions"]
    """<p>Specifies the options that DataSync can use to mount your NFS file server.</p>"""
    tags: NotRequired["capo_datasync.types.input_tag_list.InputTagList"]
    """<p>Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.</p>"""

mount_options instance-attribute

mount_options: NotRequired[NfsMountOptions]

Specifies the options that DataSync can use to mount your NFS file server.

on_prem_config instance-attribute

on_prem_config: OnPremConfig

Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.

You can specify more than one agent. For more information, see Using multiple DataSync agents.

server_hostname instance-attribute

server_hostname: ServerHostname

Specifies the DNS name or IP address (IPv4 or IPv6) of the NFS file server that your DataSync agent connects to.

subdirectory instance-attribute

subdirectory: NfsSubdirectory

Specifies the export path in your NFS file server that you want DataSync to mount.

This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.

tags instance-attribute

tags: NotRequired[InputTagList]

Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.