Interface CfnLocationNFSProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationNFSProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:59.616Z")
@Stability(Stable)
public interface CfnLocationNFSProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLocationNFS
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.datasync.*; CfnLocationNFSProps cfnLocationNFSProps = CfnLocationNFSProps.builder() .onPremConfig(OnPremConfigProperty.builder() .agentArns(List.of("agentArns")) .build()) // the properties below are optional .mountOptions(MountOptionsProperty.builder() .version("version") .build()) .serverHostname("serverHostname") .subdirectory("subdirectory") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLocationNFSProps
static final class
An implementation forCfnLocationNFSProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLocationNFSProps.Builder
builder()
default Object
Specifies the options that DataSync can use to mount your NFS file server.Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.default String
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.default String
Specifies the export path in your NFS file server that you want DataSync to mount.getTags()
Specifies labels that help you categorize, filter, and search for your AWS resources.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOnPremConfig
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 .
- See Also:
-
getMountOptions
Specifies the options that DataSync can use to mount your NFS file server.- See Also:
-
getServerHostname
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.- See Also:
-
getSubdirectory
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 .
- See Also:
-
getTags
Specifies labels that help you categorize, filter, and search for your AWS resources.We recommend creating at least a name tag for your location.
- See Also:
-
builder
- Returns:
- a
CfnLocationNFSProps.Builder
ofCfnLocationNFSProps
-