GithubHelp home page GithubHelp logo

weisisheng / aws-s3-bucket-maker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aeksco/aws-s3-bucket-maker

0.0 1.0 0.0 99 KB

:boom: Builds a self-destructing S3 bucket and associated IAM Role for temporary file transfer workflows

License: MIT License

TypeScript 98.96% JavaScript 1.04%

aws-s3-bucket-maker's Introduction

aws-s3-bucket-maker

๐Ÿ” Builds a self-destructing S3 bucket and associated IAM Role for file temporary transfer workflows. Built with AWS CDK + TypeScript.

Getting Started

Run the following commands to install dependencies, build the CDK stack, and deploy the CDK Stack to AWS.

yarn install
yarn build
cdk bootstrap
cdk deploy

Overview

The following is an overview of each process performed by this CDK stack:

  • Create S3 bucket
  • Create IAM Role
  • Create IAM Policies
  • Send email to adimin with login credentials
  • Send email to recipient user with login credentials
  • Send delete reminder after 29 days
  • Delete everything after 30 days
  • Send delete confirmation email

Scripts

  • yarn install - installs dependencies
  • yarn build - builds the production-ready CDK Stack
  • yarn test - runs Jest
  • cdk bootstrap - bootstraps AWS Cloudformation for your CDK deploy
  • cdk deploy - deploys the CDK stack to AWS

Notes

  • Includes tests with Jest.

  • Recommended to use Visual Studio Code with the Format on Save setting turned on.

Built with

Additional Resources

License

Opens source under the MIT License.

Built with โค๏ธ by aeksco

aws-s3-bucket-maker's People

Contributors

aeksco avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.