0.0.5 • Published 4 years ago
@pulumi/epsagon v0.0.5
Pulumi Epsagon integration
This package provides Epsagon integration with Pulumi programs. When imported into a Pulumi program, any serverless functions generated from JavaScript callbacks in the Pulumi program will automatically be wrapped with Epsagon Lambda Wrapper.
const aws = require("@pulumi/aws");
const serverless = require("@pulumi/aws-serverless");
// Load the Pulumi Epsagon integration package
require("@pulumi/epsagon");
// Create a bucket and a function to log new object uploads
const bucket = new aws.s3.Bucket("my-bucket");
serverless.bucket.onPut("onNewObject", bucket, async (ev) => console.log(ev));
exports.bucketName = bucket.bucket;
Configuration
After importing @pulumi/epsagon
into a Pulumi program, you will need to provide an Epsagon token via a Pulumi configuration secret. You can get your token on the "Install" page of the Epsagon console for your project.
$ pulumi config set --secret epsagon:token <your token here>
0.0.5-1620776588-ga837dc8
4 years ago
0.0.5-1621613970-geb8b666
4 years ago
0.0.5-1617923005-g84a2202
4 years ago
0.0.5-1613517523-g0c5023f
4 years ago
0.0.5-1594992995-g507b10d
5 years ago
0.0.5-1589931030-gf86cf18
5 years ago
0.0.5-1576106141-g53242d2
6 years ago
0.0.5-1572632603-g951a0e8
6 years ago
0.0.5-1572631012-gde63e9f
6 years ago
0.0.5-1571129765-gfb87d7a
6 years ago
0.0.5
7 years ago
0.0.2
7 years ago
0.0.1-1543327764-g04932f8-dirty
7 years ago
0.0.1-dirty
7 years ago