Interface CfnLocationFSxONTAPPropsMixin.ProtocolProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationFSxONTAPPropsMixin.ProtocolProperty.Jsii$Proxy
- Enclosing class:
CfnLocationFSxONTAPPropsMixin
@Stability(Stable)
public static interface CfnLocationFSxONTAPPropsMixin.ProtocolProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the data transfer protocol that AWS DataSync uses to access your Amazon FSx file system.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.datasync.*;
ProtocolProperty protocolProperty = ProtocolProperty.builder()
.nfs(NFSProperty.builder()
.mountOptions(NfsMountOptionsProperty.builder()
.version("version")
.build())
.build())
.smb(SMBProperty.builder()
.cmkSecretConfig(CmkSecretConfigProperty.builder()
.kmsKeyArn("kmsKeyArn")
.secretArn("secretArn")
.build())
.customSecretConfig(CustomSecretConfigProperty.builder()
.secretAccessRoleArn("secretAccessRoleArn")
.secretArn("secretArn")
.build())
.domain("domain")
.managedSecretConfig(ManagedSecretConfigProperty.builder()
.secretArn("secretArn")
.build())
.mountOptions(SmbMountOptionsProperty.builder()
.version("version")
.build())
.password("password")
.user("user")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLocationFSxONTAPPropsMixin.ProtocolPropertystatic final classAn implementation forCfnLocationFSxONTAPPropsMixin.ProtocolProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetNfs()Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for ONTAP file system's storage virtual machine (SVM).default ObjectgetSmb()Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNfs
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for ONTAP file system's storage virtual machine (SVM).Returns union: either
IResolvableorCfnLocationFSxONTAPPropsMixin.NFSProperty- See Also:
-
getSmb
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.Returns union: either
IResolvableorCfnLocationFSxONTAPPropsMixin.SMBProperty- See Also:
-
builder
-