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

export interface LocationFsxLustreFileSystemArgs extends core.ResourceArgs {
  fsxFilesystemArn: 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>;
}

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

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

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

  @core.attr(String, { computed: true })
  public id!: 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;

  constructor(name: string, args?: LocationFsxLustreFileSystemArgs) {
    super(name, "aws_datasync_location_fsx_lustre_file_system", args);
  }

  public override getNamespace(): string {
    return "aws_datasync";
  }
}
