Interface ICfnLocationFSxONTAPProps
Properties for defining a CfnLocationFSxONTAP
.
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.AWS.DataSync.dll
Syntax (csharp)
public interface ICfnLocationFSxONTAPProps
Syntax (vb)
Public Interface ICfnLocationFSxONTAPProps
Remarks
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 cfnLocationFSxONTAPProps = new CfnLocationFSxONTAPProps {
SecurityGroupArns = new [] { "securityGroupArns" },
StorageVirtualMachineArn = "storageVirtualMachineArn",
// the properties below are optional
Protocol = new ProtocolProperty {
Nfs = new NFSProperty {
MountOptions = new NfsMountOptionsProperty {
Version = "version"
}
},
Smb = new SMBProperty {
MountOptions = new SmbMountOptionsProperty {
Version = "version"
},
Password = "password",
User = "user",
// the properties below are optional
Domain = "domain"
}
},
Subdirectory = "subdirectory",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Protocol | Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. |
SecurityGroupArns | Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system. |
StorageVirtualMachineArn | Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from. |
Subdirectory | Specifies a path to the file share in the SVM where you'll copy your data. |
Tags | Specifies labels that help you categorize, filter, and search for your AWS resources. |
Properties
Protocol
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
virtual object Protocol { get; }
Property Value
System.Object
Remarks
SecurityGroupArns
Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system.
string[] SecurityGroupArns { get; }
Property Value
System.String[]
Remarks
You must configure the security groups to allow outbound traffic on the following ports (depending on the protocol that you're using):
Your file system's security groups must also allow inbound traffic on the same port.
StorageVirtualMachineArn
Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.
string StorageVirtualMachineArn { get; }
Property Value
System.String
Remarks
Subdirectory
Specifies a path to the file share in the SVM where you'll copy your data.
virtual string Subdirectory { get; }
Property Value
System.String
Remarks
You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares). For example, your mount path might be /vol1
, /vol1/tree1
, or /share1
.
Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide .
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.