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.277.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e04a02a9db71bdbc7086863b65f23d38b51d3f710327260a8f9ba27ab05de11 |
|
MD5 | 332ec0997c1f165c86092ae24198a58b |
|
BLAKE2b-256 | c16f5b1674377d18edce8ddb13fff6e4e5bb77296f83f61585ed3f64c65435d4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.277-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc25dc04d61dd01e77aa55c5e2e980e7403082d5a14d2bde9be365d59a85223b |
|
MD5 | 112e38d54122264d7dabf2c5e14f7dad |
|
BLAKE2b-256 | b46b3948e98de435eb2106f1747f7fa7a39cca900556660c0d658ab2bb86a70a |