# File lib/aws/glacier/vault.rb, line 110 def notification_configuration= cfg if cfg opts = {} opts.merge!(resource_options) opts[:vault_notification_config] = {} opts[:vault_notification_config][:sns_topic] = cfg.sns_topic.arn opts[:vault_notification_config][:events] = cfg.events client.set_vault_notifications(opts) else client.delete_vault_notifications(resource_options) end end