import * as core from "@terrascript/core"; export interface LocationFsxWindowsFileSystemArgs extends core.ResourceArgs { /** * (Optional) The name of the Windows domain that the FSx for Windows server belongs to. */ domain?: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) for the FSx for Windows file system. */ fsxFilesystemArn: string | core.StringOut; /** * (Required) The password of the user who has the permissions to access files and folders in the FSx f * or Windows file system. */ password: string | core.StringOut; /** * (Optional) The Amazon Resource Names (ARNs) of the security groups that are to use to configure the * FSx for Windows file system. */ securityGroupArns: core.Array | core.ArrayOut; /** * (Optional) Subdirectory to perform actions as source or destination. */ subdirectory?: string | core.StringOut; /** * (Optional) Key-value pairs of resource tags to assign to the DataSync Location. If configured with a * provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws * /latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those * defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Required) The user who has the permissions to access files and folders in the FSx for Windows file * system. */ user: string | core.StringOut; } export class LocationFsxWindowsFileSystem extends core.Resource { /** * Amazon Resource Name (ARN) of the DataSync Location. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The time that the FSx for Windows location was created. */ @core.attr(String, { computed: true }) public creationTime!: string | core.StringOut; /** * (Optional) The name of the Windows domain that the FSx for Windows server belongs to. */ @core.attr(String) public domain?: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) for the FSx for Windows file system. */ @core.attr(String) public fsxFilesystemArn!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the DataSync Location. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The password of the user who has the permissions to access files and folders in the FSx f * or Windows file system. */ @core.attr(String) public password!: string | core.StringOut; /** * (Optional) The Amazon Resource Names (ARNs) of the security groups that are to use to configure the * FSx for Windows file system. */ @core.attr(String, { kind: "array" }) public securityGroupArns!: core.Array | core.ArrayOut; /** * (Optional) Subdirectory to perform actions as source or destination. */ @core.attr(String, { computed: true }) public subdirectory?: string | core.StringOut; /** * (Optional) Key-value pairs of resource tags to assign to the DataSync Location. If configured with a * provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws * /latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those * defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * The URL of the FSx for Windows location that was described. */ @core.attr(String, { computed: true }) public uri!: string | core.StringOut; /** * (Required) The user who has the permissions to access files and folders in the FSx for Windows file * system. */ @core.attr(String) public user!: string | core.StringOut; constructor(name: string, args?: LocationFsxWindowsFileSystemArgs) { super(name, "aws_datasync_location_fsx_windows_file_system", args); } public override getNamespace(): string { return "aws_datasync"; } }