CfnLocationFSxOpenZFSPropsMixin

class aws_cdk.mixins_preview.aws_datasync.mixins.CfnLocationFSxOpenZFSPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::DataSync::LocationFSxOpenZFS resource specifies an endpoint for an Amazon FSx for OpenZFS file system.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxopenzfs.html

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:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

MountOptionsProperty

class CfnLocationFSxOpenZFSPropsMixin.MountOptionsProperty(*, version=None)

Bases: object

Represents 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 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationfsxopenzfs-mountoptions.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationfsxopenzfs-mountoptions.html#cfn-datasync-locationfsxopenzfs-mountoptions-version

NFSProperty

class CfnLocationFSxOpenZFSPropsMixin.NFSProperty(*, mount_options=None)

Bases: object

Represents 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationfsxopenzfs-nfs.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationfsxopenzfs-nfs.html#cfn-datasync-locationfsxopenzfs-nfs-mountoptions

ProtocolProperty

class CfnLocationFSxOpenZFSPropsMixin.ProtocolProperty(*, nfs=None)

Bases: object

Represents 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationfsxopenzfs-protocol.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationfsxopenzfs-protocol.html#cfn-datasync-locationfsxopenzfs-protocol-nfs