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.314.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfa52749c97f8a83db963189c921b366522f6564b12e0ae13799afac6f0378c1 |
|
MD5 | 5dbec9367ae19472d4d141cb9fcd4bdb |
|
BLAKE2b-256 | dc6d0db875a665013ba3360e5a6a907d0d4cdcb1888b03956811b33395885658 |
Close
Hashes for cdk_lambda_layer_curl-2.0.314-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbca5010f21deefbe92b3a456c6f89e3155f78b2dba26cb02a2829d3d29663c2 |
|
MD5 | 696ce148322b45c73951ece4497ab831 |
|
BLAKE2b-256 | e7b9ea8e918d67057062b0801efe9fe6eb53f37f1bced908a98e98a0d965933f |