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-1.0.683.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3491ddb31e9de9faf70581b260c85e82b63cb56275dc59e527d6102d31665233 |
|
MD5 | 3c7bc4947fc55d3220749de5e14a6184 |
|
BLAKE2b-256 | cfe304722e5efdf79dba230a9200e0268d69b3c64cdf7bf0d03d719da1e64d3d |
Close
Hashes for cdk_lambda_layer_curl-1.0.683-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e005d52ad88675330ad932132857dffdc13ca56ee67f351b1c177caefcdc9da |
|
MD5 | 70f3ff323d924601250bba304dfbf36a |
|
BLAKE2b-256 | b47afe5a4ccb75a30f9e2d506c6be73341cfaea69038ae60506dab5bce4cd5c4 |