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.599.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0e54f8626f13b335dc0e2b5f74f287e05ef8c6d95fb5b5e9cd7dfdd96d824d5 |
|
MD5 | 4754e2445570f6baf300d6aa9b83fad9 |
|
BLAKE2b-256 | 7a97f8f48f72263bffc512a836678f025c89829060f3c6467314819a8782c00e |
Close
Hashes for cdk_lambda_layer_curl-1.0.599-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a62a907f814d9e267a6779a583cf905070b9d26eba683cb0650272cf10d242ee |
|
MD5 | 74378fdb3394c6713e643b7149582ade |
|
BLAKE2b-256 | 7f19e08456f004489bc524078919592f19f72087437e0ec2e765920b068cd1f1 |