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.197.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740d899869b754e3765ae7a15692337463fce8dc2f46ecb584e05fdbcedf01cc |
|
MD5 | c1b7ca2484a58b7fc1b5c20c85df2920 |
|
BLAKE2b-256 | 727f7b9410b151a8bd957cccbba77ce3fa223f4c1d2ddf6317225a58b024a33a |
Close
Hashes for cdk_lambda_layer_curl-2.0.197-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a4dc46bbd0ed797cbd60d6ea328186c1ff88af79d05abf78a123f9e73839cc9 |
|
MD5 | 3c26275e1c0183872c68af7fbc9b0747 |
|
BLAKE2b-256 | bf877924b28c05f1511aefd9b431c653ce652d5af6c1ea0d552cfb78109dff88 |