Class CfnLocationFSxONTAP
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.datasync.CfnLocationFSxONTAP
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggable,ILocationFSxONTAPRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:37.826Z")
@Stability(Stable)
public class CfnLocationFSxONTAP
extends CfnResource
implements IInspectable, ILocationFSxONTAPRef, ITaggable
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();
- See Also:
-
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.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.datasync.ILocationFSxONTAPRef
ILocationFSxONTAPRef.Jsii$Default, ILocationFSxONTAPRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnLocationFSxONTAP(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationFSxONTAP(software.amazon.jsii.JsiiObjectRef objRef) CfnLocationFSxONTAP(software.constructs.Construct scope, String id, CfnLocationFSxONTAPProps props) -
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.A reference to a LocationFSxONTAP resource.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 want to transfer data to or from.getTags()Tag Manager which manages the tags for this resource.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 want to transfer data to or from.voidsetTagsRaw(List<CfnTag> value) Specifies labels that help you categorize, filter, and search for your AWS resources.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnLocationFSxONTAPProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
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
-
getLocationFSxOntapRef
A reference to a LocationFSxONTAP resource.- Specified by:
getLocationFSxOntapRefin interfaceILocationFSxONTAPRef
-
getTags
Tag Manager which manages the tags for this resource. -
getSecurityGroupArns
Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system. -
setSecurityGroupArns
Specifies the Amazon Resource Names (ARNs) of the security groups that DataSync can use to access your FSx for ONTAP file system. -
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.Returns union: either
IResolvableorCfnLocationFSxONTAP.ProtocolProperty -
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 want to transfer data to or from. -
setSubdirectory
Specifies a path to the file share in the SVM where you want to transfer data to or from. -
getTagsRaw
Specifies labels that help you categorize, filter, and search for your AWS resources. -
setTagsRaw
Specifies labels that help you categorize, filter, and search for your AWS resources.
-