Interface CfnLocationFSxONTAPProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationFSxONTAPProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-06T22:15:52.294Z")
@Stability(Stable)
public interface CfnLocationFSxONTAPProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLocationFSxONTAP
.
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.*; CfnLocationFSxONTAPProps cfnLocationFSxONTAPProps = CfnLocationFSxONTAPProps.builder() .securityGroupArns(List.of("securityGroupArns")) .storageVirtualMachineArn("storageVirtualMachineArn") // the properties below are optional .protocol(ProtocolProperty.builder() .nfs(NFSProperty.builder() .mountOptions(NfsMountOptionsProperty.builder() .version("version") .build()) .build()) .smb(SMBProperty.builder() .mountOptions(SmbMountOptionsProperty.builder() .version("version") .build()) .password("password") .user("user") // the properties below are optional .domain("domain") .build()) .build()) .subdirectory("subdirectory") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLocationFSxONTAPProps
static final class
An implementation forCfnLocationFSxONTAPProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system.Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.default String
Specifies a path to the file share in the SVM where you want to transfer data to or from.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
-
getSecurityGroupArns
Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system.You must configure the security groups to allow outbound traffic on the following ports (depending on the protocol that you're using):
- Network File System (NFS) : TCP ports 111, 635, and 2049
- Server Message Block (SMB) : TCP port 445
Your file system's security groups must also allow inbound traffic on the same port.
- See Also:
-
getStorageVirtualMachineArn
Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.- See Also:
-
getProtocol
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.- See Also:
-
getSubdirectory
Specifies a path to the file share in the SVM where you want to transfer data to or from.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 .
- 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
CfnLocationFSxONTAPProps.Builder
ofCfnLocationFSxONTAPProps
-