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-1.0.496.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9de73bdc2f976112238fccf1a5ada937a24a3a2ded2b666bc48c50b359d9a1 |
|
MD5 | 245b35fb528ef845c9fbb67d13da825a |
|
BLAKE2b-256 | c98c9ca85882fdfce821cb296cdfad9f9ae7bb49ecda4f882f0126ec822faf15 |
Close
Hashes for cdk_lambda_layer_curl-1.0.496-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d3f332b405e822e4d23f42c135c308d1270a27bcaeda19dbb667b0d98cc85b6 |
|
MD5 | d77456f1b8de58cec8d2e02a1be966b8 |
|
BLAKE2b-256 | ab129c7c92a8212ffad41c9c848f1402532c49ea8d2150527f9a9f0de58ead96 |