Resource: awsDatasyncLocationFsxWindowsFileSystem
Manages an AWS DataSync FSx Windows 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.datasyncLocationFsxWindowsFileSystem.DatasyncLocationFsxWindowsFileSystem(
this,
"example",
{
fsxFilesystemArn: "${aws_fsx_windows_file_system.example.arn}",
password: "SuperSecretPassw0rd",
securityGroupArns: ["${aws_security_group.example.arn}"],
user: "SomeUser",
}
);
Argument Reference
The following arguments are supported:
fsxFilesystemArn
- (Required) The Amazon Resource Name (ARN) for the FSx for Windows file system.password
- (Required) The password of the user who has the permissions to access files and folders in the FSx for Windows file system.user
- (Required) The user who has the permissions to access files and folders in the FSx for Windows file system.domain
- (Optional) The name of the Windows domain that the FSx for Windows server belongs to.securityGroupArns
- (Optional) The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Windows 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 Windows location that was described.creationTime
- The time that the FSx for Windows location was created.
Import
awsDatasyncLocationFsxWindowsFileSystem
can be imported by using the dataSyncArn#fSxWindowsArn
, e.g.,