import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class NotificationObjectType { BackupVaultEvents ! : List < Value < string > > ; SNSTopicArn ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface BackupVaultProperties { AccessPolicy ? : { [ key ] : any ; } ; BackupVaultName : Value < string > ; BackupVaultTags ? : { [ key ] : Value < string > ; } ; EncryptionKeyArn ? : Value < string > ; Notifications ? : NotificationObjectType ; } export default class BackupVault extends ResourceBase < BackupVaultProperties > { static NotificationObjectType = NotificationObjectType ; constructor ( properties ) { super ( 'AWS::Backup::BackupVault' , properties ) ; } }