import * as core from "@terrascript/core";

export interface LocationFsxWindowsFileSystemArgs extends core.ResourceArgs {
  domain?: string | core.StringOut;

  fsxFilesystemArn: string | core.StringOut;

  password: string | core.StringOut;

  securityGroupArns: core.Array<string> | core.ArrayOut<core.StringOut>;

  subdirectory?: string | core.StringOut;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;

  user: string | core.StringOut;
}

export class LocationFsxWindowsFileSystem extends core.Resource<LocationFsxWindowsFileSystemArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public creationTime!: string | core.StringOut;

  @core.attr(String)
  public domain?: string | core.StringOut;

  @core.attr(String)
  public fsxFilesystemArn!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public password!: string | core.StringOut;

  @core.attr(String, { kind: "array" })
  public securityGroupArns!: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String, { computed: true })
  public subdirectory?: string | core.StringOut;

  @core.attr(String, { kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "map" })
  public tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;

  @core.attr(String, { computed: true })
  public uri!: string | core.StringOut;

  @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";
  }
}
