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.142.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e7a2bb59162b27d672078e6277cd9989605808a002f54841608f6991f836e5d |
|
MD5 | 6990288c766d0ab67014506c5f424d77 |
|
BLAKE2b-256 | ee7783d6afc898c0794cd6b1aa7e98f11ce558c54c4ed0981882c7b22aa57015 |
Close
Hashes for cdk_lambda_layer_curl-2.0.142-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f94e1a359d837b1b2e46833f788c9a913ceaaf031a20a9ace158ff5564ed9c65 |
|
MD5 | 3d3062f6737e46125d1c150ff0897aea |
|
BLAKE2b-256 | 63cd941ca91d20f88ba430858fa2ce852c058ec2c6fe75a7d8ad2495edce3199 |