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]) – The Amazon Resource Name (ARN) for the FSx for Lustre file system.

  • subdirectory (Optional[str]) – A subdirectory in the location’s path. This subdirectory in the FSx for Lustre file system is used to read data from the FSx for Lustre source location or write data to the FSx for Lustre destination.

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

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

The Amazon Resource Name (ARN) for 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

A subdirectory in the location’s path.

This subdirectory in the FSx for Lustre file system is used to read data from the FSx for Lustre source location or write data to the FSx for Lustre destination.

See:

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

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.

See:

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