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.33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3583645d564574ae5b2356de2e8d08797cd9ef1d9135b69d9e3744a87910e29 |
|
MD5 | 4596ebe039cfee0968631718f3d2af0d |
|
BLAKE2b-256 | f5007bdb334e063fd454431367d130c616bd85ed9519a60da8d2449a54d4cfa2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b4732b0d8e134b8acffb4004f498ca92e73a2ab5794674688ffa279df53549c |
|
MD5 | e591995d24b9a6d09ea8c2dc37b0e456 |
|
BLAKE2b-256 | 32f052e25ff2ccf09f2ac6262d0e0f29069b68eb9e3a0fe43261a331a3a14f0b |