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.80.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cadb4176f0e8bda9e62384bdecf77aac21d785f52c2688deddfd69b63b3bbfa |
|
MD5 | 7d5da6fd60370fd87bd609ec5366b817 |
|
BLAKE2b-256 | b51f6620e9d866c226ec162605047e5de1decd7c07b1dfaf4d8c3e73de32ba89 |
Close
Hashes for cdk_lambda_layer_curl-2.0.80-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67ee627ef6464569156677436bda1513b9efc8e0629925c4930f7449462daf02 |
|
MD5 | 0fc1bdf711f4cfa9dbe9825d7e728e17 |
|
BLAKE2b-256 | d672220cbaa986863dc6b2b5a91bd3dfbb113c825216b99d5b806ea4e2ee04da |