New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

platform-constructs

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

platform-constructs

Custom AWS Constructs using best practices from AWS Well Architected Framework

latest
Source
npmnpm
Version
0.0.8
Version published
Maintainers
1
Created
Source

README

platform-constructs

What is this repository for?

  • Custom AWS Components following best practices for Developer use as objects in projects

Constructs

  • ServerlessWebsite

Serverless Website Components

  • Route 53 Domain Hosting
  • Web Application Firewall with Filtering Rules
  • CloudFront with SSL
  • S3 Bucket with Encryption to host Static Files

Serverless Website Usage

npm install -g aws-cdk@1.93.0
mkdir website
cd website
npm install platform-constructs
cdk init --language typescript

Serverless Website Parameters

  • websiteFolder -> folder that contains website artifacts
  • hook -> CLI command to run before synthesizing cloud formation templates
  • stage -> environment to deploy to -> dev | test | prod
  • domain -> domain name for the hosted zone
  • bucketName -> name of s3 Bucket to host website assets

Helper Functions

  • createDomainName - create a domain name in the format 'MICROFRONTEND_SERRVICE_NAME-ui.STAGE.apps.DOMAIN'
  • createBucketName - create a bucket name in the format 'AWS_ACCOUNT_NUMBER-AWS_REGION-MICROFRONTEND_SERVICE_NAME-STAGE'

Who do I talk to?

  • jacob.itegboje@imageapi.com
  • nathan.cazell@imageapi.com

Keywords

cdk

FAQs

Package last updated on 14 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts