#[non_exhaustive]pub struct CreateLocationNfsInput {
pub subdirectory: Option<String>,
pub server_hostname: Option<String>,
pub on_prem_config: Option<OnPremConfig>,
pub mount_options: Option<NfsMountOptions>,
pub tags: Option<Vec<TagListEntry>>,
}
Expand description
CreateLocationNfsRequest
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.subdirectory: Option<String>
Specifies the subdirectory in the NFS file server that DataSync transfers to or from. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.
To see all the paths exported by your NFS server, run "showmount -e nfs-server-name
" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.
To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash,
or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
server_hostname: Option<String>
Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises uses this hostname to mount the NFS server in a network.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
on_prem_config: Option<OnPremConfig>
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
mount_options: Option<NfsMountOptions>
Specifies the mount options that DataSync can use to mount your NFS share.
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.
Implementations§
source§impl CreateLocationNfsInput
impl CreateLocationNfsInput
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
Specifies the subdirectory in the NFS file server that DataSync transfers to or from. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.
To see all the paths exported by your NFS server, run "showmount -e nfs-server-name
" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.
To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash,
or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
sourcepub fn server_hostname(&self) -> Option<&str>
pub fn server_hostname(&self) -> Option<&str>
Specifies the IP address or domain name of your NFS file server. An agent that is installed on-premises uses this hostname to mount the NFS server in a network.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
You must specify be an IP version 4 address or Domain Name System (DNS)-compliant name.
sourcepub fn on_prem_config(&self) -> Option<&OnPremConfig>
pub fn on_prem_config(&self) -> Option<&OnPremConfig>
Specifies the Amazon Resource Names (ARNs) of agents that DataSync uses to connect to your NFS file server.
If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.
sourcepub fn mount_options(&self) -> Option<&NfsMountOptions>
pub fn mount_options(&self) -> Option<&NfsMountOptions>
Specifies the mount options that DataSync can use to mount your NFS share.
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.
source§impl CreateLocationNfsInput
impl CreateLocationNfsInput
sourcepub fn builder() -> CreateLocationNfsInputBuilder
pub fn builder() -> CreateLocationNfsInputBuilder
Creates a new builder-style object to manufacture CreateLocationNfsInput
.
Trait Implementations§
source§impl Clone for CreateLocationNfsInput
impl Clone for CreateLocationNfsInput
source§fn clone(&self) -> CreateLocationNfsInput
fn clone(&self) -> CreateLocationNfsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLocationNfsInput
impl Debug for CreateLocationNfsInput
source§impl PartialEq<CreateLocationNfsInput> for CreateLocationNfsInput
impl PartialEq<CreateLocationNfsInput> for CreateLocationNfsInput
source§fn eq(&self, other: &CreateLocationNfsInput) -> bool
fn eq(&self, other: &CreateLocationNfsInput) -> bool
self
and other
values to be equal, and is used
by ==
.