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.472.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740a29dce60ba47cb95d37859be407b5fe7d9001afbe0d8e9ed0d73a4cc56d0b |
|
MD5 | e214210d671769f08e59c41b03a62f0d |
|
BLAKE2b-256 | 428cf903b697bb7169ba85130edb8031c89163dcbffb2305dab7706784771a8e |
Close
Hashes for cdk_lambda_layer_curl-2.0.472-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5331ef716bc0c36fbb096af34c66a815a7cc931da09e6aed126315bde585925 |
|
MD5 | 2c2374965c636d90ab6492a9734080b9 |
|
BLAKE2b-256 | f5417b5f6f3eacdd49e63a1b529720181f992aa1db4cb10288fd6e92e4e3a79c |