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.192.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a45808f3a644d1e5029defe791499e4b406ddca352b758fba01030ac953697 |
|
MD5 | 02d717939e466b9dbebca958ea22aefe |
|
BLAKE2b-256 | 2ee6b0d568426ecba8909cc63c56a36d238e6d5d59e6f351dca19336e006c2b6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.192-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95acdb4cd9c6ef24a51a4783a53c7c837365b6da2840fa96372dd1061e0d08e |
|
MD5 | f8748f1c8c2fe66f29f903a74a6a75b5 |
|
BLAKE2b-256 | 33d0550cf71000a53aa8196a78bcd410b32ad660f3cbdb4e3d1ac1508e9d4092 |