Interface ICfnLocationNFSProps
Properties for defining a CfnLocationNFS
.
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnLocationNFSProps
Syntax (vb)
Public Interface ICfnLocationNFSProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var cfnLocationNFSProps = new CfnLocationNFSProps {
OnPremConfig = new OnPremConfigProperty {
AgentArns = new [] { "agentArns" }
},
// the properties below are optional
MountOptions = new MountOptionsProperty {
Version = "version"
},
ServerHostname = "serverHostname",
Subdirectory = "subdirectory",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
MountOptions | Specifies the options that DataSync can use to mount your NFS file server. |
OnPremConfig | Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server. |
ServerHostname | Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to. |
Subdirectory | Specifies the export path in your NFS file server that you want DataSync to mount. |
Tags | Specifies labels that help you categorize, filter, and search for your AWS resources. |
Properties
MountOptions
Specifies the options that DataSync can use to mount your NFS file server.
virtual object MountOptions { get; }
Property Value
System.Object
Remarks
OnPremConfig
Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.
object OnPremConfig { get; }
Property Value
System.Object
Remarks
You can specify more than one agent. For more information, see Using multiple DataSync agents .
ServerHostname
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
virtual string ServerHostname { get; }
Property Value
System.String
Remarks
Subdirectory
Specifies the export path in your NFS file server that you want DataSync to mount.
virtual string Subdirectory { get; }
Property Value
System.String
Remarks
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
Specifies labels that help you categorize, filter, and search for your AWS resources.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
We recommend creating at least a name tag for your location.