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.433.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ea2a73c6eca5ca8a23f9391c6b88f59e754c89b6e10242109df633ec26fad7 |
|
MD5 | 872876f62b526002a9013b8ff64dd7cc |
|
BLAKE2b-256 | 390878da0bb3bdceb8057b0c7a12aae00eb0ec3c066b913d5e801720d999d02f |
Close
Hashes for cdk_lambda_layer_curl-1.0.433-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c6e70fcffa246a4074343b222926601ab80b108614c5d65bf12e981c767dd8e |
|
MD5 | 8768052a1c317b79888f78b76153238a |
|
BLAKE2b-256 | 0bd52f67af7ee1f9561271641da356280064add366415145d24c056882f2e81a |