Menu
AWS SDK for JavaScript
Developer Guide

Creating an Amazon Glacier Vault

The following example creates a vault named YOUR_VAULT_NAME using the createValue method of the Amazon Glacier service object.

Copy
var glacier = new AWS.Glacier({apiVersion: '2012-06-01'}); glacier.createVault({vaultName: 'YOUR_VAULT_NAME'}, function(err) { if (!err) console.log("Created vault!") });