CfnLocationFSxOpenZFSPropsMixin
- class aws_cdk.mixins_preview.aws_datasync.mixins.CfnLocationFSxOpenZFSPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DataSync::LocationFSxOpenZFSresource specifies an endpoint for an Amazon FSx for OpenZFS file system.- See:
- CloudformationResource:
AWS::DataSync::LocationFSxOpenZFS
- Mixin:
true
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_datasync import mixins as datasync_mixins cfn_location_fSx_open_zFSProps_mixin = datasync_mixins.CfnLocationFSxOpenZFSPropsMixin(datasync_mixins.CfnLocationFSxOpenZFSMixinProps( fsx_filesystem_arn="fsxFilesystemArn", protocol=datasync_mixins.CfnLocationFSxOpenZFSPropsMixin.ProtocolProperty( nfs=datasync_mixins.CfnLocationFSxOpenZFSPropsMixin.NFSProperty( mount_options=datasync_mixins.CfnLocationFSxOpenZFSPropsMixin.MountOptionsProperty( version="version" ) ) ), security_group_arns=["securityGroupArns"], subdirectory="subdirectory", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DataSync::LocationFSxOpenZFS.- Parameters:
props (
Union[CfnLocationFSxOpenZFSMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['fsxFilesystemArn', 'protocol', 'securityGroupArns', 'subdirectory', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
MountOptionsProperty
- class CfnLocationFSxOpenZFSPropsMixin.MountOptionsProperty(*, version=None)
Bases:
objectRepresents the mount options that are available for DataSync to access a Network File System (NFS) location.
- Parameters:
version (
Optional[str]) – The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the version specified, the sync will fail. If you don’t specify a version, DataSync defaults toAUTOMATIC. That is, DataSync automatically selects a version based on negotiation with the NFS server. You can specify the following NFS versions: - `NFSv3 <https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc1813>`_ : Stateless protocol version that allows for asynchronous writes on the server. - `NFSv4.0 <https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc3530>`_ : Stateful, firewall-friendly protocol version that supports delegations and pseudo file systems. - `NFSv4.1 <https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc5661>`_ : Stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.- 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.mixins_preview.aws_datasync import mixins as datasync_mixins mount_options_property = datasync_mixins.CfnLocationFSxOpenZFSPropsMixin.MountOptionsProperty( version="version" )
Attributes
- version
The specific NFS version that you want DataSync to use to mount your NFS share.
If the server refuses to use the version specified, the sync will fail. If you don’t specify a version, DataSync defaults to
AUTOMATIC. That is, DataSync automatically selects a version based on negotiation with the NFS server.You can specify the following NFS versions:
`NFSv3 <https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc1813>`_ : Stateless protocol version that allows for asynchronous writes on the server.
`NFSv4.0 <https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc3530>`_ : Stateful, firewall-friendly protocol version that supports delegations and pseudo file systems.
`NFSv4.1 <https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc5661>`_ : Stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.
NFSProperty
- class CfnLocationFSxOpenZFSPropsMixin.NFSProperty(*, mount_options=None)
Bases:
objectRepresents the Network File System (NFS) protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.
- Parameters:
mount_options (
Union[IResolvable,MountOptionsProperty,Dict[str,Any],None]) – Represents the mount options that are available for DataSync to access an NFS 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.mixins_preview.aws_datasync import mixins as datasync_mixins n_fSProperty = datasync_mixins.CfnLocationFSxOpenZFSPropsMixin.NFSProperty( mount_options=datasync_mixins.CfnLocationFSxOpenZFSPropsMixin.MountOptionsProperty( version="version" ) )
Attributes
- mount_options
Represents the mount options that are available for DataSync to access an NFS location.
ProtocolProperty
- class CfnLocationFSxOpenZFSPropsMixin.ProtocolProperty(*, nfs=None)
Bases:
objectRepresents the protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.
- Parameters:
nfs (
Union[IResolvable,NFSProperty,Dict[str,Any],None]) – Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.- 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.mixins_preview.aws_datasync import mixins as datasync_mixins protocol_property = datasync_mixins.CfnLocationFSxOpenZFSPropsMixin.ProtocolProperty( nfs=datasync_mixins.CfnLocationFSxOpenZFSPropsMixin.NFSProperty( mount_options=datasync_mixins.CfnLocationFSxOpenZFSPropsMixin.MountOptionsProperty( version="version" ) ) )
Attributes
- nfs
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.