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

export interface InvitationAccepterArgs extends core.ResourceArgs {
  administratorAccountId: string | core.StringOut;
}

export class InvitationAccepter extends core.Resource<InvitationAccepterArgs> {
  @core.attr(String)
  public administratorAccountId!: string | core.StringOut;

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

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

  constructor(name: string, args?: InvitationAccepterArgs) {
    super(name, "aws_macie2_invitation_accepter", args);
  }

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