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.520.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fb989644c2af35ccc887cf0e5db494d8d227ee8580ade2fab83aa18c6899576 |
|
MD5 | 9f6ca061f2bad9a4bf6afff8989cbc99 |
|
BLAKE2b-256 | d680f8a6ec936bf763ce271465662a30f140ed8969842d5688db7463fd5c5a91 |
Close
Hashes for cdk_lambda_layer_curl-1.0.520-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33f416b46095066c5dbc4ca3d73f0fa650d130bf97d12b9abbff5c4fafa25c78 |
|
MD5 | 8fba5df171178e50d15066a5b24852f7 |
|
BLAKE2b-256 | 88bfa7105a14d93de7f7db05ac05a1242b980acb45752bb03f6e69ebbae3f868 |