Class CfnLocationFSxONTAP
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::DataSync::LocationFSxONTAP.
The AWS::DataSync::LocationFSxONTAP resource creates an endpoint for an Amazon FSx for NetApp ONTAP file system. AWS DataSync can access this endpoint as a source or destination location.
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.*;
CfnLocationFSxONTAP cfnLocationFSxONTAP = CfnLocationFSxONTAP.Builder.create(this, "MyCfnLocationFSxONTAP")
.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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnLocationFSxONTAP.static interfaceSpecifies how DataSync can access a location using the NFS protocol.static interfaceSpecifies the Network File System (NFS) protocol configuration that AWS DataSync uses to access a storage virtual machine (SVM) on your Amazon FSx for NetApp ONTAP file system.static interfaceSpecifies the data transfer protocol that AWS DataSync uses to access your Amazon FSx file system.static interfaceSpecifies the version of the Server Message Block (SMB) protocol that AWS DataSync uses to access an SMB file server.static interfaceSpecifies 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.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnLocationFSxONTAP(Construct scope, String id, CfnLocationFSxONTAPProps props) Create a newAWS::DataSync::LocationFSxONTAP.protectedCfnLocationFSxONTAP(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationFSxONTAP(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the FSx for ONTAP file system in the specified location.The ARN of the specified location.The URI of the specified location.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.Specifies a path to the file share in the SVM where you'll copy your data.getTags()Specifies labels that help you categorize, filter, and search for your AWS resources.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetProtocol(IResolvable value) Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.voidSpecifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.voidsetSecurityGroupArns(List<String> value) Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system.voidSpecifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.voidsetSubdirectory(String value) Specifies a path to the file share in the SVM where you'll copy your data.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnLocationFSxONTAP
protected CfnLocationFSxONTAP(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLocationFSxONTAP
protected CfnLocationFSxONTAP(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLocationFSxONTAP
@Stability(Stable) public CfnLocationFSxONTAP(@NotNull Construct scope, @NotNull String id, @NotNull CfnLocationFSxONTAPProps props) Create a newAWS::DataSync::LocationFSxONTAP.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrFsxFilesystemArn
The ARN of the FSx for ONTAP file system in the specified location. -
getAttrLocationArn
The ARN of the specified location. -
getAttrLocationUri
The URI of the specified location. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
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.
-
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.
-
setSecurityGroupArns
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.
-
getStorageVirtualMachineArn
Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from. -
setStorageVirtualMachineArn
Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from. -
getProtocol
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. -
setProtocol
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. -
setProtocol
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. -
getSubdirectory
Specifies a path to the file share in the SVM where you'll copy your data.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 .
-
setSubdirectory
Specifies a path to the file share in the SVM where you'll copy your data.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 .
-