CfnLocationFSxOpenZFSProps
- class aws_cdk.aws_datasync.CfnLocationFSxOpenZFSProps(*, protocol, security_group_arns, fsx_filesystem_arn=None, subdirectory=None, tags=None)
Bases:
object
Properties for defining a
CfnLocationFSxOpenZFS
.- Parameters:
protocol (
Union
[IResolvable
,ProtocolProperty
,Dict
[str
,Any
]]) – The type of protocol that AWS DataSync uses to access your file system.security_group_arns (
Sequence
[str
]) – 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.fsx_filesystem_arn (
Optional
[str
]) – The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.subdirectory (
Optional
[str
]) – 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).tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – 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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_datasync as datasync cfn_location_fSx_open_zFSProps = datasync.CfnLocationFSxOpenZFSProps( protocol=datasync.CfnLocationFSxOpenZFS.ProtocolProperty( nfs=datasync.CfnLocationFSxOpenZFS.NFSProperty( mount_options=datasync.CfnLocationFSxOpenZFS.MountOptionsProperty( version="version" ) ) ), security_group_arns=["securityGroupArns"], # the properties below are optional fsx_filesystem_arn="fsxFilesystemArn", subdirectory="subdirectory", tags=[CfnTag( key="key", value="value" )] )
Attributes
- fsx_filesystem_arn
The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
- protocol
The type of protocol that AWS DataSync uses to access your file system.
- security_group_arns
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.
- subdirectory
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).
- tags
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.