Skip to content

Instantly share code, notes, and snippets.


Ryuichi.N nukos

  • Tokyo/Japan
View GitHub Profile
mizchi / フロントエンドを楽にするために.md
Last active Sep 24, 2020
View フロントエンドを楽にするために.md


Qiitaを支えたい技術 at 時雨祭


  • HN: mizchi
  • Qiitaの方からきました(入社半年たったらしい)
  • Reactオジサンはそろそろ飽きてきた
  • Angularに興味が無いのでこっちにきた
supinf / s3-invalidation.js
Last active Aug 21, 2020
AWS Lambda script:: CloudFront Invalidations which are triggered by s3 events.
View s3-invalidation.js
console.log('Loading event');
var Q = require('q');
var aws = require('aws-sdk');
var cloudfront = new aws.CloudFront();
exports.handler = function (event, context) {
//_log('Received event: ', event);
var bucket = event.Records[0];
You can’t perform that action at this time.