Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @cloudcomponents/cdk-cloudfront-authorization with all npm packages installed. Try it out:

require("@aws-cdk/aws-s3/package.json"); // @aws-cdk/aws-s3 is a peer dependency. require("@aws-cdk/aws-lambda/package.json"); // @aws-cdk/aws-lambda is a peer dependency. require("@aws-cdk/aws-cognito/package.json"); // @aws-cdk/aws-cognito is a peer dependency. require("@aws-cdk/aws-iam/package.json"); // @aws-cdk/aws-iam is a peer dependency. require("@aws-cdk/core/package.json"); // @aws-cdk/core is a peer dependency. require("@aws-cdk/aws-cloudfront/package.json"); // @aws-cdk/aws-cloudfront is a peer dependency. require("@aws-cdk/aws-cloudfront-origins/package.json"); // @aws-cdk/aws-cloudfront-origins is a peer dependency. require("@cloudcomponents/cdk-lambda-at-edge-pattern/package.json"); // @cloudcomponents/cdk-lambda-at-edge-pattern is a peer dependency. require("@aws-cdk/aws-certificatemanager/package.json"); // @aws-cdk/aws-certificatemanager is a peer dependency. require("constructs/package.json"); // constructs is a peer dependency. require("@aws-cdk/custom-resources/package.json"); // @aws-cdk/custom-resources is a peer dependency. var cdkCloudfrontAuthorization = require("@cloudcomponents/cdk-cloudfront-authorization")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@cloudcomponents/cdk-cloudfront-authorization v1.50.0

CloudFront with Cognito authentication using Lambda@Edge

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free