import * as core from "@terrascript/core"; export interface VaultNotificationsArgs extends core.ResourceArgs { /** * (Required) An array of events that indicate the status of jobs to back up resources to the backup va * ult. */ backupVaultEvents: core.Array | core.ArrayOut; /** * (Required) Name of the backup vault to add notifications for. */ backupVaultName: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events */ snsTopicArn: string | core.StringOut; } export class VaultNotifications extends core.Resource { /** * The ARN of the vault. */ @core.attr(String, { computed: true }) public backupVaultArn!: string | core.StringOut; /** * (Required) An array of events that indicate the status of jobs to back up resources to the backup va * ult. */ @core.attr(String, { kind: "array" }) public backupVaultEvents!: core.Array | core.ArrayOut; /** * (Required) Name of the backup vault to add notifications for. */ @core.attr(String) public backupVaultName!: string | core.StringOut; /** * The name of the vault. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events */ @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"; } }