Interface CfnLocationFSxOpenZFSProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationFSxOpenZFSProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.179Z")
@Stability(Stable)
public interface CfnLocationFSxOpenZFSProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLocationFSxOpenZFS
.
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.*; CfnLocationFSxOpenZFSProps cfnLocationFSxOpenZFSProps = CfnLocationFSxOpenZFSProps.builder() .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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLocationFSxOpenZFSProps
static final class
An implementation forCfnLocationFSxOpenZFSProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
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.default String
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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getProtocol
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.
-
getFsxFilesystemArn
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).
-
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.
-
builder
- Returns:
- a
CfnLocationFSxOpenZFSProps.Builder
ofCfnLocationFSxOpenZFSProps
-