For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new CurlLayer(this, 'CurlLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-curl-2.0.663.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a91c95199374825e64c15e53b74166b7907453d30da7f9e66991a50c182ff5c |
|
MD5 | 068074db418a997b3cabbf0e3032a031 |
|
BLAKE2b-256 | cce436115bd9ca08a5e28dafc35dfd54d24edf88341e221d154a28b1bbb10ce4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.663-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b539b50e432b12136b60f9ddc40276a9a48dfe7cdcedd4a428778defded264 |
|
MD5 | 1a66a2d6bafefeac5ed3ea8ecd2e984d |
|
BLAKE2b-256 | a704bbff9a69e734bf440b17428fb5fb48bf3d962e91c6ddad51ecc32ea34881 |