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

export interface MemberAccountAssociationArgs extends core.ResourceArgs {
  memberAccountId: string | core.StringOut;
}

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

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

  constructor(name: string, args?: MemberAccountAssociationArgs) {
    super(name, "aws_macie_member_account_association", args);
  }

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