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

export interface AccountArgs extends core.ResourceArgs {
  findingPublishingFrequency?: string | core.StringOut;

  status?: string | core.StringOut;
}

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

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

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

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

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

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

  constructor(name: string, args?: AccountArgs) {
    super(name, "aws_macie2_account", args);
  }

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