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 providerdefaultTags
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 providerdefaultTags
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.,