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.431.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 878c58d15b50312d5cba855fe440699c913d654868f3ec30d2379e9ef2206fb1 |
|
MD5 | aa6f1bcafdcbced6d5d927825795fa3c |
|
BLAKE2b-256 | 42412da060a30661dededcccac3388cdc7469eef1b0c6cfa5f41bb38818e99fa |
Close
Hashes for cdk_lambda_layer_curl-2.0.431-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f6eca21966dc19a8378e1a30e55816991890d84612324d604391ee67a356f29 |
|
MD5 | dcae7a6e92c17b0a93d2b9d95f79e076 |
|
BLAKE2b-256 | 0e9c38fc6d7ba64f9879def034e37d0ae5d1fb1ab793b48b7de5b1e15b527473 |