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.283.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96496b95a80b31a1a0deb067e596d2ac0ddd2a8bd29653e67660caf9df6bab62 |
|
MD5 | 8cee7ad87e858585dce39b74175c9593 |
|
BLAKE2b-256 | 57d23834a5d9df853e5295779de24e6195b8a26d5e266fcd4b2ce7794e25b258 |
Close
Hashes for cdk_lambda_layer_curl-2.0.283-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c29c628d7f44b7e518f0a63e56d9e6159deb178fbc2a9c6078c5ef60a3452b |
|
MD5 | 29b31f6c139b8e1ab1029edb5466315c |
|
BLAKE2b-256 | 53f1e304c4e4c5e8896d5802438c368c4cd89cefa711b65513c0ead642a75a5d |