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

export interface MemberArgs extends core.ResourceArgs {
  accountId: string | core.StringOut;

  disableEmailNotification?: boolean | core.BooleanOut;

  emailAddress: string | core.StringOut;

  graphArn: string | core.StringOut;

  message?: string | core.StringOut;
}

export class Member extends core.Resource<MemberArgs> {
  @core.attr(String)
  public accountId!: string | core.StringOut;

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

  @core.attr(Boolean)
  public disableEmailNotification?: boolean | core.BooleanOut;

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

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

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

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

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

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

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

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

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

  constructor(name: string, args?: MemberArgs) {
    super(name, "aws_detective_member", args);
  }

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