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.726.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1eeedc862c68ad2d3d3d94a9b9a251d8f025cc275bb56e93bb03dba804cec11 |
|
MD5 | f810d30846db92ee7af4949c1e424e66 |
|
BLAKE2b-256 | 1dfefdc73287ea1a05db3cdad45f4feadb2f1a41e6909380607827cd1f7991e7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.726-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9960c74550b3799fdb7d6eefecaab0f10764b0efeb5d2d0d333d28aa302a867c |
|
MD5 | 6fcd0a629972e16476fa34c2cdfefc53 |
|
BLAKE2b-256 | 9542df93628e67359f229c4fc1d65fd8f10bb27ec8a784156a2fdca54dc175fe |