DataSync / Client / create_location_fsx_lustre



Creates a transfer location for an Amazon FSx for Lustre file system. DataSync can use this location as a source or destination for transferring data.

Before you begin, make sure that you understand how DataSync accesses FSx for Lustre file systems.

See also: AWS API Documentation

Request Syntax

response = client.create_location_fsx_lustre(
            'Key': 'string',
            'Value': 'string'
  • FsxFilesystemArn (string) –


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

  • SecurityGroupArns (list) –


    The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Lustre file system.

    • (string) –

  • Subdirectory (string) – 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 (list) –

    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.

    • (dict) –

      A key-value pair representing a single tag that’s been applied to an Amazon Web Services resource.

      • Key (string) – [REQUIRED]

        The key for an Amazon Web Services resource tag.

      • Value (string) –

        The value for an Amazon Web Services resource tag.

Return type:



Response Syntax

    'LocationArn': 'string'

Response Structure

  • (dict) –

    • LocationArn (string) –

      The Amazon Resource Name (ARN) of the FSx for Lustre file system location that’s created.


  • DataSync.Client.exceptions.InvalidRequestException

  • DataSync.Client.exceptions.InternalException