Skip to content

Instantly share code, notes, and snippets.

View scholtenmartijn's full-sized avatar

Martijn Scholten scholtenmartijn

  • Nordcloud
  • Amsterdam
View GitHub Profile
@scholtenmartijn
scholtenmartijn / README.md
Last active July 15, 2018 13:30 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

OP: @leonardofed founder @ plainflow.

Passing the AWS solutions architect - Professional Exam > Exam Overview

@scholtenmartijn
scholtenmartijn / aws-lambda-role-policy.json
Created May 30, 2016 09:42
Role for AWS Lambda to enable deletion of certain S3 buckets and Route 53 record sets
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1463056305000",
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:DeleteBucket",
"s3:ListObjects",
@scholtenmartijn
scholtenmartijn / github-sns-policy.json
Last active May 30, 2016 09:42
Github SNS policy
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"sns:Publish"
],
"Resource": [
"arn:aws:sns:eu-west-1:XXXXXXXXXXXX:SNSTopicARN"
],
@scholtenmartijn
scholtenmartijn / lambda.js
Last active May 30, 2016 09:22
Lambda for deleting a bucket and route53 record set based on a Github delete branch event.
'use strict';
console.log('Loading function');
// Steps:
// First check if it is a delete event and then do the following:
// 1 - Empty and Remove bucket of the feature branch
// 2 - Delete resourcerecordset of the feature branch
var AWS = require('aws-sdk');
// Set your region for future requests.
AWS.config.update({region: 'eu-west-1'}); // e.g. eu-west-1

Keybase proof

I hereby claim:

  • I am scholtenmartijn on github.
  • I am scholtenmartijn (https://keybase.io/scholtenmartijn) on keybase.
  • I have a public key whose fingerprint is 8A29 D7CB 076A 13F6 9EAD 172F 8B7D 6970 BC73 DA93

To claim this, I am signing this object: