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

export interface VaultNotificationsArgs extends core.ResourceArgs {
  backupVaultEvents: core.Array<string> | core.ArrayOut<core.StringOut>;

  backupVaultName: string | core.StringOut;

  snsTopicArn: string | core.StringOut;
}

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

  @core.attr(String, { kind: "array" })
  public backupVaultEvents!: core.Array<string> | core.ArrayOut<core.StringOut>;

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

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

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

  constructor(name: string, args?: VaultNotificationsArgs) {
    super(name, "aws_backup_vault_notifications", args);
  }

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