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.646.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 559c305badfcb8ff62518da51f727dd2badd6ef1c06d63b0c354269dbc3af519 |
|
MD5 | faf21da08f5de5c9efcfbe236a296701 |
|
BLAKE2b-256 | 791f54d1cdef21f3283382aeac761ddfb9f891dc9a4852410b19ed2a28ed8471 |
Close
Hashes for cdk_lambda_layer_curl-2.0.646-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9637320de992e506039be724a4d430e94c0bb8a8181a42e3b9a33b196ceae49 |
|
MD5 | d1ac8c20ee9aa601c7bf5eeb3257af59 |
|
BLAKE2b-256 | c95b22fe11e695dcd3a68ca51d27527621b9b805287a08a1223847dc1ae54056 |