- コピペ時はRawからもっていってください。
- #+BEGIN〜 の部分で kintai-matome というブックマークを設定しておかないとうまく動きません。
- 登録方法: C-x r m kintai-matome
- 同様に、適当な場所で C-x r m kintai をしておきましょう。
DAY | YOKU KITA | YOKU HATARITA | CLOCK |
const AWS = require('aws-sdk'); | |
AWS.config.region = 'ap-northeast-1'; | |
AWS.config.setPromisesDependency(Promise); | |
const ec2 = new AWS.EC2(); | |
const BACKUP_DAYS = 30; | |
exports.handler = function (evt, context, cb) { | |
ec2.describeImages({ | |
Filters: [{ |
const AWS = require('aws-sdk'); | |
AWS.config.region = 'ap-northeast-1'; | |
AWS.config.setPromisesDependency(Promise); | |
const ec2 = new AWS.EC2(); | |
exports.handler = function (evt, context, cb) { | |
if (!evt.date) { | |
return cb(new Error('please set "date" to a first argument.')); | |
} |