Class CfnLocationFSxOpenZFS
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::DataSync::LocationFSxOpenZFS.
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();
-
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.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
ConstructorsModifierConstructorDescriptionCfnLocationFSxOpenZFS(Construct scope, String id, CfnLocationFSxOpenZFSProps props) Create a newAWS::DataSync::LocationFSxOpenZFS.protectedCfnLocationFSxOpenZFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationFSxOpenZFS(software.amazon.jsii.JsiiObjectRef objRef) -
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.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()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.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
-
CfnLocationFSxOpenZFS
protected CfnLocationFSxOpenZFS(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLocationFSxOpenZFS
protected CfnLocationFSxOpenZFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLocationFSxOpenZFS
@Stability(Stable) public CfnLocationFSxOpenZFS(@NotNull Construct scope, @NotNull String id, @NotNull CfnLocationFSxOpenZFSProps props) Create a newAWS::DataSync::LocationFSxOpenZFS.- 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.
-
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
-
getTags
The key-value pair that represents a tag that you want to add to the resource.The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
-
getProtocol
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. -
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.Pattern :
^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$Length constraints : Maximum length of 128.
-
setSecurityGroupArns
The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.Pattern :
^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$Length constraints : Maximum length of 128.
-
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.DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).
-
setSubdirectory
A subdirectory in the location's path that must begin with/fsx.DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).
-