Skip to content

Resource: awsDatasyncLocationFsxLustreFileSystem

Manages an AWS DataSync FSx Lustre Location.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.datasyncLocationFsxLustreFileSystem.DatasyncLocationFsxLustreFileSystem(
  this,
  "example",
  {
    fsxFilesystemArn: "${aws_fsx_lustre_file_system.example.arn}",
    securityGroupArns: ["${aws_security_group.example.arn}"],
  }
);

Argument Reference

The following arguments are supported:

  • fsxFilesystemArn - (Required) The Amazon Resource Name (ARN) for the FSx for Lustre file system.
  • securityGroupArns - (Optional) The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Lustre file system.
  • subdirectory - (Optional) Subdirectory to perform actions as source or destination.
  • tags - (Optional) Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - Amazon Resource Name (ARN) of the DataSync Location.
  • arn - Amazon Resource Name (ARN) of the DataSync Location.
  • tagsAll - A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
  • uri - The URL of the FSx for Lustre location that was described.
  • creationTime - The time that the FSx for Lustre location was created.

Import

awsDatasyncLocationFsxLustreFileSystem can be imported by using the dataSyncArn#fSxLustreArn, e.g.,

$ terraform import aws_datasync_location_fsx_lustre_file_system.example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:476956259333:file-system/fs-08e04cd442c1bb94a