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.739.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d56a691c9b447426647c676bacea7d6f076d8450dc691d2e92fec95da58e5321 |
|
MD5 | 402263e629328b247b7386086c32bc6a |
|
BLAKE2b-256 | 905a9b7dd650bff57ff4810a499819d2d1ab672f5476509567f325de85d984d2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.739-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb934eece5f263674a27992f078ad15a49223c549da618a1412cb1f6365fe6c |
|
MD5 | 7653f33ef6b8ae0eff83b08a0319af47 |
|
BLAKE2b-256 | 678067f01510f8a129c509e73d5f0d9d922d2af97916a3219fad78f94083d5b9 |