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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25afe671c828724bd19607b95bdcc59c7ab164f960348e30e91a94c48cd7caa8 |
|
MD5 | 80d2e791f463637a17d0430afbcb2dc8 |
|
BLAKE2b-256 | 053d6f2def7c0a9127759aff927a69fda2eea38dc94862b6a8457eb0a55b426e |
Close
Hashes for cdk_lambda_layer_curl-2.0.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 436f65f7010c84070f2a95d1a38b87b341b9666040769179b8c7a744449d73d1 |
|
MD5 | f01f0445810f22ffb02b4d2d19ba77d1 |
|
BLAKE2b-256 | 22508edea02f7a0eab5d5311f6c9c4b91a6f60db43e1dac9701ba3f457185171 |