Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@capraconsulting/webapp-deploy-lambda

Package Overview
Dependencies
Maintainers
12
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capraconsulting/webapp-deploy-lambda - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

lib/source.d.ts

52

lib/index.d.ts

@@ -1,50 +0,2 @@

import * as lambda from "@aws-cdk/aws-lambda";
import * as s3 from "@aws-cdk/aws-s3";
import * as cdk from "@aws-cdk/core";
export interface WebappDeployProps {
/**
* S3 bucket where the artifacts to be deployed are stored.
*/
buildsBucket: s3.IBucket;
/**
* CloudFront Distribution ID to be invalidated after deploy.
*
* @default - none
*/
distributionId?: string;
/**
* Regex for patterns of files to be discarded during deployment.
*
* Example: `\.map$` will exclude `js/myapp-1b22c248f.js.map`.
*
* @default - none
*/
excludePattern?: string;
/**
* The time when a deployment is considered old and will be deleted
* unless it is the newest old deployment.
*
* @default - 5 days
*/
pruneDeploymentsOlderThan?: cdk.Duration;
/**
* Name of the lambda function to be created.
*
* @default cdk.PhysicalName.GENERATE_IF_NEEDED
*/
functionName?: string;
/**
* Name of S3 bucket where the contents of the artifacts will be deployed.
* The files will be deployed under the key "web", which is then expected
* to be the origin for the CloudFront distribution
*/
webBucket: s3.IBucket;
}
/**
* Resource to deploy a webapp from a build artifact into an existing
* S3 Bucket and CloudFront Distribution.
*/
export declare class WebappDeploy extends cdk.Construct {
readonly deployFn: lambda.Function;
constructor(scope: cdk.Construct, id: string, props: WebappDeployProps);
}
export { ISource, Source, SourceConfig } from "./source";
export { WebappDeploy, WebappDeployProps } from "./webapp-deploy";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebappDeploy = void 0;
const iam = require("@aws-cdk/aws-iam");
const lambda = require("@aws-cdk/aws-lambda");
const cdk = require("@aws-cdk/core");
const path = require("path");
/**
* Resource to deploy a webapp from a build artifact into an existing
* S3 Bucket and CloudFront Distribution.
*/
class WebappDeploy extends cdk.Construct {
constructor(scope, id, props) {
var _a, _b;
super(scope, id);
const environment = {
DEPLOY_LOG_BUCKET_URL: `s3://${props.webBucket.bucketName}/deployments.log`,
EXPIRE_SECONDS: ((_a = props.pruneDeploymentsOlderThan) !== null && _a !== void 0 ? _a : cdk.Duration.days(5))
.toSeconds()
.toString(),
TARGET_BUCKET_URL: `s3://${props.webBucket.bucketName}/web`,
};
if (props.distributionId != null) {
environment.CF_DISTRIBUTION_ID = props.distributionId;
}
if (props.excludePattern != null) {
environment.EXCLUDE_PATTERN = props.excludePattern;
}
this.deployFn = new lambda.Function(this, "Resource", {
code: lambda.Code.fromAsset(path.join(__dirname, "../dist")),
environment,
functionName: (_b = props.functionName) !== null && _b !== void 0 ? _b : cdk.PhysicalName.GENERATE_IF_NEEDED,
handler: "webapp_deploy.main.handler",
reservedConcurrentExecutions: 1,
runtime: lambda.Runtime.PYTHON_3_7,
timeout: cdk.Duration.minutes(2),
initialPolicy: [
new iam.PolicyStatement({
actions: ["s3:HeadObject", "s3:GetObject"],
resources: [props.buildsBucket.arnForObjects("*")],
}),
new iam.PolicyStatement({
actions: ["s3:PutObject", "s3:DeleteObject"],
resources: [props.webBucket.arnForObjects("web/*")],
}),
new iam.PolicyStatement({
actions: ["s3:GetObject", "s3:PutObject"],
resources: [props.webBucket.arnForObjects("deployments.log")],
}),
new iam.PolicyStatement({
actions: ["s3:List*"],
resources: [props.webBucket.bucketArn],
}),
new iam.PolicyStatement({
actions: ["cloudfront:CreateInvalidation"],
// Cannot be restricted
resources: ["*"],
}),
],
});
}
}
exports.WebappDeploy = WebappDeploy;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsd0NBQXVDO0FB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cIiwgXCJzMzpQdXRPYmplY3RcIl0sXG4gICAgICAgICAgcmVzb3VyY2VzOiBbcHJvcHMud2ViQnVja2V0LmFybkZvck9iamVjdHMoXCJkZXBsb3ltZW50cy5sb2dcIildLFxuICAgICAgICB9KSxcbiAgICAgICAgbmV3IGlhbS5Qb2xpY3lTdGF0ZW1lbnQoe1xuICAgICAgICAgIGFjdGlvbnM6IFtcInMzOkxpc3QqXCJdLFxuICAgICAgICAgIHJlc291cmNlczogW3Byb3BzLndlYkJ1Y2tldC5idWNrZXRBcm5dLFxuICAgICAgICB9KSxcbiAgICAgICAgbmV3IGlhbS5Qb2xpY3lTdGF0ZW1lbnQoe1xuICAgICAgICAgIGFjdGlvbnM6IFtcImNsb3VkZnJvbnQ6Q3JlYXRlSW52YWxpZGF0aW9uXCJdLFxuICAgICAgICAgIC8vIENhbm5vdCBiZSByZXN0cmljdGVkXG4gICAgICAgICAgcmVzb3VyY2VzOiBbXCIqXCJdLFxuICAgICAgICB9KSxcbiAgICAgIF0sXG4gICAgfSlcbiAgfVxufVxuIl19
exports.WebappDeploy = exports.Source = void 0;
var source_1 = require("./source");
Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return source_1.Source; } });
var webapp_deploy_1 = require("./webapp-deploy");
Object.defineProperty(exports, "WebappDeploy", { enumerable: true, get: function () { return webapp_deploy_1.WebappDeploy; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsbUNBQXdEO0FBQXRDLGdHQUFBLE1BQU0sT0FBQTtBQUN4QixpREFBaUU7QUFBeEQsNkdBQUEsWUFBWSxPQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgSVNvdXJjZSwgU291cmNlLCBTb3VyY2VDb25maWcgfSBmcm9tIFwiLi9zb3VyY2VcIlxuZXhwb3J0IHsgV2ViYXBwRGVwbG95LCBXZWJhcHBEZXBsb3lQcm9wcyB9IGZyb20gXCIuL3dlYmFwcC1kZXBsb3lcIlxuIl19
{
"name": "@capraconsulting/webapp-deploy-lambda",
"version": "1.1.1",
"version": "1.2.0",
"description": "CDK construct for deploying a webapp release to S3 and CloudFront",

@@ -36,26 +36,28 @@ "repository": {

"devDependencies": {
"@aws-cdk/assert": "1.46.0",
"@aws-cdk/aws-iam": "1.46.0",
"@aws-cdk/aws-lambda": "1.46.0",
"@aws-cdk/aws-s3": "1.46.0",
"@aws-cdk/core": "1.46.0",
"@commitlint/cli": "9.0.1",
"@commitlint/config-conventional": "9.0.1",
"@liflig/cdk": "1.10.0",
"@types/jest": "26.0.0",
"@types/node": "13.13.12",
"@typescript-eslint/eslint-plugin": "3.3.0",
"@typescript-eslint/parser": "3.3.0",
"eslint": "7.3.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-deprecation": "1.1.0",
"eslint-plugin-prettier": "3.1.4",
"husky": "4.2.5",
"jest": "26.0.1",
"jest-cdk-snapshot": "1.3.0",
"prettier": "2.0.5",
"semantic-release": "17.0.8",
"ts-jest": "26.1.0",
"ts-node": "8.10.2",
"typescript": "3.9.5"
"@aws-cdk/assert": "1.81.0",
"@aws-cdk/aws-cloudfront": "1.81.0",
"@aws-cdk/aws-iam": "1.81.0",
"@aws-cdk/aws-lambda": "1.81.0",
"@aws-cdk/aws-s3": "1.81.0",
"@aws-cdk/aws-s3-assets": "1.81.0",
"@aws-cdk/custom-resources": "1.81.0",
"@aws-cdk/core": "1.81.0",
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@types/jest": "26.0.19",
"@types/node": "13.13.38",
"@typescript-eslint/eslint-plugin": "4.11.1",
"@typescript-eslint/parser": "4.11.1",
"eslint": "7.17.0",
"eslint-config-prettier": "7.1.0",
"eslint-plugin-deprecation": "1.2.0",
"eslint-plugin-prettier": "3.3.0",
"husky": "4.3.6",
"jest": "26.6.3",
"jest-cdk-snapshot": "1.4.1",
"prettier": "2.2.1",
"semantic-release": "17.3.1",
"ts-jest": "26.4.4",
"ts-node": "9.1.1",
"typescript": "4.1.3"
},

@@ -68,7 +70,10 @@ "husky": {

"peerDependencies": {
"@aws-cdk/aws-cloudfront": "^1.45.0",
"@aws-cdk/aws-iam": "^1.45.0",
"@aws-cdk/aws-lambda": "^1.45.0",
"@aws-cdk/aws-s3": "^1.45.0",
"@aws-cdk/aws-s3-assets": "^1.45.0",
"@aws-cdk/custom-resources": "^1.45.0",
"@aws-cdk/core": "^1.45.0"
}
}
# CDK Construct for deploying a webapp release
[![Build Status](https://jenkins.capra.tv/buildStatus/icon?job=cals-internal/webapp-deploy-lambda/master)](https://jenkins.capra.tv/job/cals-internal/job/webapp-deploy-lambda/job/master)
This project contains a CDK Construct for an AWS Lambda Function to handle

@@ -39,3 +37,3 @@ deployment of a bundled static web application to a S3 bucket

happened more than five days ago, and delete files from older ones that no
longer have any refrence to them.
longer have any reference to them.

@@ -42,0 +40,0 @@ ## Triggering a deployment

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc