CfnLocationFSxLustreProps

class aws_cdk.aws_datasync.CfnLocationFSxLustreProps(*, security_group_arns, fsx_filesystem_arn=None, subdirectory=None, tags=None)

Bases: object

Properties for defining a CfnLocationFSxLustre.

Parameters:
  • security_group_arns (Sequence[str]) – The ARNs of the security groups that are used to configure the FSx for Lustre 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]) – Specifies the Amazon Resource Name (ARN) of the FSx for Lustre file system.

  • subdirectory (Optional[str]) – Specifies a mount path for your FSx for Lustre file system. The path can include subdirectories. When the location is used as a source, DataSync reads data from the mount path. When the location is used as a destination, DataSync writes data to the mount path. If you don’t include this parameter, DataSync uses the file system’s root directory ( / ).

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least a name tag for your location.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxlustre.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 import aws_datasync as datasync

cfn_location_fSx_lustre_props = datasync.CfnLocationFSxLustreProps(
    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

Specifies the Amazon Resource Name (ARN) of the FSx for Lustre file system.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxlustre.html#cfn-datasync-locationfsxlustre-fsxfilesystemarn

security_group_arns

The ARNs of the security groups that are used to configure the FSx for Lustre 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxlustre.html#cfn-datasync-locationfsxlustre-securitygrouparns

subdirectory

Specifies a mount path for your FSx for Lustre file system. The path can include subdirectories.

When the location is used as a source, DataSync reads data from the mount path. When the location is used as a destination, DataSync writes data to the mount path. If you don’t include this parameter, DataSync uses the file system’s root directory ( / ).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxlustre.html#cfn-datasync-locationfsxlustre-subdirectory

tags

Specifies labels that help you categorize, filter, and search for your AWS resources.

We recommend creating at least a name tag for your location.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxlustre.html#cfn-datasync-locationfsxlustre-tags