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.757.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dfa244873fa8a01a8bf8f76805146abd571c9b33f7c94ab0223014bccc592e8 |
|
MD5 | fff1258872d7230349646a6e23a92ccc |
|
BLAKE2b-256 | e4d085e76a08c872bb1ad4edb693ad13205b99e2d22fa1709b5bafabc8b77285 |
Close
Hashes for cdk_lambda_layer_curl-1.0.757-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8181ce7d405d9c01a4af7dfd7773c1e174614e457cf71b339405acf327e99f4 |
|
MD5 | de21392779288ad615779afaa889ec48 |
|
BLAKE2b-256 | d1f1414c2a9eda7402a7de2b461beb265797d5120d064da8d1605e72bcb8c95e |