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.347.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7421a1b09a67e28c7b576f5ec84d4c9e0266eaf5945aa9ce2c90515e4d2eee9c |
|
MD5 | ff093ba856ea9c4b3267e7b2c29a2e5c |
|
BLAKE2b-256 | 3466899bba37b700ceb5d631da08f346c91b12d5b80264e39c81799e46cf28a9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.347-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12a50fc242c89e792cd9b01034c09fb209daa242ac3deba59697daaefc603a4a |
|
MD5 | b2e4bd09ae2a1f8507df57b60e3ade1f |
|
BLAKE2b-256 | 14d739a4ba822da1e16ac0132ec2cb2a373ddddff49fe92dea1fd426d7bad23d |