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

export interface InviteAccepterArgs extends core.ResourceArgs {
  detectorId: string | core.StringOut;

  masterAccountId: string | core.StringOut;
}

export class InviteAccepter extends core.Resource<InviteAccepterArgs> {
  @core.attr(String)
  public detectorId!: string | core.StringOut;

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

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

  constructor(name: string, args?: InviteAccepterArgs) {
    super(name, "aws_guardduty_invite_accepter", args);
  }

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