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

export interface OrganizationAdminAccountArgs extends core.ResourceArgs {
  adminAccountId: string | core.StringOut;
}

export class OrganizationAdminAccount extends core.Resource<OrganizationAdminAccountArgs> {
  @core.attr(String)
  public adminAccountId!: string | core.StringOut;

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

  constructor(name: string, args?: OrganizationAdminAccountArgs) {
    super(name, "aws_guardduty_organization_admin_account", args);
  }

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