Class CfnLocationFSxONTAP.SMBProperty
Specifies the Server Message Block (SMB) protocol configuration that AWS DataSync uses to access a storage virtual machine (SVM) on your Amazon FSx for NetApp ONTAP file system.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLocationFSxONTAP.SMBProperty : CfnLocationFSxONTAP.ISMBProperty
Syntax (vb)
Public Class CfnLocationFSxONTAP.SMBProperty Implements CfnLocationFSxONTAP.ISMBProperty
Remarks
For more information, see Accessing FSx for ONTAP file systems .
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 sMBProperty = new SMBProperty {
MountOptions = new SmbMountOptionsProperty {
Version = "version"
},
Password = "password",
User = "user",
// the properties below are optional
Domain = "domain"
};
Synopsis
Constructors
| SMBProperty() | Specifies the Server Message Block (SMB) protocol configuration that AWS DataSync uses to access a storage virtual machine (SVM) on your Amazon FSx for NetApp ONTAP file system. |
Properties
| Domain | Specifies the name of the Windows domain that your storage virtual machine (SVM) belongs to. |
| MountOptions | Specifies how DataSync can access a location using the SMB protocol. |
| Password | Specifies the password of a user who has permission to access your SVM. |
| User | Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM. |
Constructors
SMBProperty()
Specifies the Server Message Block (SMB) protocol configuration that AWS DataSync uses to access a storage virtual machine (SVM) on your Amazon FSx for NetApp ONTAP file system.
public SMBProperty()
Remarks
For more information, see Accessing FSx for ONTAP file systems .
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 sMBProperty = new SMBProperty {
MountOptions = new SmbMountOptionsProperty {
Version = "version"
},
Password = "password",
User = "user",
// the properties below are optional
Domain = "domain"
};
Properties
Domain
Specifies the name of the Windows domain that your storage virtual machine (SVM) belongs to.
public string? Domain { get; set; }
Property Value
Remarks
If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right SVM.
MountOptions
Specifies how DataSync can access a location using the SMB protocol.
public object MountOptions { get; set; }
Property Value
Remarks
Password
Specifies the password of a user who has permission to access your SVM.
public string Password { get; set; }
Property Value
Remarks
User
Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM.
public string User { get; set; }
Property Value
Remarks
If you provide a user in your Active Directory, note the following:
Make sure that the user has the permissions it needs to copy the data you want: