Class CfnLocationFSxOpenZFS
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.CfnLocationFSxOpenZFS
- All Implemented Interfaces:
IInspectable,ITaggable,ILocationFSxOpenZFSRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:35.973Z")
@Stability(Stable)
public class CfnLocationFSxOpenZFS
extends CfnResource
implements IInspectable, ILocationFSxOpenZFSRef, ITaggable
The
AWS::DataSync::LocationFSxOpenZFS resource specifies an endpoint for an Amazon FSx for OpenZFS 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.services.datasync.*;
CfnLocationFSxOpenZFS cfnLocationFSxOpenZFS = CfnLocationFSxOpenZFS.Builder.create(this, "MyCfnLocationFSxOpenZFS")
.protocol(ProtocolProperty.builder()
.nfs(NFSProperty.builder()
.mountOptions(MountOptionsProperty.builder()
.version("version")
.build())
.build())
.build())
.securityGroupArns(List.of("securityGroupArns"))
// the properties below are optional
.fsxFilesystemArn("fsxFilesystemArn")
.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 forCfnLocationFSxOpenZFS.static interfaceRepresents the mount options that are available for DataSync to access a Network File System (NFS) location.static interfaceRepresents the Network File System (NFS) protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.static interfaceRepresents the protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS 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.ILocationFSxOpenZFSRef
ILocationFSxOpenZFSRef.Jsii$Default, ILocationFSxOpenZFSRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnLocationFSxOpenZFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationFSxOpenZFS(software.amazon.jsii.JsiiObjectRef objRef) CfnLocationFSxOpenZFS(software.constructs.Construct scope, String id, CfnLocationFSxOpenZFSProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the specified FSx for OpenZFS file system location.The URI of the specified FSx for OpenZFS file system location.The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.A reference to a LocationFSxOpenZFS resource.The type of protocol that AWS DataSync uses to access your file system.The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.A subdirectory in the location's path that must begin with/fsx.getTags()Tag Manager which manages the tags for this resource.The key-value pair that represents a tag that you want to add to the resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetFsxFilesystemArn(String value) The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.voidsetProtocol(IResolvable value) The type of protocol that AWS DataSync uses to access your file system.voidThe type of protocol that AWS DataSync uses to access your file system.voidsetSecurityGroupArns(List<String> value) The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.voidsetSubdirectory(String value) A subdirectory in the location's path that must begin with/fsx.voidsetTagsRaw(List<CfnTag> value) The key-value pair that represents a tag that you want to add to the resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, 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.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnLocationFSxOpenZFS
protected CfnLocationFSxOpenZFS(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLocationFSxOpenZFS
protected CfnLocationFSxOpenZFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLocationFSxOpenZFS
@Stability(Stable) public CfnLocationFSxOpenZFS(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLocationFSxOpenZFSProps 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.
-
getAttrLocationArn
The ARN of the specified FSx for OpenZFS file system location. -
getAttrLocationUri
The URI of the specified FSx for OpenZFS file system location. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getLocationFSxOpenZfsRef
A reference to a LocationFSxOpenZFS resource.- Specified by:
getLocationFSxOpenZfsRefin interfaceILocationFSxOpenZFSRef
-
getTags
Tag Manager which manages the tags for this resource. -
getProtocol
The type of protocol that AWS DataSync uses to access your file system.Returns union: either
IResolvableorCfnLocationFSxOpenZFS.ProtocolProperty -
setProtocol
The type of protocol that AWS DataSync uses to access your file system. -
setProtocol
The type of protocol that AWS DataSync uses to access your file system. -
getSecurityGroupArns
The ARNs of the security groups that are used to configure the FSx for OpenZFS file system. -
setSecurityGroupArns
The ARNs of the security groups that are used to configure the FSx for OpenZFS file system. -
getFsxFilesystemArn
The Amazon Resource Name (ARN) of the FSx for OpenZFS file system. -
setFsxFilesystemArn
The Amazon Resource Name (ARN) of the FSx for OpenZFS file system. -
getSubdirectory
A subdirectory in the location's path that must begin with/fsx. -
setSubdirectory
A subdirectory in the location's path that must begin with/fsx. -
getTagsRaw
The key-value pair that represents a tag that you want to add to the resource. -
setTagsRaw
The key-value pair that represents a tag that you want to add to the resource.
-